diff options
author | jb150015 <none@none> | 2008-02-18 14:36:38 -0800 |
---|---|---|
committer | jb150015 <none@none> | 2008-02-18 14:36:38 -0800 |
commit | 7b59d02d2a384be9a08087b14defadd214b3c1dd (patch) | |
tree | 0f2f686988177443cf737b0f0582d9ed9deb1bf5 /usr/src/lib/pam_modules | |
parent | 80feccabd0bc0fca1df2b60bfa50449d9a6e3e09 (diff) | |
download | illumos-joyent-7b59d02d2a384be9a08087b14defadd214b3c1dd.tar.gz |
6653315 Want smb interface to associate hostname with network interfaces
6657760 libsmb should look for an interposition library for local user management
6649844 smbd restarts during stress tests.
6650829 smb_enable_service() waits in vain
6616507 CIFS server code should eradicate its use of setjmp()/longjmp()
6655326 CIFS named streams are too permissive
6630437 smb_smf_create_service_pgroup() can segfault on failure
6630441 smb_smf_scf_init() can segfault on failure
--HG--
rename : usr/src/lib/smbsrv/libsmbns/common/smbns_nicconfig.c => usr/src/lib/smbsrv/libsmb/common/smb_nic.c
Diffstat (limited to 'usr/src/lib/pam_modules')
-rw-r--r-- | usr/src/lib/pam_modules/smb/smb_passwd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/pam_modules/smb/smb_passwd.c b/usr/src/lib/pam_modules/smb/smb_passwd.c index 9167d093a6..4e484251e3 100644 --- a/usr/src/lib/pam_modules/smb/smb_passwd.c +++ b/usr/src/lib/pam_modules/smb/smb_passwd.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -145,8 +145,12 @@ pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) return (PAM_SYSTEM_ERR); } + smb_pwd_init(); + res = smb_pwd_setpasswd(user, newpw); + smb_pwd_fini(); + /* * now map the various return states to user messages * and PAM return codes. |