From ae50385d524d8cb4831d8eb0c45feb4d04437f28 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 29 Jun 2010 18:08:47 +0200 Subject: s4:registry - on key add operations we have to handle with paths not always only a name Recursive key generations are allowed. --- source4/lib/registry/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/registry/interface.c') diff --git a/source4/lib/registry/interface.c b/source4/lib/registry/interface.c index c5d5ce8d5f..07e606d05b 100644 --- a/source4/lib/registry/interface.c +++ b/source4/lib/registry/interface.c @@ -202,7 +202,7 @@ _PUBLIC_ WERROR reg_key_del(TALLOC_CTX *mem_ctx, struct registry_key *parent, */ _PUBLIC_ WERROR reg_key_add_name(TALLOC_CTX *mem_ctx, struct registry_key *parent, - const char *name, const char *key_class, + const char *path, const char *key_class, struct security_descriptor *desc, struct registry_key **newkey) { @@ -215,7 +215,7 @@ _PUBLIC_ WERROR reg_key_add_name(TALLOC_CTX *mem_ctx, return WERR_NOT_SUPPORTED; } - return parent->context->ops->create_key(mem_ctx, parent, name, + return parent->context->ops->create_key(mem_ctx, parent, path, key_class, desc, newkey); } -- cgit