r15583: Add a comment while trying to understand this code
authorVolker Lendecke <vlendec@samba.org>
Sat, 13 May 2006 21:10:00 +0000 (21:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:02 +0000 (11:17 -0500)
(This used to be commit 7945c935bf197afb61286ddeb0e579078362a1fc)

source3/smbd/password.c

index 8d33c1deed1690d61d81864255c10a7756c85a28..230d7f297f2886e53e39bf1086e3e5c39b4de72a 100644 (file)
@@ -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++;