1
0
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:
Michael Adam 2007-12-23 23:58:58 +01:00
parent 29f46c2d45
commit 0fe095e85c

View File

@ -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)) {