[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-86-gefe2499

Volker Lendecke vlendec at samba.org
Wed Jul 16 21:18:24 GMT 2008


The branch, v4-0-test has been updated
       via  efe249928312f730ee580e72b9c640ef88b0ed5b (commit)
      from  34f8b2abdd546f6b60ddae2ad839119f211c995c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit efe249928312f730ee580e72b9c640ef88b0ed5b
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Jul 16 21:50:25 2008 +0200

    Add the interface ID to the rpc_pipe_register_commands call in s3 srv code

-----------------------------------------------------------------------

Summary of changes:
 source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index 4af9da0..b21d3f4 100644
--- a/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -235,7 +235,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}\", api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
+	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 "}";
 
 	pidl_hdr "#endif /* __SRV_$uif\__ */";


-- 
Samba Shared Repository


More information about the samba-cvs mailing list