From a8b95686a7bde3f96f141b6938e24e101567ef54 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 22 Oct 2010 10:31:06 -0700 Subject: Wrap security_token_has_privilege() with a check for lp_enable_privileges(). Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104 --- source3/registry/reg_backend_smbconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/registry/reg_backend_smbconf.c') diff --git a/source3/registry/reg_backend_smbconf.c b/source3/registry/reg_backend_smbconf.c index b96c73b47b..f638223427 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 (!security_token_has_privilege(token, SEC_PRIV_DISK_OPERATOR)) { + if (!s3_security_token_has_privilege(token, SEC_PRIV_DISK_OPERATOR)) { return False; } -- cgit