mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
Pass the full ndr_interface_table into the s3 rpcserver when registering
This commit is contained in:
@@ -247,7 +247,7 @@ sub ParseInterface($)
|
||||
pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);";
|
||||
pidl "NTSTATUS rpc_$if->{NAME}_init(void)";
|
||||
pidl "{";
|
||||
pidl "\treturn rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}.syntax_id, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
|
||||
pidl "\treturn rpc_srv_register(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
|
||||
pidl "}";
|
||||
|
||||
pidl_hdr "#endif /* __SRV_$uif\__ */";
|
||||
|
||||
Reference in New Issue
Block a user