summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-01-27 15:00:14 -0800
committerJeremy Allison <jra@samba.org>2011-01-27 15:26:47 -0800
commiteec50b21f6d74de4e69a2c649799452736a494b1 (patch)
tree541e8be57aabdf22020fe6af5576074f776b8533 /source3/smbd
parent5dd63c6c1439f5dde00e56144c38771d81455ada (diff)
downloadsamba-eec50b21f6d74de4e69a2c649799452736a494b1.tar.gz
samba-eec50b21f6d74de4e69a2c649799452736a494b1.tar.bz2
samba-eec50b21f6d74de4e69a2c649799452736a494b1.zip
Change "security=share" to downgrade to SMB1 from SMB2, rather than trying to fake it.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_server.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index fef9dede26..fc2af475f2 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -2169,14 +2169,6 @@ void smbd_smb2_first_negprot(struct smbd_server_connection *sconn,
struct smbd_smb2_request *req = NULL;
struct tevent_req *subreq;
- if (lp_security() == SEC_SHARE) {
- DEBUG(2,("WARNING!!: \"security = share\" is deprecated for "
- "SMB2 servers. Mapping to \"security = user\" and "
- "\"map to guest = Bad User\"\n" ));
- lp_do_parameter(-1, "security", "user");
- lp_do_parameter(-1, "map to guest", "Bad User");
- }
-
DEBUG(10,("smbd_smb2_first_negprot: packet length %u\n",
(unsigned int)size));