svn commit: samba r6823 - in branches/SAMBA_3_0/source/utils: .

jht at samba.org jht at samba.org
Mon May 16 18:52:01 GMT 2005


Author: jht
Date: 2005-05-16 18:51:59 +0000 (Mon, 16 May 2005)
New Revision: 6823

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6823

Log:
Add deletion confirmation / error message.
Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c	2005-05-16 18:45:19 UTC (rev 6822)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c	2005-05-16 18:51:59 UTC (rev 6823)
@@ -663,6 +663,11 @@
 	}
 
 	/* 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;



More information about the samba-cvs mailing list