Remove one reference to PI_NETLOGON
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2008 10:04:44 +0000 (12:04 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2008 12:36:31 +0000 (14:36 +0200)
(This used to be commit e89bbab1b875a0b55b70913dcc1e3e73137c8b90)

source3/rpc_client/cli_netlogon.c

index 7beaae2e22415ab7e192a4a3bdfe990b233f6a90..8b905e95fac12397c77bb7d06472785662c5df3a 100644 (file)
@@ -134,7 +134,8 @@ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
        struct dcinfo *dc;
        bool retried = false;
 
-       SMB_ASSERT(rpccli_is_pipe_idx(cli, PI_NETLOGON));
+       SMB_ASSERT(ndr_syntax_id_equal(&cli->abstract_syntax,
+                                      &ndr_table_netlogon.syntax_id));
 
        TALLOC_FREE(cli->dc);
        cli->dc = talloc_zero(cli, struct dcinfo);