s3: Remove a use of cli_errstr
authorVolker Lendecke <vl@samba.org>
Sun, 3 Jul 2011 08:38:30 +0000 (10:38 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 3 Jul 2011 09:31:29 +0000 (11:31 +0200)
All code above that might have failed sets result

source3/auth/auth_domain.c

index c18a81ab579c0987d918348648ee04990818a4f5..7eb020d8a611020176da375b2d7708aead447b42 100644 (file)
@@ -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);