The branch, master has been updated
       via  6af92c022865412a7447b1f2ef9828a57199fce0 (commit)
      from  a716606c2745f4b1d3adf220707a8d5dbd86acbb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6af92c022865412a7447b1f2ef9828a57199fce0
Author: Volker Lendecke <v...@samba.org>
Date:   Wed Apr 22 16:44:11 2009 +0200

    Do not panic unnecessarily

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_client/cli_netlogon.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_client/cli_netlogon.c 
b/source3/rpc_client/cli_netlogon.c
index cfaf9f3..fd10721 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -45,8 +45,10 @@ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client 
*cli,
        bool retried = false;
        fstring mach_acct;
 
-       SMB_ASSERT(ndr_syntax_id_equal(&cli->abstract_syntax,
-                                      &ndr_table_netlogon.syntax_id));
+       if (!ndr_syntax_id_equal(&cli->abstract_syntax,
+                                &ndr_table_netlogon.syntax_id)) {
+               return NT_STATUS_INVALID_PARAMETER;
+       }
 
        TALLOC_FREE(cli->dc);
 


-- 
Samba Shared Repository

Reply via email to