Standards, Environments, and Macros pam_smb_passwd(5)
NAME
pam_smb_passwd - SMB password management module
SYNOPSIS
pam_smb_passwd.so.1
DESCRIPTION
The pam_smb_passwd module enhances the PAM password manage-
ment stack. This functionality supports the changing or adding of SMB passwords for local Solaris users. The Solaris SMB server uses SMB passwords to authenticate connected Solaris users. This module includes thepam_sm_chauthtok(3PAM) function.
The pam_sm_chauthtok() function accepts the following flags:
PAM_PRELIM_CHECK
Always returns PAM_IGNORE.
PAM_SILENT
Suppresses messages.PAM_UPDATE_AUTHTOK
Updates or creates a new SMB local LM/NTLM hash for the
user that is specified in PAM_USER by using the authen-
tication information found in PAM_AUTHTOK. The LM hash
is only created if the smbd/lmauth_level property value
of the smb/server service is set to 3 or less.PAM_IGNORE is returned if the user is not in the local
/etc/passwd repository.The following options can be passed to the pam_smb_passwd
module: debug Produces syslog(3C) debugging information at theLOG_AUTH or LOG_DEBUG level.
nowarn Suppresses warning messages.SunOS 5.11 Last change: 19 Mar 2010 1
Standards, Environments, and Macros pam_smb_passwd(5)
FILES /var/smb/smbpasswd Stores SMB passwords for Solaris users.ERRORS
Upon successful completion of pam_sm_chauthtok(),
PAM_SUCCESS is returned. The following error codes are
returned upon error:PAM_AUTHTOK_ERR
Authentication token manipulation errorPAM_AUTHTOK_LOCK_BUSY
SMB password file is lockedPAM_PERM_DENIED
Permissions are insufficient for accessing the SMB pass-
word filePAM_SYSTEM_ERR
System errorPAM_USER_UNKNOWN
User is unknownATTRIBUTES
See the attributes(5) man page for descriptions of the fol-
lowing attributes:SunOS 5.11 Last change: 19 Mar 2010 2
Standards, Environments, and Macros pam_smb_passwd(5)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT Level | MT-Safe with exceptions |
|_____________________________|_____________________________|
SEE ALSO
smbd(1M), syslog(3C), libpam(3LIB), pam(3PAM),pam_chauthtok(3PAM), pam_sm(3PAM), pam_sm_chauthtok(3PAM),
pam.conf(4), attributes(5) NOTESThe interfaces in libpam(3LIB) are MT-Safe only if each
thread within the multi-threaded application uses its own
PAM handle.The pam_smb_passwd.so.1 module should be stacked following
all password qualification modules in the PAM password stack.SunOS 5.11 Last change: 19 Mar 2010 3