svn commit: samba r10180 - in trunk/source/rpc_client: .

jra at samba.org jra at samba.org
Mon Sep 12 20:55:20 GMT 2005


Author: jra
Date: 2005-09-12 20:55:20 +0000 (Mon, 12 Sep 2005)
New Revision: 10180

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

Log:
Ah - missing check for bad ntstatus return - we now join correctly
with no error messages !
Jeremy.

Modified:
   trunk/source/rpc_client/cli_netlogon.c


Changeset:
Modified: trunk/source/rpc_client/cli_netlogon.c
===================================================================
--- trunk/source/rpc_client/cli_netlogon.c	2005-09-12 20:41:33 UTC (rev 10179)
+++ trunk/source/rpc_client/cli_netlogon.c	2005-09-12 20:55:20 UTC (rev 10180)
@@ -318,6 +318,9 @@
 			&clnt_chal_send, /* input. */
 			&srv_chal_recv); /* output */
 
+	if (!NT_STATUS_IS_OK(result)) {
+		return result;
+	}
 
 	/*
 	 * Check the returned value using the initial



More information about the samba-cvs mailing list