summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b11effdf93..8dadebfa89 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -10132,11 +10132,3 @@ bool lp_readraw(void)
}
return _lp_readraw();
}
-
-bool s3_security_token_has_privilege(const struct security_token *token, enum sec_privilege privilege)
-{
- if (!lp_enable_privileges()) {
- return false;
- }
- return security_token_has_privilege(token, privilege);
-}