diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-01-23 01:33:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:44:04 -0500 |
commit | d2bfa6611924a6f6c2bc0571f71414818d8968fd (patch) | |
tree | 22c7559b5e00407381203ca27fb68f31d9697156 /source4 | |
parent | c471abbcfe21e853f5664320c5b3498cdd4ad186 (diff) | |
download | samba-d2bfa6611924a6f6c2bc0571f71414818d8968fd.tar.gz samba-d2bfa6611924a6f6c2bc0571f71414818d8968fd.tar.bz2 samba-d2bfa6611924a6f6c2bc0571f71414818d8968fd.zip |
r20964: Show the domain name we figured out, rather than a null pointer (in
some error cases)
Andrew Bartlett
(This used to be commit 4195839d1a6102d7c6ae17c1b1db0418c99c9241)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index e2c2e99d11..a40c8607bf 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -117,7 +117,7 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J 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; |