From fb924d02ec05f7106beeeb409becbc39e00ddac9 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Mon, 11 Mar 2013 22:23:27 +0100 Subject: 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 Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Mar 12 01:03:37 CET 2013 on sn-devel-104 --- lib/param/param_functions.c | 1 - lib/param/param_table.c | 9 --------- 2 files changed, 10 deletions(-) (limited to 'lib') 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 @@ -3725,15 +3725,6 @@ static struct parm_struct parm_table[] = { .enum_list = NULL, .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, -- cgit