From c4877403a04b60619523dfe3fc892564ff41a079 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 29 Feb 2004 16:34:33 +0000 Subject: net_rpc.c: Don't complain if [add|del]mem was successful. srv_samr_nt.c: Correctly report that a user is not member of an alias. Volker (This used to be commit 540f625036871e7facd094fce49d7317f65f4ffd) --- source3/utils/net_rpc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index a565effeff..19825ff51b 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1364,8 +1364,8 @@ rpc_group_addmem_internals(const DOM_SID *domain_sid, const char *domain_name, if (!NT_STATUS_IS_OK(result)) { d_printf("Could not add %s to %s: %s\n", argv[1], argv[0], nt_errstr(result)); - return result; } + return result; } if (group_type == SID_NAME_ALIAS) { @@ -1375,8 +1375,8 @@ rpc_group_addmem_internals(const DOM_SID *domain_sid, const char *domain_name, if (!NT_STATUS_IS_OK(result)) { d_printf("Could not add %s to %s: %s\n", argv[1], argv[0], nt_errstr(result)); - return result; } + return result; } d_printf("Can only add members to global or local groups which " @@ -1533,8 +1533,8 @@ rpc_group_delmem_internals(const DOM_SID *domain_sid, const char *domain_name, if (!NT_STATUS_IS_OK(result)) { d_printf("Could not del %s to %s: %s\n", argv[1], argv[0], nt_errstr(result)); - return result; } + return result; } if (group_type == SID_NAME_ALIAS) { @@ -1544,8 +1544,8 @@ rpc_group_delmem_internals(const DOM_SID *domain_sid, const char *domain_name, if (!NT_STATUS_IS_OK(result)) { d_printf("Could not add %s to %s: %s\n", argv[1], argv[0], nt_errstr(result)); - return result; } + return result; } d_printf("Can only delete members from global or local groups which " -- cgit