mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
Revert "Add functions to programatically set the security mask and directory security mask parameters."
This reverts commit 8f0ecbbbee
.
Not now needed as part of the move to remove security mask parameters.
This commit is contained in:
parent
3f5a3b60e2
commit
92fee007bb
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user