r1122: As spotted by lha@stacken.kth.se we don't actually use this variable any more.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 13 Jun 2004 23:13:22 +0000 (23:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:56 +0000 (10:51 -0500)
Andrew Bartlett
(This used to be commit 9d5821d5ee5e9f666dfbe75419e97508af9cad5e)

source3/smbd/sesssetup.c

index 8a56478929fe6ed78a3ed6a85815695e3187d89a..49acd371a508bea7faf6cf1236329f91ca580908 100644 (file)
@@ -152,7 +152,6 @@ static int reply_spnego_kerberos(connection_struct *conn,
        auth_serversupplied_info *server_info = NULL;
        DATA_BLOB session_key = data_blob(NULL, 0);
        uint8 tok_id[2];
-       BOOL foreign = False;
        DATA_BLOB nullblob = data_blob(NULL, 0);
        fstring real_username;
 
@@ -197,7 +196,6 @@ static int reply_spnego_kerberos(connection_struct *conn,
                        SAFE_FREE(client);
                        return ERROR_NT(NT_STATUS_LOGON_FAILURE);
                }
-               foreign = True;
        }
 
        /* this gives a fully qualified user name (ie. with full realm).