mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Fix rights error in libnet_smbconf_delparm().
Introduced by additional test for existence of given parameter. Michael
This commit is contained in:
parent
29f46c2d45
commit
0fe095e85c
@ -306,7 +306,7 @@ WERROR libnet_smbconf_delparm(TALLOC_CTX *mem_ctx,
|
||||
return WERR_NO_SUCH_SERVICE;
|
||||
}
|
||||
|
||||
werr = libnet_smbconf_open_path(mem_ctx, service, REG_KEY_READ, &key);
|
||||
werr = libnet_smbconf_open_path(mem_ctx, service, REG_KEY_ALL, &key);
|
||||
W_ERROR_NOT_OK_RETURN(werr);
|
||||
|
||||
if (!libnet_smbconf_value_exists(mem_ctx, key, param)) {
|
||||
|
Loading…
Reference in New Issue
Block a user