diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-23 13:44:32 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-23 13:44:32 +0000 |
commit | 7c05db480320067d8d98b030cf4c19adedee1e43 (patch) | |
tree | 23b62db400374768682a70e209a678f03ac9e0b3 | |
parent | 158efc3aa2060e21f40e231a1e8aa945b6a3ab71 (diff) | |
download | samba-7c05db480320067d8d98b030cf4c19adedee1e43.tar.gz samba-7c05db480320067d8d98b030cf4c19adedee1e43.tar.xz samba-7c05db480320067d8d98b030cf4c19adedee1e43.zip |
Oops...
(This used to be commit 9b63a872239bf7757c802bb3db3761cf3ec66e85)
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index f6ebbc82ad..66e4cd5bf7 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1964,7 +1964,7 @@ static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid, char *param * to touch the unix db unless we have admin permission. */ - if(lp_unix_password_sync() && IS_SAM_UNIX_USER(server->sam_account) + if(lp_unix_password_sync() && IS_SAM_UNIX_USER(server_info->sam_account) && !chgpasswd(pdb_get_username(server_info->sam_account), pass1,pass2,False)) { SSVAL(*rparam,0,NERR_badpass); |