From 272feb7bd133344e88864ffc75d251451ddd681c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 22 Oct 2010 15:58:40 -0700 Subject: Revert "Wrap security_token_has_privilege() with a check for lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104 --- source3/registry/reg_backend_smbconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_backend_smbconf.c b/source3/registry/reg_backend_smbconf.c index f638223427..b96c73b47b 100644 --- a/source3/registry/reg_backend_smbconf.c +++ b/source3/registry/reg_backend_smbconf.c @@ -60,7 +60,7 @@ static bool smbconf_reg_access_check(const char *keyname, uint32 requested, uint32 *granted, const struct security_token *token) { - if (!s3_security_token_has_privilege(token, SEC_PRIV_DISK_OPERATOR)) { + if (!security_token_has_privilege(token, SEC_PRIV_DISK_OPERATOR)) { return False; } -- cgit