git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66f52a
)
BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using...
author
Gerald Carter
<jerry@samba.org>
Thu, 18 Mar 2004 18:09:59 +0000
(18:09 +0000)
committer
Gerald Carter
<jerry@samba.org>
Thu, 18 Mar 2004 18:09:59 +0000
(18:09 +0000)
(This used to be commit
f21182e24fe440b0cec57baf52cfbe6e07d6c7b7
)
source3/pam_smbpass/pam_smb_auth.c
patch
|
blob
|
history
diff --git
a/source3/pam_smbpass/pam_smb_auth.c
b/source3/pam_smbpass/pam_smb_auth.c
index f4cbb59af31e4fe6c2632fbf08c2b13d84e93bdc..4452538d32c24cf2fd8a61be0897e4f86d1d0be5 100644
(file)
--- a/
source3/pam_smbpass/pam_smb_auth.c
+++ b/
source3/pam_smbpass/pam_smb_auth.c
@@
-198,7
+198,7
@@
static int _smb_add_user(pam_handle_t *pamh, unsigned int ctrl,
/* Add the user to the db if they aren't already there. */
if (!exist) {
- retval = local_password_change( name, LOCAL_ADD_USER,
+ retval = local_password_change( name, LOCAL_ADD_USER
|LOCAL_SET_PASSWORD
,
pass, err_str,
sizeof(err_str),
msg_str, sizeof(msg_str) );