diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-09-05 16:24:44 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-09-05 16:24:44 +1000 |
commit | b7a1640b38e3f9bef6a031fd120fb0365801e531 (patch) | |
tree | 9b2135f13eea3a0d4a15c35f2ebec32cdd0caeea | |
parent | 19fb3b0199dec2b8abacfab59910f2aed0ba310c (diff) | |
download | samba-b7a1640b38e3f9bef6a031fd120fb0365801e531.tar.gz samba-b7a1640b38e3f9bef6a031fd120fb0365801e531.tar.bz2 samba-b7a1640b38e3f9bef6a031fd120fb0365801e531.zip |
With a windows 2008 client, even anonymous requires signing...
Andrew Bartlett
(This used to be commit a89f9818180e8fb868975c444c4d0e5aaa8d4e79)
-rw-r--r-- | source4/smb_server/smb/sesssetup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c index 2c4068bda5..9d0d1533ce 100644 --- a/source4/smb_server/smb/sesssetup.c +++ b/source4/smb_server/smb/sesssetup.c @@ -188,11 +188,6 @@ static void sesssetup_nt1_send(struct auth_check_password_request *areq, req->session = smb_sess; sess->nt1.out.vuid = smb_sess->vuid; - if (!session_info->server_info->authenticated) { - /* don't try signing as anonymous */ - goto done; - } - if (!smbsrv_setup_signing(req->smb_conn, &session_info->session_key, &sess->nt1.in.password2)) { /* Already signing, or disabled */ goto done; @@ -326,7 +321,6 @@ static void sesssetup_spnego_send(struct gensec_update_request *greq, void *priv skey_status = gensec_session_key(smb_sess->gensec_ctx, &session_key); if (NT_STATUS_IS_OK(skey_status) && - session_info->server_info->authenticated && smbsrv_setup_signing(req->smb_conn, &session_key, NULL)) { /* Force check of the request packet, now we know the session key */ smbsrv_signing_check_incoming(req); |