summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-29 21:07:41 +0100
committerVolker Lendecke <vl@samba.org>2008-12-30 11:26:10 +0100
commitcf79461f4e25752750ee6ff14fb8620a6c11ac1d (patch)
tree06f021746748a07d28a755dc1396b44347670ddf /source3/smbd
parentfb54e711fbb2c3a37bf0171f0ea4f32ff1b78430 (diff)
downloadsamba-cf79461f4e25752750ee6ff14fb8620a6c11ac1d.tar.gz
samba-cf79461f4e25752750ee6ff14fb8620a6c11ac1d.tar.bz2
samba-cf79461f4e25752750ee6ff14fb8620a6c11ac1d.zip
Move a comment to its place
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index a24843ff64..73948eca32 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -547,11 +547,6 @@ static void reply_spnego_kerberos(struct smb_request *req,
}
}
- /* register_existing_vuid keeps the server info */
- /* register_existing_vuid takes ownership of session_key on success,
- * no need to free after this on success. A better interface would copy
- * it.... */
-
if (!is_partial_auth_vuid(sess_vuid)) {
sess_vuid = register_initial_vuid();
}
@@ -560,6 +555,11 @@ static void reply_spnego_kerberos(struct smb_request *req,
server_info->user_session_key = session_key;
session_key = data_blob_null;
+ /* register_existing_vuid keeps the server info */
+ /* register_existing_vuid takes ownership of session_key on success,
+ * no need to free after this on success. A better interface would copy
+ * it.... */
+
sess_vuid = register_existing_vuid(sess_vuid,
server_info,
nullblob,