summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-08-02 14:52:12 +0200
committerMichael Adam <obnox@samba.org>2011-08-08 15:27:07 +0200
commit3db91e6599092e28b3b89a6a37fb45c8c7f0bdfb (patch)
tree76a7712dec69b04f43000db128ba1c2fa16fef30 /source3/lib
parent356ed8644c0099a70ece5b7d5104662454d03ef8 (diff)
downloadsamba-3db91e6599092e28b3b89a6a37fb45c8c7f0bdfb.tar.gz
samba-3db91e6599092e28b3b89a6a37fb45c8c7f0bdfb.tar.bz2
samba-3db91e6599092e28b3b89a6a37fb45c8c7f0bdfb.zip
s3:smbconf let drop leave the smbconf key in place to match a virgin registry.tdb
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbconf/smbconf_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 92dbcbae1c..ec6b93fd09 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -754,7 +754,7 @@ static sbcErr smbconf_reg_drop(struct smbconf_ctx *ctx)
goto done;
}
- werr = reg_deletekey_recursive(parent_key, p+1);
+ werr = reg_deletesubkeys_recursive(parent_key, p+1);
if (!W_ERROR_IS_OK(werr)) {
err = SBC_ERR_IO_FAILURE;
goto done;