svn commit: samba r15583 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

vlendec at samba.org vlendec at samba.org
Sat May 13 21:10:01 GMT 2006


Author: vlendec
Date: 2006-05-13 21:10:00 +0000 (Sat, 13 May 2006)
New Revision: 15583

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15583

Log:
Add a comment while trying to understand this code
Modified:
   branches/SAMBA_3_0/source/smbd/password.c
   trunk/source/smbd/password.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/password.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/password.c	2006-05-13 21:08:37 UTC (rev 15582)
+++ branches/SAMBA_3_0/source/smbd/password.c	2006-05-13 21:10:00 UTC (rev 15583)
@@ -189,6 +189,11 @@
 	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++;
 		

Modified: trunk/source/smbd/password.c
===================================================================
--- trunk/source/smbd/password.c	2006-05-13 21:08:37 UTC (rev 15582)
+++ trunk/source/smbd/password.c	2006-05-13 21:10:00 UTC (rev 15583)
@@ -189,6 +189,11 @@
 	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++;
 		



More information about the samba-cvs mailing list