summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-07-03 10:38:30 +0200
committerVolker Lendecke <vl@samba.org>2011-07-03 11:31:29 +0200
commitd2b1671fb362d9e747b0c4f398ab41848cfdb921 (patch)
treebe8f5a9b3eaa2e676f4073c172d528b8fa91f81f
parentc31871264c3cdcbb9a05d8f4649c029a9a39ea9f (diff)
downloadsamba-d2b1671fb362d9e747b0c4f398ab41848cfdb921.tar.gz
samba-d2b1671fb362d9e747b0c4f398ab41848cfdb921.tar.bz2
samba-d2b1671fb362d9e747b0c4f398ab41848cfdb921.zip
s3: Remove a use of cli_errstr
All code above that might have failed sets result
-rw-r--r--source3/auth/auth_domain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index c18a81ab57..7eb020d8a6 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -234,8 +234,9 @@ machine %s. Error was : %s.\n", dc_name, nt_errstr(result)));
}
if(!netlogon_pipe) {
- DEBUG(0,("connect_to_domain_password_server: unable to open the domain client session to \
-machine %s. Error was : %s.\n", dc_name, cli_errstr(*cli)));
+ DEBUG(0, ("connect_to_domain_password_server: unable to open "
+ "the domain client session to machine %s. Error "
+ "was : %s.\n", dc_name, nt_errstr(result)));
cli_shutdown(*cli);
*cli = NULL;
TALLOC_FREE(mutex);