summaryrefslogtreecommitdiff
path: root/source3/registry/reg_backend_smbconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_backend_smbconf.c')
-rw-r--r--source3/registry/reg_backend_smbconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_smbconf.c b/source3/registry/reg_backend_smbconf.c
index a2bf506e52..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 (!(user_has_privileges(token, &se_disk_operators))) {
+ if (!security_token_has_privilege(token, SEC_PRIV_DISK_OPERATOR)) {
return False;
}