git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d101da2
)
r6823: Add deletion confirmation / error message.
author
John Terpstra
<jht@samba.org>
Mon, 16 May 2005 18:51:59 +0000
(18:51 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:55 +0000
(10:56 -0500)
(This used to be commit
11804521f9cf8cdfb8c1526ea81dfb8a2c16c194
)
source3/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index e982186835a87eb9ae3f18603ac990335b9aa804..46eae155d582cb3f93655791fb44ef86d6986aab 100644
(file)
--- 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;