svn commit: samba r20162 - in branches/SAMBA_4_0/source/libnet: .
mimir at samba.org
mimir at samba.org
Wed Dec 13 23:36:35 GMT 2006
Author: mimir
Date: 2006-12-13 23:36:34 +0000 (Wed, 13 Dec 2006)
New Revision: 20162
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20162
Log:
Always return some error string.
rafal
Modified:
branches/SAMBA_4_0/source/libnet/libnet_user.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_user.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_user.c 2006-12-13 23:35:50 UTC (rev 20161)
+++ branches/SAMBA_4_0/source/libnet/libnet_user.c 2006-12-13 23:36:34 UTC (rev 20162)
@@ -804,6 +804,9 @@
r->out.acct_flags = info->acct_flags;
r->out.error_string = talloc_strdup(mem_ctx, "Success");
+
+ } else {
+ r->out.error_string = talloc_asprintf(mem_ctx, "Error: %s", nt_errstr(status));
}
talloc_free(c);
More information about the samba-cvs
mailing list