diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-09 18:45:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-09 18:45:31 +0000 |
commit | 03e0164270ffd7ceeb8df6f3cc3917c111dc05f8 (patch) | |
tree | 1a12467cace2c98d4fc037e6acbed783bceb24c8 /source3/smbd/reply.c | |
parent | e58682eb077a79b5c54a0cea485b7d134a01f853 (diff) | |
download | samba-03e0164270ffd7ceeb8df6f3cc3917c111dc05f8.tar.gz samba-03e0164270ffd7ceeb8df6f3cc3917c111dc05f8.tar.bz2 samba-03e0164270ffd7ceeb8df6f3cc3917c111dc05f8.zip |
Luke, I am moving the code back into passdb/passdb.c, this the correct
place to do this, not in smbd/passwd.c
Please don't change this without asking first, I have run this past
Andrew so talk to him (I'm on vacation next week).
I also removed the g_newXXX macros. There are essentially a private C extension,
not used anywhere else in the code, and add no functionality over malloc(XX)
and make the code harder to understand (everyone knows what malloc does).
Jeremy.
(This used to be commit e1b1b6fb6794ba02e1fea510a981fa0ce0d12b58)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index f9c0695a39..00a0ce3c4a 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1001,9 +1001,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int /* register the name and uid as being validated, so further connections to a uid can get through without a password, on the same VC */ - DEBUG(0,("must call domain_client_validate() which returns a ")); - DEBUG(0,("NET_USER_INFO_3 structure to pass to register_vuid()")); - sess_vuid = register_vuid(uid,gid,user,sesssetup_user,domain,guest, NULL); + sess_vuid = register_vuid(uid,gid,user,sesssetup_user,domain,guest); SSVAL(outbuf,smb_uid,sess_vuid); SSVAL(inbuf,smb_uid,sess_vuid); |