diff options
-rw-r--r-- | source3/libsmb/libsmb_xattr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c index 8763205d1f..2d8389c770 100644 --- a/source3/libsmb/libsmb_xattr.c +++ b/source3/libsmb/libsmb_xattr.c @@ -39,7 +39,8 @@ find_lsa_pipe_hnd(struct cli_state *ipc_cli) pipe_hnd; pipe_hnd = pipe_hnd->next) { - if (rpccli_is_pipe_idx(pipe_hnd, PI_LSARPC)) { + if (ndr_syntax_id_equal(&pipe_hnd->abstract_syntax, + &ndr_table_lsarpc.syntax_id)) { return pipe_hnd; } } |