summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-03-11 22:23:27 +0100
committerJeremy Allison <jra@samba.org>2013-03-12 01:03:37 +0100
commitfb924d02ec05f7106beeeb409becbc39e00ddac9 (patch)
tree06c3c5818f40f49e187d5ee01c7dc6c0f259407f /lib/param
parent58e385a5ac37c072a4eef3baa7926b799a732e94 (diff)
downloadsamba-fb924d02ec05f7106beeeb409becbc39e00ddac9.tar.gz
samba-fb924d02ec05f7106beeeb409becbc39e00ddac9.tar.bz2
samba-fb924d02ec05f7106beeeb409becbc39e00ddac9.zip
s3: remove some dead code (for setdir command)
set dir seems to have been a special SMB command used by Pathworks clients the supporting code for it was already removed in 2007, so just remove all remnants related to it (smb.conf parameter, documentation, ...) Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 12 01:03:37 CET 2013 on sn-devel-104
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/param_functions.c1
-rw-r--r--lib/param/param_table.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 4cf3ad7698..7cb3a69112 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -92,7 +92,6 @@ FN_LOCAL_BOOL(hide_special_files, bHideSpecialFiles)
FN_LOCAL_BOOL(hideunreadable, bHideUnReadable)
FN_LOCAL_BOOL(hideunwriteable_files, bHideUnWriteableFiles)
FN_LOCAL_BOOL(access_based_share_enum, bAccessBasedShareEnum)
-FN_LOCAL_BOOL(no_set_dir, bNo_set_dir)
FN_LOCAL_BOOL(guest_ok, bGuest_ok)
FN_LOCAL_BOOL(guest_only, bGuest_only)
FN_LOCAL_BOOL(administrative_share, bAdministrative_share)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 620f5f679b..c65a73824f 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3726,15 +3726,6 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED | FLAG_SHARE,
},
{
- .label = "set directory",
- .type = P_BOOLREV,
- .p_class = P_LOCAL,
- .offset = LOCAL_VAR(bNo_set_dir),
- .special = NULL,
- .enum_list = NULL,
- .flags = FLAG_ADVANCED | FLAG_SHARE,
- },
- {
.label = "allow insecure wide links",
.type = P_BOOL,
.p_class = P_GLOBAL,