summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-02 07:43:43 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-08 02:58:06 +0100
commit56e760f8f16f41c7879e792b20f53bce11f6e721 (patch)
tree3648aba1e28e662d4bf877e685c0f63b8022dd3f /source4/smb_server/smb2
parent862b81791e24e179cfb3419e331d8d2605475bee (diff)
downloadsamba-56e760f8f16f41c7879e792b20f53bce11f6e721.tar.gz
samba-56e760f8f16f41c7879e792b20f53bce11f6e721.tar.bz2
samba-56e760f8f16f41c7879e792b20f53bce11f6e721.zip
s4-smb_server No longer follow the security=share smb.conf directive
By ignoring the value of security= from the smb.conf, we can allow this to instead set the value of 'server role' in a manner compatible with the Samba 3.x release stream. Andrew Bartlett
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r--source4/smb_server/smb2/receive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/receive.c b/source4/smb_server/smb2/receive.c
index 0ebf8f31a1..141fdd8865 100644
--- a/source4/smb_server/smb2/receive.c
+++ b/source4/smb_server/smb2/receive.c
@@ -692,7 +692,6 @@ NTSTATUS smbsrv_init_smb2_connection(struct smbsrv_connection *smb_conn)
smb_conn->negotiate.zone_offset = get_time_zone(time(NULL));
- smb_conn->config.security = SEC_USER;
smb_conn->config.nt_status_support = true;
status = smbsrv_init_sessions(smb_conn, UINT64_MAX);