summaryrefslogtreecommitdiff
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-02-08 00:36:10 +0000
committerLuke Leighton <lkcl@samba.org>2000-02-08 00:36:10 +0000
commit0cf4ef33ba86edb1b32b9d4d0a420c8bc57043dd (patch)
treef1a27200854c8322d06ff675d27accc51c5cb072 /source/smbd
parentdf7205750297be4e08b8e62c0e1a146095f69cfa (diff)
downloadsamba-0cf4ef33ba86edb1b32b9d4d0a420c8bc57043dd.tar.gz
HOORAY! password setting is back. this through fixing policy handle
chain linking _and_ an odd bug where password_ok() was ZERO_STRUCTING the NET_USER_INFO_3 structure and it was being stored in the vuser.tdb table, blanking out the NT user info! i added code to authorise_login() to get and then store the vuser info after seeing it set vuser->guest = True. i'm not sure i like that code...
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/password.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 005e36c9b85..03bbf436c9b 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -75,7 +75,6 @@ BOOL password_ok(const char *orig_user, const char *domain,
return False;
}
- ZERO_STRUCTP(info3);
/*
* SMB password check
*/