summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-23 13:44:32 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-23 13:44:32 +0000
commit7c05db480320067d8d98b030cf4c19adedee1e43 (patch)
tree23b62db400374768682a70e209a678f03ac9e0b3 /source3/smbd
parent158efc3aa2060e21f40e231a1e8aa945b6a3ab71 (diff)
downloadsamba-7c05db480320067d8d98b030cf4c19adedee1e43.tar.gz
samba-7c05db480320067d8d98b030cf4c19adedee1e43.tar.bz2
samba-7c05db480320067d8d98b030cf4c19adedee1e43.zip
Oops...
(This used to be commit 9b63a872239bf7757c802bb3db3761cf3ec66e85)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
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);