[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Sun Mar 21 08:57:00 MDT 2010
The branch, master has been updated
via d4425ec... s4:regshell - don't return an error code if we get a security descriptors error
from ad83995... s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value length
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d4425ecea5b4c5bc586ee53a78b386d4a57a2d21
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:54:17 2010 +0100
s4:regshell - don't return an error code if we get a security descriptors error
s4 itself doesn't support them so print only the error code out (in s4's case
WERR_NOT_SUPPORTED).
-----------------------------------------------------------------------
Summary of changes:
source4/lib/registry/tools/regshell.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index 003cbd1..1ead1a6 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -140,8 +140,8 @@ static WERROR cmd_info(struct regshell_context *ctx, int argc, char **argv)
error = reg_get_sec_desc(ctx, ctx->current, &sec_desc);
if (!W_ERROR_IS_OK(error)) {
- printf("Error getting security descriptor\n");
- return error;
+ printf("Error getting security descriptor: %s\n", win_errstr(error));
+ return WERR_OK;
}
ndr_print_debug((ndr_print_fn_t)ndr_print_security_descriptor,
"Security", sec_desc);
--
Samba Shared Repository
More information about the samba-cvs
mailing list