summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-13 21:10:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:02 -0500
commit3895a5a1fcb2c949647fd310b21476aa1db377f2 (patch)
tree7889db9c1b3bcac6012fbc33eababef509ae3f2f
parent91828b893d0fcae07e5678d03ef85811cf7c9c22 (diff)
downloadsamba-3895a5a1fcb2c949647fd310b21476aa1db377f2.tar.gz
samba-3895a5a1fcb2c949647fd310b21476aa1db377f2.tar.bz2
samba-3895a5a1fcb2c949647fd310b21476aa1db377f2.zip
r15583: Add a comment while trying to understand this code
(This used to be commit 7945c935bf197afb61286ddeb0e579078362a1fc)
-rw-r--r--source3/smbd/password.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 8d33c1deed..230d7f297f 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -189,6 +189,11 @@ int register_vuid(auth_serversupplied_info *server_info,
vuser->vuid = next_vuid;
if (!server_info) {
+ /*
+ * This happens in an unfinished NTLMSSP session setup. We
+ * need to allocate a vuid between the first and second calls
+ * to NTLMSSP.
+ */
next_vuid++;
num_validated_vuids++;