git.samba.org
/
metze
/
old
/
samba4-sync
/
samba4-sync.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
accb404
)
r23652: Use the recursive delete function instead of the original one
author
Michael Adam
<obnox@samba.org>
Fri, 29 Jun 2007 10:22:18 +0000
(10:22 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:41 +0000
(12:23 -0500)
when deleting a share. Just to be sure...
Michael
source/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source/utils/net_conf.c
b/source/utils/net_conf.c
index 8a906a6c27c4e51a1de3b5a1c5a90bf9221f5bbe..b9b693d8d551cf00c5b1f239d8812673f10586e6 100644
(file)
--- a/
source/utils/net_conf.c
+++ b/
source/utils/net_conf.c
@@
-256,7
+256,7
@@
static WERROR reg_delkey_internal(TALLOC_CTX *ctx, const char *keyname)
goto done;
}
- werr = reg_deletekey
(
key, keyname);
+ werr = reg_deletekey
_recursive(key,
key, keyname);
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "Error deleting registry key %s\\%s: %s\n",
KEY_SMBCONF, keyname, dos_errstr(werr));