mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r6823: Add deletion confirmation / error message.
(This used to be commit 11804521f9
)
This commit is contained in:
parent
d101da235b
commit
b5c736d0f0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user