diff options
-rw-r--r-- | librpc/wscript_build | 2 | ||||
-rw-r--r-- | source3/Makefile.in | 1 | ||||
-rw-r--r-- | source3/librpc/idl/smbXsrv.idl | 12 | ||||
-rw-r--r-- | source3/librpc/idl/wscript_build | 4 | ||||
-rw-r--r-- | source3/librpc/wscript_build | 5 | ||||
-rwxr-xr-x | source3/wscript_build | 1 |
6 files changed, 23 insertions, 2 deletions
diff --git a/librpc/wscript_build b/librpc/wscript_build index 46570ae76b..fbe0223061 100644 --- a/librpc/wscript_build +++ b/librpc/wscript_build @@ -594,7 +594,7 @@ bld.SAMBA_LIBRARY('ndr-samba', source=[], deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM - NDR_NTPRINTING NDR_FSRVP''', + NDR_NTPRINTING NDR_FSRVP NDR_OPEN_FILES NDR_SMBXSRV''', private_library=True, grouping_library=True ) diff --git a/source3/Makefile.in b/source3/Makefile.in index abdeb72d62..63b7949839 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -974,6 +974,7 @@ SMBD_OBJ_SRV = smbd/server_reload.o \ smbd/smb2_getinfo.o \ smbd/smb2_setinfo.o \ smbd/smb2_break.o \ + autoconf/librpc/gen_ndr/ndr_smbXsrv.o \ $(MANGLE_OBJ) @VFS_STATIC@ SMBD_OBJ_BASE = $(PARAM_WITHOUT_REG_OBJ) $(SMBD_OBJ_SRV) $(LIBSMB_OBJ) \ diff --git a/source3/librpc/idl/smbXsrv.idl b/source3/librpc/idl/smbXsrv.idl new file mode 100644 index 0000000000..5d3be78082 --- /dev/null +++ b/source3/librpc/idl/smbXsrv.idl @@ -0,0 +1,12 @@ +#include "idl_types.h" + +[ + uuid("07408340-ae31-11e1-97dc-539f7fddc06f"), + version(0.0), + pointer_default(unique), + helpstring("smbXsrv structures") +] +interface smbXsrv +{ + void smbXsrv_dummy(); +} diff --git a/source3/librpc/idl/wscript_build b/source3/librpc/idl/wscript_build index 949eecd7dd..712108d4e6 100644 --- a/source3/librpc/idl/wscript_build +++ b/source3/librpc/idl/wscript_build @@ -6,7 +6,9 @@ topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl') bld.SAMBA_PIDL_LIST('PIDL', '''messaging.idl libnetapi.idl open_files.idl - perfcount.idl secrets.idl libnet_join.idl''', + perfcount.idl secrets.idl libnet_join.idl + smbXsrv.idl + ''', options='--includedir=%s --header --ndr-parser' % topinclude, output_dir='../gen_ndr') diff --git a/source3/librpc/wscript_build b/source3/librpc/wscript_build index ab4c23f801..c0dc9b4cb5 100644 --- a/source3/librpc/wscript_build +++ b/source3/librpc/wscript_build @@ -20,6 +20,11 @@ bld.SAMBA3_SUBSYSTEM('NDR_OPEN_FILES', public_deps='ndr NDR_SERVER_ID NDR_FILE_ID NDR_SECURITY' ) +bld.SAMBA3_SUBSYSTEM('NDR_SMBXSRV', + source='gen_ndr/ndr_smbXsrv.c', + public_deps='ndr NDR_SERVER_ID NDR_SECURITY NDR_AUTH' + ) + bld.SAMBA3_SUBSYSTEM('NDR_SECRETS', source='gen_ndr/ndr_secrets.c', public_deps='ndr' diff --git a/source3/wscript_build b/source3/wscript_build index bb59fde276..521fe677e6 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -929,6 +929,7 @@ bld.SAMBA3_LIBRARY('smbd_base', LIBAFS LIBAFS_SETTOKEN RPC_SERVER + NDR_SMBXSRV ''', private_library=True, vars=locals()) |