summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/param/loadparm.c14
2 files changed, 0 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e42c33d9d7..b3fa55a914 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1188,8 +1188,6 @@ bool lp_getwd_cache(void);
int lp_srv_maxprotocol(void);
int lp_srv_minprotocol(void);
int lp_security(void);
-int lp_set_security_mask(int snum, int new_val);
-int lp_set_directory_security_mask(int snum, int new_mask);
int lp__server_role(void);
int lp__security(void);
int lp__domain_master(void);
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;
-}