diff options
author | Volker Lendecke <vl@samba.org> | 2011-07-03 10:38:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-07-03 11:31:29 +0200 |
commit | d2b1671fb362d9e747b0c4f398ab41848cfdb921 (patch) | |
tree | be8f5a9b3eaa2e676f4073c172d528b8fa91f81f | |
parent | c31871264c3cdcbb9a05d8f4649c029a9a39ea9f (diff) | |
download | samba-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.c | 5 |
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); |