auth: Log the transport connection for the authorization
[amitay/samba.git] / source3 / smbd / sesssetup.c
index 0cc49d916f83dfa00a670f7b8f720f3ee0eaa0ef..2ed5a4c7ed7f38091db4d6936ce688c68961c54a 100644 (file)
@@ -263,6 +263,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req)
 
                gensec_want_feature(auth->gensec, GENSEC_FEATURE_SESSION_KEY);
                gensec_want_feature(auth->gensec, GENSEC_FEATURE_UNIX_TOKEN);
+               gensec_want_feature(auth->gensec, GENSEC_FEATURE_SMB_TRANSPORT);
 
                status = gensec_start_mech_by_oid(auth->gensec,
                                                  GENSEC_OID_SPNEGO);