summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-23 23:58:58 +0100
committerMichael Adam <obnox@samba.org>2007-12-24 00:18:35 +0100
commit44860bce54d448316d2ac0bb9b0a2d0677d6c4eb (patch)
tree2910efac534fbca1cd820e4c08440386bc88e3f6 /source3/libnet
parent6306005f4c12275df2f0cd2c2a95493bea36824d (diff)
downloadsamba-44860bce54d448316d2ac0bb9b0a2d0677d6c4eb.tar.gz
samba-44860bce54d448316d2ac0bb9b0a2d0677d6c4eb.tar.bz2
samba-44860bce54d448316d2ac0bb9b0a2d0677d6c4eb.zip
Fix rights error in libnet_smbconf_delparm().
Introduced by additional test for existence of given parameter. Michael (This used to be commit 0fe095e85ca981e5660a67f3fb7d7965ae62c667)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 9eb5c16adc..3a64c3d844 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -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)) {