diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 20:26:52 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 20:26:52 +0200 |
commit | 28fd4f6fcb101fc0274c43611a59d22072fb7891 (patch) | |
tree | 80e13cb31e126191ec4e6b374178746145114d5d /source3/rpc_server | |
parent | c05c5dba8a3ae832df4d2b1c58761089147288f1 (diff) | |
download | samba-28fd4f6fcb101fc0274c43611a59d22072fb7891.tar.gz samba-28fd4f6fcb101fc0274c43611a59d22072fb7891.tar.bz2 samba-28fd4f6fcb101fc0274c43611a59d22072fb7891.zip |
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 4ac9f7a6f4..3fe9c7f2ec 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -986,9 +986,9 @@ bool check_bind_req(struct pipes_struct *p, RPC_IFACE* abstract, for ( i=0; pipe_names[i].client_pipe; i++ ) { DEBUGADD(10,("checking %s\n", pipe_names[i].client_pipe)); if ( strequal(pipe_names[i].client_pipe, pname) - && (abstract->version == pipe_names[i].abstr_syntax.version) + && (abstract->if_version == pipe_names[i].abstr_syntax.if_version) && (memcmp(&abstract->uuid, &pipe_names[i].abstr_syntax.uuid, sizeof(struct GUID)) == 0) - && (transfer->version == pipe_names[i].trans_syntax.version) + && (transfer->if_version == pipe_names[i].trans_syntax.if_version) && (memcmp(&transfer->uuid, &pipe_names[i].trans_syntax.uuid, sizeof(struct GUID)) == 0) ) { struct api_struct *fns = NULL; int n_fns = 0; |