Revert "s3: Do not reference the ndr_tables in the server calls directly"
[kai/samba-autobuild/.git] / source3 / rpc_server / srv_lsa_hnd.c
index 8b4b4a9252f4c01db8e1a4521106f64a58f17e19..4233b6f0e6d8d49d41c96e5ffdb78cb7d8650bd2 100644 (file)
@@ -81,11 +81,10 @@ bool init_pipe_handle_list(pipes_struct *p, const struct ndr_syntax_id *syntax)
        for (plist = get_first_internal_pipe();
             plist;
             plist = get_next_internal_pipe(plist)) {
-               if (ndr_syntax_id_equal(syntax,
-                                       &plist->interface->syntax_id)) {
+               if (ndr_syntax_id_equal(syntax, &plist->syntax)) {
                        break;
                }
-               if (is_samr_lsa_pipe(&plist->interface->syntax_id)
+               if (is_samr_lsa_pipe(&plist->syntax)
                    && is_samr_lsa_pipe(syntax)) {
                        /*
                         * samr and lsa share a handle space (same process