summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-09 18:45:31 +0000
committerJeremy Allison <jra@samba.org>2000-06-09 18:45:31 +0000
commite1b1b6fb6794ba02e1fea510a981fa0ce0d12b58 (patch)
tree15d663adacffeb95680c8eed21bd1cf7887543de /source/smbd/reply.c
parentb5ad24ae0b15643df5832e2369fb4e43c98a1359 (diff)
downloadsamba-e1b1b6fb6794ba02e1fea510a981fa0ce0d12b58.tar.gz
samba-e1b1b6fb6794ba02e1fea510a981fa0ce0d12b58.tar.xz
samba-e1b1b6fb6794ba02e1fea510a981fa0ce0d12b58.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.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index f9c0695a390..00a0ce3c4a0 100644
--- a/source/smbd/reply.c
+++ b/source/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);