summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-10-03 13:59:43 -0700
committerJeremy Allison <jra@samba.org>2012-10-04 09:52:38 -0700
commit92fee007bbc0a5ab3a16c8f1521478d4813d0b79 (patch)
treef135e9de499eebe9b79ac644bd8b681a6a2977fa /source3/param
parent3f5a3b60e267d8342a95fff54428f0b13086ff77 (diff)
downloadsamba-92fee007bbc0a5ab3a16c8f1521478d4813d0b79.tar.gz
samba-92fee007bbc0a5ab3a16c8f1521478d4813d0b79.tar.bz2
samba-92fee007bbc0a5ab3a16c8f1521478d4813d0b79.zip
Revert "Add functions to programatically set the security mask and directory security mask parameters."
This reverts commit 8f0ecbbbeebff0174579a78827d384067cd4cbb7. Not now needed as part of the move to remove security mask parameters.
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 960a644e1a..61606ce9d2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5476,17 +5476,3 @@ int lp_security(void)
return lp_find_security(lp__server_role(),
lp__security());
}
-
-int lp_set_security_mask(int snum, int new_val)
-{
- int ret = ServicePtrs[snum]->iSecurity_mask;
- ServicePtrs[snum]->iSecurity_mask = new_val;
- return ret;
-}
-
-int lp_set_directory_security_mask(int snum, int new_val)
-{
- int ret = ServicePtrs[snum]->iDir_Security_mask;
- ServicePtrs[snum]->iDir_Security_mask = new_val;
- return ret;
-}