svn commit: samba r20964 - in branches/SAMBA_4_0/source/libnet: .

abartlet at samba.org abartlet at samba.org
Tue Jan 23 01:33:32 GMT 2007


Author: abartlet
Date: 2007-01-23 01:33:31 +0000 (Tue, 23 Jan 2007)
New Revision: 20964

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

Log:
Show the domain name we figured out, rather than a null pointer (in
some error cases)

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_join.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_join.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_join.c	2007-01-23 01:29:17 UTC (rev 20963)
+++ branches/SAMBA_4_0/source/libnet/libnet_join.c	2007-01-23 01:33:31 UTC (rev 20964)
@@ -117,7 +117,7 @@
 	if (!NT_STATUS_IS_OK(status)) {
 		r->out.error_string = talloc_asprintf(r,
 					"Connection to DRSUAPI pipe of PDC of domain '%s' failed: %s",
-					r->in.domain_name,
+					r->out.domain_name,
 					nt_errstr(status));
 		talloc_free(tmp_ctx);
 		return status;



More information about the samba-cvs mailing list