Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_sm_authenticate(3) [osf1 man page]

PAM_SM_AUTHENTICATE(3)						 Linux-PAM Manual					    PAM_SM_AUTHENTICATE(3)

NAME
pam_sm_authenticate - PAM service function for user authentication SYNOPSIS
#define PAM_SM_AUTH #include <security/pam_modules.h> PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv); DESCRIPTION
The pam_sm_authenticate function is the service module's implementation of the pam_authenticate(3) interface. This function performs the task of authenticating the user. Valid flags, which may be logically OR'd with PAM_SILENT, are: PAM_SILENT Do not emit any messages. PAM_DISALLOW_NULL_AUTHTOK Return PAM_AUTH_ERR if the database of authentication tokens for this authentication mechanism has a NULL entry for the user. Without this flag, such a NULL token will lead to a success without the user being prompted. RETURN VALUES
PAM_AUTH_ERR Authentication failure. PAM_CRED_INSUFFICIENT For some reason the application does not have sufficient credentials to authenticate the user. PAM_AUTHINFO_UNAVAIL The modules were not able to access the authentication information. This might be due to a network or hardware failure etc. PAM_SUCCESS The authentication token was successfully updated. PAM_USER_UNKNOWN The supplied username is not known to the authentication service. PAM_MAXTRIES One or more of the authentication modules has reached its limit of tries authenticating the user. Do not try again. SEE ALSO
pam(3), pam_authenticate(3), pam_sm_setcred(3), pam_strerror(3), PAM(8) Linux-PAM Manual 06/04/2011 PAM_SM_AUTHENTICATE(3)

Check Out this Related Man Page

PAM_SM_AUTHENTICATE(3)						 Linux-PAM Manual					    PAM_SM_AUTHENTICATE(3)

NAME
pam_sm_authenticate - PAM service function for user authentication SYNOPSIS
#define PAM_SM_AUTH #include <security/pam_modules.h> PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv); DESCRIPTION
The pam_sm_authenticate function is the service module's implementation of the pam_authenticate(3) interface. This function performs the task of authenticating the user. Valid flags, which may be logically OR'd with PAM_SILENT, are: PAM_SILENT Do not emit any messages. PAM_DISALLOW_NULL_AUTHTOK Return PAM_AUTH_ERR if the database of authentication tokens for this authentication mechanism has a NULL entry for the user. Without this flag, such a NULL token will lead to a success without the user being prompted. RETURN VALUES
PAM_AUTH_ERR Authentication failure. PAM_CRED_INSUFFICIENT For some reason the application does not have sufficient credentials to authenticate the user. PAM_AUTHINFO_UNAVAIL The modules were not able to access the authentication information. This might be due to a network or hardware failure etc. PAM_SUCCESS The authentication token was successfully updated. PAM_USER_UNKNOWN The supplied username is not known to the authentication service. PAM_MAXTRIES One or more of the authentication modules has reached its limit of tries authenticating the user. Do not try again. SEE ALSO
pam(3), pam_authenticate(3), pam_sm_setcred(3), pam_strerror(3), PAM(8) Linux-PAM Manual 06/04/2011 PAM_SM_AUTHENTICATE(3)
Man Page

5 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 openldap authentication with md5 passwords

Hello to everyone, We are trying to enable ldap authentication with pam_ldap and md5 passwords on a Solaris 10 system to an openldap server. If passwords are stored using crypt, everything works correctly. But if the password in openldap is in md5, then authentication fails. We have installed... (0 Replies)
Discussion started by: jfotop
0 Replies

2. Programming

Adding custom ("Hello") system call: help

I'm trying to add a custom ("Hello world" :o) system call. In /usr/src/linux/hello/ I put simple hello.c ...#include "linux/linkage.h" // for linking a system call #include "linux/kernel.h" // for "printk" asmlinkage int sys_hello() { printk(KERN_ALERT "Hello!"); return 1; }... and in... (5 Replies)
Discussion started by: courteous
5 Replies

3. Solaris

pam_cracklib error on Solaris 10

Hello Everyone, I was able to successfully compile cracklib and pam_cracklib. But when I use it in /etc/pam.conf it fails to work. Error on CLI: # passwd testuser Unexpected failure. Password file/table unchanged. Error in /var/adm/messages: Mar 30 7:14:27 solaris10 passwd: dlsym... (1 Reply)
Discussion started by: pingmeback
1 Replies

4. Solaris

pam sshd error

Hi I wanted to convert my pam libraries to 64 bit. so recently compiled my pam_banner and pam_wheel to 64 bit. I got the following error... sshd: dlsym failed pam_sm_authenticate:error ld.so.1 : sshd fatal: pam_sm_authenticate: can't find symbol thnaks (8 Replies)
Discussion started by: chinchao
8 Replies

5. OS X (Apple)

OSX and Kerberos

Our Network Security folks have mandated that we "Kerberize" our systems to allow them to perform an authenticated scan. This consists of instructions to change /etc/pam.d/sshd from: # sshd: auth account password session auth optional pam_krb5.so use_kcminit auth optional ... (0 Replies)
Discussion started by: jnojr
0 Replies