s3: Remove smbd_server_conn from reply_spnego_kerberos
authorVolker Lendecke <vl@samba.org>
Sat, 12 Jun 2010 10:37:31 +0000 (12:37 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 12 Jun 2010 13:42:54 +0000 (15:42 +0200)
source3/smbd/sesssetup.c

index dba6dabd267b2095c3f00b4433d350cb14db81cc..814a9a0e4a454491f6d9c3374e033abe442e27f9 100644 (file)
@@ -252,7 +252,7 @@ static void reply_spnego_kerberos(struct smb_request *req,
        bool map_domainuser_to_guest = False;
        bool username_was_mapped;
        struct PAC_LOGON_INFO *logon_info = NULL;
-       struct smbd_server_connection *sconn = smbd_server_conn;
+       struct smbd_server_connection *sconn = req->sconn;
 
        ZERO_STRUCT(ticket);
        ZERO_STRUCT(ap_rep);