diff options
-rw-r--r-- | source3/utils/net_rpc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index e982186835..46eae155d5 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -663,6 +663,11 @@ static NTSTATUS rpc_user_del_internals(const DOM_SID *domain_sid, } /* Display results */ + if (!NT_STATUS_IS_OK(result)) { + d_printf("Failed to delete user account - %s\n", nt_errstr(result)); + } else { + d_printf("Deleted user account\n"); + } done: return result; |