summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/librpc/idl/smbXsrv.idl12
-rw-r--r--source3/librpc/idl/wscript_build4
-rw-r--r--source3/librpc/wscript_build5
-rwxr-xr-xsource3/wscript_build1
5 files changed, 22 insertions, 1 deletions
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())