summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-06-22 16:37:26 +0200
committerAndreas Schneider <asn@samba.org>2012-07-03 21:56:49 +0200
commitd0878b3b8179b1cf061e1058bacbe670363b51c6 (patch)
tree1445c7587c9db1f4b391d225b637e357547916b7 /source3/smbd
parent571a4b6cd29a38d90d269871d7c4698a2a0b1d38 (diff)
downloadsamba-d0878b3b8179b1cf061e1058bacbe670363b51c6.tar.gz
samba-d0878b3b8179b1cf061e1058bacbe670363b51c6.tar.bz2
samba-d0878b3b8179b1cf061e1058bacbe670363b51c6.zip
s3-smbd: Remove deprecated 'share modes' option.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index c2bf8edb7a..c88fe65a34 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1038,10 +1038,6 @@ static NTSTATUS open_mode_check(connection_struct *conn,
}
#endif
- if (!lp_share_modes(SNUM(conn))) {
- return NT_STATUS_OK;
- }
-
/* Now we check the share modes, after any oplock breaks. */
for(i = 0; i < lck->data->num_share_modes; i++) {