Add new script for building IDL files in librpc/idl, generating both
authorJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 15:32:18 +0000 (16:32 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 15:32:18 +0000 (16:32 +0100)
Samba 3 and Samba 4 output.

106 files changed:
.gitignore
librpc/gen_ndr/cli_dfs.c
librpc/gen_ndr/cli_dfs.h
librpc/gen_ndr/cli_drsuapi.c
librpc/gen_ndr/cli_drsuapi.h
librpc/gen_ndr/cli_dssetup.c
librpc/gen_ndr/cli_dssetup.h
librpc/gen_ndr/cli_echo.c
librpc/gen_ndr/cli_echo.h
librpc/gen_ndr/cli_epmapper.c
librpc/gen_ndr/cli_epmapper.h
librpc/gen_ndr/cli_eventlog.c
librpc/gen_ndr/cli_eventlog.h
librpc/gen_ndr/cli_initshutdown.c
librpc/gen_ndr/cli_initshutdown.h
librpc/gen_ndr/cli_lsa.c
librpc/gen_ndr/cli_lsa.h
librpc/gen_ndr/cli_netlogon.c
librpc/gen_ndr/cli_netlogon.h
librpc/gen_ndr/cli_ntsvcs.c
librpc/gen_ndr/cli_ntsvcs.h
librpc/gen_ndr/cli_samr.c
librpc/gen_ndr/cli_samr.h
librpc/gen_ndr/cli_srvsvc.c
librpc/gen_ndr/cli_srvsvc.h
librpc/gen_ndr/cli_svcctl.c
librpc/gen_ndr/cli_svcctl.h
librpc/gen_ndr/cli_winreg.c
librpc/gen_ndr/cli_winreg.h
librpc/gen_ndr/cli_wkssvc.c
librpc/gen_ndr/cli_wkssvc.h
librpc/gen_ndr/ndr_dfs.c
librpc/gen_ndr/ndr_dfs.h
librpc/gen_ndr/ndr_drsblobs.c
librpc/gen_ndr/ndr_drsblobs.h
librpc/gen_ndr/ndr_drsuapi.c
librpc/gen_ndr/ndr_drsuapi.h
librpc/gen_ndr/ndr_dssetup.c
librpc/gen_ndr/ndr_dssetup.h
librpc/gen_ndr/ndr_echo.c
librpc/gen_ndr/ndr_echo.h
librpc/gen_ndr/ndr_epmapper.c
librpc/gen_ndr/ndr_epmapper.h
librpc/gen_ndr/ndr_eventlog.c
librpc/gen_ndr/ndr_eventlog.h
librpc/gen_ndr/ndr_initshutdown.c
librpc/gen_ndr/ndr_initshutdown.h
librpc/gen_ndr/ndr_krb5pac.c
librpc/gen_ndr/ndr_krb5pac.h
librpc/gen_ndr/ndr_lsa.c
librpc/gen_ndr/ndr_lsa.h
librpc/gen_ndr/ndr_misc.c
librpc/gen_ndr/ndr_misc.h
librpc/gen_ndr/ndr_named_pipe_auth.c
librpc/gen_ndr/ndr_named_pipe_auth.h
librpc/gen_ndr/ndr_nbt.c
librpc/gen_ndr/ndr_nbt.h
librpc/gen_ndr/ndr_netlogon.c
librpc/gen_ndr/ndr_netlogon.h
librpc/gen_ndr/ndr_ntsvcs.c
librpc/gen_ndr/ndr_ntsvcs.h
librpc/gen_ndr/ndr_samr.c
librpc/gen_ndr/ndr_samr.h
librpc/gen_ndr/ndr_security.c
librpc/gen_ndr/ndr_security.h
librpc/gen_ndr/ndr_srvsvc.c
librpc/gen_ndr/ndr_srvsvc.h
librpc/gen_ndr/ndr_svcctl.c
librpc/gen_ndr/ndr_svcctl.h
librpc/gen_ndr/ndr_winreg.c
librpc/gen_ndr/ndr_winreg.h
librpc/gen_ndr/ndr_wkssvc.c
librpc/gen_ndr/ndr_wkssvc.h
librpc/gen_ndr/ndr_xattr.c
librpc/gen_ndr/ndr_xattr.h
librpc/gen_ndr/srv_dfs.c
librpc/gen_ndr/srv_dfs.h
librpc/gen_ndr/srv_dssetup.c
librpc/gen_ndr/srv_dssetup.h
librpc/gen_ndr/srv_echo.c
librpc/gen_ndr/srv_echo.h
librpc/gen_ndr/srv_epmapper.c
librpc/gen_ndr/srv_epmapper.h
librpc/gen_ndr/srv_eventlog.c
librpc/gen_ndr/srv_eventlog.h
librpc/gen_ndr/srv_initshutdown.c
librpc/gen_ndr/srv_initshutdown.h
librpc/gen_ndr/srv_lsa.c
librpc/gen_ndr/srv_lsa.h
librpc/gen_ndr/srv_netlogon.c
librpc/gen_ndr/srv_netlogon.h
librpc/gen_ndr/srv_ntsvcs.c
librpc/gen_ndr/srv_ntsvcs.h
librpc/gen_ndr/srv_samr.c
librpc/gen_ndr/srv_samr.h
librpc/gen_ndr/srv_srvsvc.c
librpc/gen_ndr/srv_srvsvc.h
librpc/gen_ndr/srv_svcctl.c
librpc/gen_ndr/srv_svcctl.h
librpc/gen_ndr/srv_winreg.c
librpc/gen_ndr/srv_winreg.h
librpc/gen_ndr/srv_wkssvc.c
librpc/gen_ndr/srv_wkssvc.h
source3/Makefile.in
source3/librpc/gen_ndr/tables.c [new file with mode: 0644]
source4/lib/ldb/ldb_wrap.c

index 4985738891f6d6ba9989239a5234f720dc0f8728..69dabe885159fb152d5261bbe1556f910c184a3b 100644 (file)
@@ -74,28 +74,28 @@ source3/include/version.h
 source3/lib/netapi/examples/Makefile
 source3/lib/netapi/tests/Makefile
 source3/library-versions
-source3/librpc/gen_ndr/cli_krb5pac.*
+librpc/gen_ndr/cli_krb5pac.*
 source3/librpc/gen_ndr/cli_libnetapi.c
 source3/librpc/gen_ndr/cli_libnetapi.h
 source3/librpc/gen_ndr/cli_messaging.*
-source3/librpc/gen_ndr/cli_misc.*
-source3/librpc/gen_ndr/cli_nbt.c
-source3/librpc/gen_ndr/cli_nbt.h
+librpc/gen_ndr/cli_misc.*
+librpc/gen_ndr/cli_nbt.c
+librpc/gen_ndr/cli_nbt.h
 source3/librpc/gen_ndr/cli_notify.*
-source3/librpc/gen_ndr/cli_security.*
-source3/librpc/gen_ndr/cli_xattr.*
-source3/librpc/gen_ndr/srv_drsuapi.c
-source3/librpc/gen_ndr/srv_drsuapi.h
-source3/librpc/gen_ndr/srv_krb5pac.*
+librpc/gen_ndr/cli_security.*
+librpc/gen_ndr/cli_xattr.*
+librpc/gen_ndr/srv_drsuapi.c
+librpc/gen_ndr/srv_drsuapi.h
+librpc/gen_ndr/srv_krb5pac.*
 source3/librpc/gen_ndr/srv_libnetapi.c
 source3/librpc/gen_ndr/srv_libnetapi.h
 source3/librpc/gen_ndr/srv_messaging.*
-source3/librpc/gen_ndr/srv_misc.*
-source3/librpc/gen_ndr/srv_nbt.c
-source3/librpc/gen_ndr/srv_nbt.h
+librpc/gen_ndr/srv_misc.*
+librpc/gen_ndr/srv_nbt.c
+librpc/gen_ndr/srv_nbt.h
 source3/librpc/gen_ndr/srv_notify.*
-source3/librpc/gen_ndr/srv_security.*
-source3/librpc/gen_ndr/srv_xattr.*
+librpc/gen_ndr/srv_security.*
+librpc/gen_ndr/srv_xattr.*
 source3/Makefile
 source3/nsswitch/*.so
 source3/pkgconfig/*.pc
@@ -309,8 +309,8 @@ tags
 packaging/RHEL-CTDB/samba.spec
 packaging/RHEL/samba.spec
 packaging/RHEL/makerpms.sh
-source3/librpc/gen_ndr/cli_drsblobs.c
-source3/librpc/gen_ndr/cli_drsblobs.h
-source3/librpc/gen_ndr/srv_drsblobs.c
-source3/librpc/gen_ndr/srv_drsblobs.h
+librpc/gen_ndr/cli_drsblobs.c
+librpc/gen_ndr/cli_drsblobs.h
+librpc/gen_ndr/srv_drsblobs.c
+librpc/gen_ndr/srv_drsblobs.h
 source3/setup
index 81ec14694ab4e5025127b08f69f06e89df64fe1e..d2c9b4f03f904518c9a94bf16da8a2c7469bb2b5 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_dfs.h"
+#include "../librpc/gen_ndr/cli_dfs.h"
 
 NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli,
                                      TALLOC_CTX *mem_ctx,
index 0c862099bf7ac81f0cb3b0a68c9b3e31b6bf40ed..9e40a5695b07702ccd9db1b1b7aba1988b2309ce 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_dfs.h"
+#include "../librpc/gen_ndr/ndr_dfs.h"
 #ifndef __CLI_NETDFS__
 #define __CLI_NETDFS__
 NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli,
index 57d7a25d9c008d699a62b005a4c9565de1333026..4063a67c43ff11326bac9d5e83103ea062820f07 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_drsuapi.h"
+#include "../librpc/gen_ndr/cli_drsuapi.h"
 
 NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
                               TALLOC_CTX *mem_ctx,
index ab7375f4cae480ccb99d8b00feb4c902861e408b..65bc26a60de99b3c960692e98db2930b92e26e95 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "../librpc/gen_ndr/ndr_drsuapi.h"
 #ifndef __CLI_DRSUAPI__
 #define __CLI_DRSUAPI__
 NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
index 5526f8d59b644817eed455c98f45797b4d9712ff..39abe34d4d1c7804ce813a0c9aab0b29c13ab36a 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_dssetup.h"
+#include "../librpc/gen_ndr/cli_dssetup.h"
 
 NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client *cli,
                                                          TALLOC_CTX *mem_ctx,
index e2dca43360c22c966dad2a291a8847db31840642..e6847c3e06d9b0e91668b5fe52b06de04e8404e9 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_dssetup.h"
+#include "../librpc/gen_ndr/ndr_dssetup.h"
 #ifndef __CLI_DSSETUP__
 #define __CLI_DSSETUP__
 NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client *cli,
index a775825f5f7f9864e18de9791355fada24c51dae..f59a1918835c1c8c3aa4206284af0a87f3c5191b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_echo.h"
+#include "../librpc/gen_ndr/cli_echo.h"
 
 NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli,
                            TALLOC_CTX *mem_ctx,
index 9da13e97f6a81e7ee3a7a5109866bffea7363233..46dd830a4e48427aa90e982555cf9743b819ed41 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_echo.h"
+#include "../librpc/gen_ndr/ndr_echo.h"
 #ifndef __CLI_RPCECHO__
 #define __CLI_RPCECHO__
 NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli,
index 19673ab659fa9ea6345a98c5622c8bef576ea105..6ef5f9aae5ddcc23cf221f99ad2ddb59a6ed6b12 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_epmapper.h"
+#include "../librpc/gen_ndr/cli_epmapper.h"
 
 NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli,
                           TALLOC_CTX *mem_ctx,
index 44884fad7ed4ae643954c2f1996157cd20c3f302..cc1d3a9267badbfc5ac21e730c83146e24b3d05a 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_epmapper.h"
+#include "../librpc/gen_ndr/ndr_epmapper.h"
 #ifndef __CLI_EPMAPPER__
 #define __CLI_EPMAPPER__
 NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli,
index 02d8fb2e65105617ac8064d6ec94bda54c0eaf7f..cf441413a795d2384eaa0fd39ee495a0c816ffd2 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_eventlog.h"
+#include "../librpc/gen_ndr/cli_eventlog.h"
 
 NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli,
                                        TALLOC_CTX *mem_ctx,
index 0594a06f59511be393ea3e2a22ce502a905daff6..a1360cbc1651cc5aa02e41db73804dcea72fec2d 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_eventlog.h"
+#include "../librpc/gen_ndr/ndr_eventlog.h"
 #ifndef __CLI_EVENTLOG__
 #define __CLI_EVENTLOG__
 NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli,
index bc8ca5b5f128cf64782eabdfb5c5a6bbaf487fb6..40d7bdf40e9b17e98779821b99e5eb3c4c41c4cb 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_initshutdown.h"
+#include "../librpc/gen_ndr/cli_initshutdown.h"
 
 NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
                                  TALLOC_CTX *mem_ctx,
index e2eb9daabef8c6f45aaa9bfbb0525badd732c001..9a12c5e6fb049b0abb2eeb7dac36445145521867 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_initshutdown.h"
+#include "../librpc/gen_ndr/ndr_initshutdown.h"
 #ifndef __CLI_INITSHUTDOWN__
 #define __CLI_INITSHUTDOWN__
 NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
index e7775b1bfe587e04f52562a2ec9e770c73e03d16..306206fcafd6aa0ed7a608f214581f1a67a9e341 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_lsa.h"
+#include "../librpc/gen_ndr/cli_lsa.h"
 
 NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
                          TALLOC_CTX *mem_ctx,
index 554182c6dba636a51e23e385953712528f18a8f3..8dbd7330b43daca38835937c5495570c3f4d1064 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 #ifndef __CLI_LSARPC__
 #define __CLI_LSARPC__
 NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
index 1ce4e67c56a638ec69eb30d0246249e082074023..39eaf7bfe97b7d7d0240dc960de247d1de389726 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_netlogon.h"
+#include "../librpc/gen_ndr/cli_netlogon.h"
 
 NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli,
                                   TALLOC_CTX *mem_ctx,
index 3fbc00e9dab12eb505a4661364b31d7155afb71a..873f519b7054e9755350b2ea337b3c8766711149 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 #ifndef __CLI_NETLOGON__
 #define __CLI_NETLOGON__
 NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli,
index 0f97970e0b3c1afa365344c19f621c088427d379..0736a027f9adff0e19ae1d1c6f41c1d13929f92f 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_ntsvcs.h"
+#include "../librpc/gen_ndr/cli_ntsvcs.h"
 
 NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli,
                               TALLOC_CTX *mem_ctx,
index fc4a9f4a71870db5eefcef5d50368c5469ef8e48..c97ced8bf91b979017eaa6bdaba115e9869bb28c 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_ntsvcs.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs.h"
 #ifndef __CLI_NTSVCS__
 #define __CLI_NTSVCS__
 NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli,
index 7edb790286d91acf18fdcb2fd1c7e44cd6a8e263..9099d0b35d74809c0873c5fbc9628f692556b36f 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_samr.h"
+#include "../librpc/gen_ndr/cli_samr.h"
 
 NTSTATUS rpccli_samr_Connect(struct rpc_pipe_client *cli,
                             TALLOC_CTX *mem_ctx,
index b57d63334e35723dc55d630aa73409974b5004b1..7bfe71b28003f4bc3ed1ddb1d593c9a17665a9aa 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_samr.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
 #ifndef __CLI_SAMR__
 #define __CLI_SAMR__
 NTSTATUS rpccli_samr_Connect(struct rpc_pipe_client *cli,
index eb81652a1ddb2e36528d35fec2cbcf2068433d21..1428d3d88802cd3a910e1d96c63b97caedf9011b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_srvsvc.h"
+#include "../librpc/gen_ndr/cli_srvsvc.h"
 
 NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli,
                                      TALLOC_CTX *mem_ctx,
index 44b50e7d1949ff40f8c6d597b2c6c08f6cef4e02..f57bf5d37866f30a986f132793506775f5348d69 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_srvsvc.h"
+#include "../librpc/gen_ndr/ndr_srvsvc.h"
 #ifndef __CLI_SRVSVC__
 #define __CLI_SRVSVC__
 NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli,
index 9f11a40d7edaf4276ea618add7c519eb6a52d959..3288e4a1ec76144b8c2cec8cb12e6d4fbc0ada5b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_svcctl.h"
+#include "../librpc/gen_ndr/cli_svcctl.h"
 
 NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli,
                                          TALLOC_CTX *mem_ctx,
index 78c9bf40d879b228e74e9e31bcfe69ec2897fb82..fbd15b32a5ce27d80a9a2ec0f2a54cbf54b7c1c7 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_svcctl.h"
+#include "../librpc/gen_ndr/ndr_svcctl.h"
 #ifndef __CLI_SVCCTL__
 #define __CLI_SVCCTL__
 NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli,
index 17b7281c7218964e14fe4eec2f385c95488443df..58eff22966c9e4aa2ba98156fd84c9b5bf2ec66b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_winreg.h"
+#include "../librpc/gen_ndr/cli_winreg.h"
 
 NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli,
                                TALLOC_CTX *mem_ctx,
index fb27bce9d20bcb1021f53ba5f1d983b67259fab9..a5a5fa2e48cbf34de72c8cf92a620ca5dd4ca2c9 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_winreg.h"
+#include "../librpc/gen_ndr/ndr_winreg.h"
 #ifndef __CLI_WINREG__
 #define __CLI_WINREG__
 NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli,
index b82e95311f619dc6d9cb7ab494139a451bfda8b9..628f7f973fe4b7c37accd2c57b0478e72b9245d8 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/cli_wkssvc.h"
+#include "../librpc/gen_ndr/cli_wkssvc.h"
 
 NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli,
                                       TALLOC_CTX *mem_ctx,
index 0d360abfeb8456ab83ff611002e74326bbb5b27d..2427099f0ec5448bd155452f19e4cad67ee47b35 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_wkssvc.h"
+#include "../librpc/gen_ndr/ndr_wkssvc.h"
 #ifndef __CLI_WKSSVC__
 #define __CLI_WKSSVC__
 NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli,
index 75a0d4b7552960e7ad6fc6b1a7ac29b360b868ff..6e36cb31ecf77a473fc51d9280a36753de335fc0 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_dfs.h"
+#include "../librpc/gen_ndr/ndr_dfs.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_dfs_ManagerVersion(struct ndr_push *ndr, int ndr_flags, enum dfs_ManagerVersion r)
index a7c66f96936c848f8ab82d03c040c795a1c77c05..fd0ebf58de21c5a60ac9b0780fe6100e050a0b21 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/dfs.h"
+#include "../librpc/gen_ndr/dfs.h"
 
 #ifndef _HEADER_NDR_netdfs
 #define _HEADER_NDR_netdfs
index d965e40bd27cfbaef506b05748f07720618985be..c868c39ecd02e5f0242c95304125786899e96c98 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_drsblobs.h"
+#include "../librpc/gen_ndr/ndr_drsblobs.h"
 
 #include "librpc/gen_ndr/ndr_drsuapi.h"
 #include "librpc/gen_ndr/ndr_misc.h"
index 8a5298874a237d6d8e6683d3c58c8c0ce059f578..09c4b7ff61d4fa15b42381d20b1e7b97c4a466e5 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/drsblobs.h"
+#include "../librpc/gen_ndr/drsblobs.h"
 
 #ifndef _HEADER_NDR_drsblobs
 #define _HEADER_NDR_drsblobs
index c2a4aee180c859a5003a03a75822ac1a5fb88052..3ef5b8024d2d98e2e309c81c7932674bea9054e2 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "../librpc/gen_ndr/ndr_drsuapi.h"
 
 #include "librpc/gen_ndr/ndr_security.h"
 #include "librpc/gen_ndr/ndr_misc.h"
index 4b5ead467f156edae5a10e495a6fc405533bb2df..168854b3378f8aa49d24bad346dfcabd016c6280 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/drsuapi.h"
+#include "../librpc/gen_ndr/drsuapi.h"
 
 #ifndef _HEADER_NDR_drsuapi
 #define _HEADER_NDR_drsuapi
index 0c02784db826080aefec03753d9088d2bfde11a8..7ce80ddab2a870190b0d317fbfd332dc5db6d7f0 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_dssetup.h"
+#include "../librpc/gen_ndr/ndr_dssetup.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_dssetup_DsRole(struct ndr_push *ndr, int ndr_flags, enum dssetup_DsRole r)
index 103ad116a3e0c43e5eca0660c36e93695ae5b5f8..f3ebe856b7a5e782cc6a65377d7dc78e27a6ce4e 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/dssetup.h"
+#include "../librpc/gen_ndr/dssetup.h"
 
 #ifndef _HEADER_NDR_dssetup
 #define _HEADER_NDR_dssetup
index 99556e1bffa9c9644833ae1b3fccb927d701ca25..e555c2f7f9c35f0854ab5d69fcd65fe995b01664 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_echo.h"
+#include "../librpc/gen_ndr/ndr_echo.h"
 
 _PUBLIC_ enum ndr_err_code ndr_push_echo_info1(struct ndr_push *ndr, int ndr_flags, const struct echo_info1 *r)
 {
index c1c77165737b4da94dd2c1df2e59e68d63b7fcaa..06686497553c56955409cc3a2f4306778d2d76bb 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/echo.h"
+#include "../librpc/gen_ndr/echo.h"
 
 #ifndef _HEADER_NDR_rpcecho
 #define _HEADER_NDR_rpcecho
index 0f1005dda71bcdb00590bd623c0f199023aacb00..e06bf7f3aac99278e5ee6a009e863a8c8a47183c 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_epmapper.h"
+#include "../librpc/gen_ndr/ndr_epmapper.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_epm_protocol(struct ndr_push *ndr, int ndr_flags, enum epm_protocol r)
index 0fac75e0af568d0d8bc2d0b2163e9d11e4fc13ed..797c68d93e4332339db26172ac4ec4124c712b70 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/epmapper.h"
+#include "../librpc/gen_ndr/epmapper.h"
 
 #ifndef _HEADER_NDR_epmapper
 #define _HEADER_NDR_epmapper
index 12fa9fcec485e5f9a410d9fe6e24985a4a20ffca..fdef52f6af85ca90c50bdfe8c524c32031e9c9a9 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_eventlog.h"
+#include "../librpc/gen_ndr/ndr_eventlog.h"
 
 #include "librpc/gen_ndr/ndr_lsa.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 6002f35a7dc4067a72f28f164eab5b89bc78bf7a..c705290aefe995da39295b7028080fd4d213a3b4 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/eventlog.h"
+#include "../librpc/gen_ndr/eventlog.h"
 
 #ifndef _HEADER_NDR_eventlog
 #define _HEADER_NDR_eventlog
index 62a19af3a262a340e9ff4287cc74233b75117182..718f79cf6a647b4f49fba5133d4497489c20fdab 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_initshutdown.h"
+#include "../librpc/gen_ndr/ndr_initshutdown.h"
 
 #include "librpc/gen_ndr/ndr_lsa.h"
 static enum ndr_err_code ndr_push_initshutdown_Init(struct ndr_push *ndr, int flags, const struct initshutdown_Init *r)
index 2cb5a530b03b8b663025a0f24e4200af0a8119d4..c3f2f70280064942cba35a1610e72a4998fde28e 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/initshutdown.h"
+#include "../librpc/gen_ndr/initshutdown.h"
 
 #ifndef _HEADER_NDR_initshutdown
 #define _HEADER_NDR_initshutdown
index 125fb7eb77f67fab9834fb6d13a880f0ed1c8be0..06abe91fc34b2eecd6bacfae2f3a173cba68b7fd 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_krb5pac.h"
+#include "../librpc/gen_ndr/ndr_krb5pac.h"
 
 #include "librpc/gen_ndr/ndr_security.h"
 #include "librpc/gen_ndr/ndr_netlogon.h"
index bf09e3fad561ed812583f918a01e32922baf5b90..8ab6b6a0fa2f416d579873b3248bdeb8e6e88a41 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/krb5pac.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 
 #ifndef _HEADER_NDR_krb5pac
 #define _HEADER_NDR_krb5pac
index 926903865e64a0cb6ed3e65866d56724ec0f5514..9169adfe81e238d03e6c009788106620c7be8d3f 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 2f623c2ba97351bfbbde3a157545fcbf8dfbfaf8..90817b543667752331c10cb4e9fd1079d259929e 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/lsa.h"
+#include "../librpc/gen_ndr/lsa.h"
 
 #ifndef _HEADER_NDR_lsarpc
 #define _HEADER_NDR_lsarpc
index 971cbdac241c2d5b11aef037fa24236c69bfefef..dbe5cdd60edc95e14575dce69b1ba6908ec0de48 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_misc.h"
+#include "../librpc/gen_ndr/ndr_misc.h"
 
 _PUBLIC_ enum ndr_err_code ndr_push_GUID(struct ndr_push *ndr, int ndr_flags, const struct GUID *r)
 {
index b907af0605fb172af86c201e05dfa71557e028c1..101aa8ad84bba5ed757da4a745ee58de81549b7f 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/misc.h"
+#include "../librpc/gen_ndr/misc.h"
 
 #ifndef _HEADER_NDR_misc
 #define _HEADER_NDR_misc
index 69412bf427918a616589ad38dfba7686e16b3fef..2377964570afa7f4e7654517905fdfd39869ebe7 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_named_pipe_auth.h"
+#include "../librpc/gen_ndr/ndr_named_pipe_auth.h"
 
 #include "librpc/gen_ndr/ndr_netlogon.h"
 static enum ndr_err_code ndr_push_named_pipe_auth_req_info(struct ndr_push *ndr, int ndr_flags, const union named_pipe_auth_req_info *r)
index fbef9d5f1c1bfe064b24c863fb7230209d2d14ce..2a4f689ab972c545fd640dd223aa4a86a605abb1 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/named_pipe_auth.h"
+#include "../librpc/gen_ndr/named_pipe_auth.h"
 
 #ifndef _HEADER_NDR_named_pipe_auth
 #define _HEADER_NDR_named_pipe_auth
index c02b539da52708f310af440c33d581b82de5f25c..435bebe091c4d79370a7496de23acb77ea1e9756 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_nbt.h"
+#include "../librpc/gen_ndr/ndr_nbt.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 1a0ca0c302422ef1cb9d8b85a0804e9f982147e0..c7eb8f78a021c9f2e5488270043585938c03597a 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/nbt.h"
+#include "../librpc/gen_ndr/nbt.h"
 
 #ifndef _HEADER_NDR_nbt
 #define _HEADER_NDR_nbt
index 81f8ddcab9faabb8faca6fdcc362fb0933389252..42bd09cedc6d159372ced5d39b6b16318408008b 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
@@ -6267,7 +6267,6 @@ static enum ndr_err_code ndr_push_netr_ChangeLogObject(struct ndr_push *ndr, int
                int level = ndr_push_get_switch_value(ndr, r);
                switch (level) {
                        case NETR_CHANGELOG_SID_INCLUDED:
-                               NDR_CHECK(ndr_push_dom_sid(ndr, NDR_BUFFERS, &r->object_sid));
                        break;
 
                        case NETR_CHANGELOG_NAME_INCLUDED:
@@ -6308,7 +6307,6 @@ static enum ndr_err_code ndr_pull_netr_ChangeLogObject(struct ndr_pull *ndr, int
        if (ndr_flags & NDR_BUFFERS) {
                switch (level) {
                        case NETR_CHANGELOG_SID_INCLUDED:
-                               NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_BUFFERS, &r->object_sid));
                        break;
 
                        case NETR_CHANGELOG_NAME_INCLUDED:
index 5858906c1c8c778fb6d7db059684696b222c2f6a..aab691e5044fcdb7ac5a94e4cbda27bcca8d2540 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/netlogon.h"
+#include "../librpc/gen_ndr/netlogon.h"
 
 #ifndef _HEADER_NDR_netlogon
 #define _HEADER_NDR_netlogon
index ced6fb776746293953016d15540b0b0d6bf54376..ef2ecc1d7d9a4d7dc41410a878b8e397760ba2d4 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_ntsvcs.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs.h"
 
 #include "librpc/gen_ndr/ndr_winreg.h"
 static enum ndr_err_code ndr_push_PNP_HwProfInfo(struct ndr_push *ndr, int ndr_flags, const struct PNP_HwProfInfo *r)
index 0e3b6b91c4d0ae2a71e5281b71d922580dc3cee2..b70c3836786d53bff156bfd9763756dfcda81c59 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/ntsvcs.h"
+#include "../librpc/gen_ndr/ntsvcs.h"
 
 #ifndef _HEADER_NDR_ntsvcs
 #define _HEADER_NDR_ntsvcs
index 83db0faaef9c90473a3d115ff406faf0099f19d6..83b091608eac61b92294e0a7ab8cefcbdc0f95e2 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_samr.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
index 64c60ee7043b9db98a1fd388322b3e155ddc61a7..038fcf6ede08aa813b956ecbe34449a0eba53dfc 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/samr.h"
+#include "../librpc/gen_ndr/samr.h"
 
 #ifndef _HEADER_NDR_samr
 #define _HEADER_NDR_samr
index b4d221ac90ff0c871dd2b7e22580bfe46174de1a..27aef3e06ac0222826996a450411ee2c7122276f 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_security.h"
+#include "../librpc/gen_ndr/ndr_security.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 _PUBLIC_ enum ndr_err_code ndr_push_security_ace_flags(struct ndr_push *ndr, int ndr_flags, uint8_t r)
index 41c66aa65bfb1a754925295839db7172ef7ab81a..8cf7bf3eea4f396321aaea7e29ac2035d418a825 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/security.h"
+#include "../librpc/gen_ndr/security.h"
 
 #ifndef _HEADER_NDR_security
 #define _HEADER_NDR_security
index 125542d14a9a97a208b5dab7899ec3050c86c9c4..31d2fe2deb87cd1c5cf3d6a3605465a221096415 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_srvsvc.h"
+#include "../librpc/gen_ndr/ndr_srvsvc.h"
 
 #include "librpc/gen_ndr/ndr_security.h"
 #include "librpc/gen_ndr/ndr_svcctl.h"
index 126680cad03c1a80fadd86d624da5890a2d591c9..eba3ec990c88a284b63a256a45468e2e3d5a6e79 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/srvsvc.h"
+#include "../librpc/gen_ndr/srvsvc.h"
 
 #ifndef _HEADER_NDR_srvsvc
 #define _HEADER_NDR_srvsvc
index 2bccde9ba03475bd645c8c51931d79ca266b6dd1..95da3577155806a5bcf571d08f1703a933b50a4e 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_svcctl.h"
+#include "../librpc/gen_ndr/ndr_svcctl.h"
 
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 8d7739a7db4387a525650444df05622c490edd9d..06b807bc7dc2cfcd04821d35af02141671565bb9 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/svcctl.h"
+#include "../librpc/gen_ndr/svcctl.h"
 
 #ifndef _HEADER_NDR_svcctl
 #define _HEADER_NDR_svcctl
index 791d11103d3c7c706681754cc1c741bd66686cf3..d37cf8fcde2148558fdad4b6c4a0e8168b1de2a5 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_winreg.h"
+#include "../librpc/gen_ndr/ndr_winreg.h"
 
 #include "librpc/gen_ndr/ndr_lsa.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 8dea3ae273e27055ad91136ff0ebb16f4790bb20..bc6cad1bcb9095f5e0f73616db7851cbdfa138c7 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/winreg.h"
+#include "../librpc/gen_ndr/winreg.h"
 
 #ifndef _HEADER_NDR_winreg
 #define _HEADER_NDR_winreg
index e494f08be01c1794200c68411948e23ae6c00cd2..050aced7f5340aba0e25ff380baffde59b222483 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_wkssvc.h"
+#include "../librpc/gen_ndr/ndr_wkssvc.h"
 
 #include "librpc/gen_ndr/ndr_srvsvc.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
index 0fa4d3f8d460786ed0747159aa961b94cd1e39b1..fa533c60ebf121282697f4d9771952be55bcd9c5 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/wkssvc.h"
+#include "../librpc/gen_ndr/wkssvc.h"
 
 #ifndef _HEADER_NDR_wkssvc
 #define _HEADER_NDR_wkssvc
index 75781d763dcb070126aeff9d3ef1d3dfd5c68b37..d217a00228dd688cc2cb1621205edde571bbde2b 100644 (file)
@@ -1,7 +1,7 @@
 /* parser auto-generated by pidl */
 
 #include "includes.h"
-#include "librpc/gen_ndr/ndr_xattr.h"
+#include "../librpc/gen_ndr/ndr_xattr.h"
 
 #include "librpc/gen_ndr/ndr_security.h"
 static enum ndr_err_code ndr_push_xattr_DosInfo1(struct ndr_push *ndr, int ndr_flags, const struct xattr_DosInfo1 *r)
index c565e8513a5a45b02e24bd79f4a713987feb3759..610d4b32960298850e5e92aac288506f3c640085 100644 (file)
@@ -1,7 +1,7 @@
 /* header auto-generated by pidl */
 
 #include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/xattr.h"
+#include "../librpc/gen_ndr/xattr.h"
 
 #ifndef _HEADER_NDR_xattr
 #define _HEADER_NDR_xattr
index d58272084a4cf9985ed99430d9b1926a2eba2da4..666874fd64354a9a524a9962bfa7d0cf3f1c739e 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_dfs.h"
+#include "../librpc/gen_ndr/srv_dfs.h"
 
 static bool api_dfs_GetManagerVersion(pipes_struct *p)
 {
index e4d7a99c732a9c0a93641e251355647fb95b7565..fe9234b21d01d8e765e2c41b2d0cfd9371777100 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_dfs.h"
+#include "../librpc/gen_ndr/ndr_dfs.h"
 #ifndef __SRV_NETDFS__
 #define __SRV_NETDFS__
 void _dfs_GetManagerVersion(pipes_struct *p, struct dfs_GetManagerVersion *r);
index 62123b826c4defd6f24ea5e795cb25de82014e1d..3c07ad124785567c776cba08c23154c7ed1fe174 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_dssetup.h"
+#include "../librpc/gen_ndr/srv_dssetup.h"
 
 static bool api_dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct *p)
 {
index 3233899eac38f246274bca5dc55f7f8c74907dd8..4122678274214500a5dfd933e1afac80a670c034 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_dssetup.h"
+#include "../librpc/gen_ndr/ndr_dssetup.h"
 #ifndef __SRV_DSSETUP__
 #define __SRV_DSSETUP__
 WERROR _dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct *p, struct dssetup_DsRoleGetPrimaryDomainInformation *r);
index 970398dc715faff7ff294fc6f5a25924faca173e..64360792994e638fa4e8457b76b5f658b045d544 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_echo.h"
+#include "../librpc/gen_ndr/srv_echo.h"
 
 static bool api_echo_AddOne(pipes_struct *p)
 {
index c3b0336652cf6fc09a3f9f5a49026deffe9e2b17..cb6dd6ac46566e5da9a7edb1ee113de352e225b2 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_echo.h"
+#include "../librpc/gen_ndr/ndr_echo.h"
 #ifndef __SRV_RPCECHO__
 #define __SRV_RPCECHO__
 void _echo_AddOne(pipes_struct *p, struct echo_AddOne *r);
index a31d89b8e87b62de3a20c9465b2fd0c544332282..68e4a4139386a9543a9f2f0c7b500a9aabd06b74 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_epmapper.h"
+#include "../librpc/gen_ndr/srv_epmapper.h"
 
 static bool api_epm_Insert(pipes_struct *p)
 {
index e0d0105b787c140a10656223a10e7179e405056c..137d9082403b4d2a7a963ceae2de4a4990f2f217 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_epmapper.h"
+#include "../librpc/gen_ndr/ndr_epmapper.h"
 #ifndef __SRV_EPMAPPER__
 #define __SRV_EPMAPPER__
 uint32 _epm_Insert(pipes_struct *p, struct epm_Insert *r);
index b9a4a2e9ed183216aceb9578a92610c28addf575..950daa5dd1f175442c42c9972ed81b74a3eafdbb 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_eventlog.h"
+#include "../librpc/gen_ndr/srv_eventlog.h"
 
 static bool api_eventlog_ClearEventLogW(pipes_struct *p)
 {
index 6957c66beb992054a3b4d426fcde72104e6756f3..3293bba507ffa1cbfe0bb9cd048251b35260343d 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_eventlog.h"
+#include "../librpc/gen_ndr/ndr_eventlog.h"
 #ifndef __SRV_EVENTLOG__
 #define __SRV_EVENTLOG__
 NTSTATUS _eventlog_ClearEventLogW(pipes_struct *p, struct eventlog_ClearEventLogW *r);
index 51098074ac14d85a442b2a53e57e9f6e1f289bee..dbbfaaa41a4ee475c472a10d605064a9f8e1dc0b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_initshutdown.h"
+#include "../librpc/gen_ndr/srv_initshutdown.h"
 
 static bool api_initshutdown_Init(pipes_struct *p)
 {
index be3ea25271b8de2e8f4da5cecd25d0ae2efd8d9c..d638131c53e25c83977a017e7b7c084bac643330 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_initshutdown.h"
+#include "../librpc/gen_ndr/ndr_initshutdown.h"
 #ifndef __SRV_INITSHUTDOWN__
 #define __SRV_INITSHUTDOWN__
 WERROR _initshutdown_Init(pipes_struct *p, struct initshutdown_Init *r);
index c30f276800e210a88bda57ec5d4fb1b4c660ef18..9d29f61e091a17181cff0334423ed2038ff7d9e3 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_lsa.h"
+#include "../librpc/gen_ndr/srv_lsa.h"
 
 static bool api_lsa_Close(pipes_struct *p)
 {
index 223ee5e97090a5244f2fb2566a54c812cb23e491..63ea35f8e9400d51c50a2a028cecf83738c39599 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 #ifndef __SRV_LSARPC__
 #define __SRV_LSARPC__
 NTSTATUS _lsa_Close(pipes_struct *p, struct lsa_Close *r);
index 8cb461e94ddd1e32148fb60fc4ebb7ad476fb2ce..40ae09ebc2a54d705128909b347e136421764212 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_netlogon.h"
+#include "../librpc/gen_ndr/srv_netlogon.h"
 
 static bool api_netr_LogonUasLogon(pipes_struct *p)
 {
index cd68d12f1e6cc9011de2d8c15e48d685db6f3389..d56170635544955707f61d27cca482ab967bfc72 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 #ifndef __SRV_NETLOGON__
 #define __SRV_NETLOGON__
 WERROR _netr_LogonUasLogon(pipes_struct *p, struct netr_LogonUasLogon *r);
index 288f3ed5d74fe19d913342d529bb520240d230d3..38fb0bba39dab12b4debc96bed4838d0f697c25b 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_ntsvcs.h"
+#include "../librpc/gen_ndr/srv_ntsvcs.h"
 
 static bool api_PNP_Disconnect(pipes_struct *p)
 {
index c3969b11da392c91b0219f5d6a418b974ef1a022..16f91cde675de96b378ff4c20bcf43363dfe4eb8 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_ntsvcs.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs.h"
 #ifndef __SRV_NTSVCS__
 #define __SRV_NTSVCS__
 WERROR _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
index f4facd2914c32a54d35ac30c6311b4b87bb17c9c..598ec2aabf2effd60bf7b5d95d93574a2f251687 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_samr.h"
+#include "../librpc/gen_ndr/srv_samr.h"
 
 static bool api_samr_Connect(pipes_struct *p)
 {
index 7d5cdd745d4ef7c61400a5a1577e56168d4c7731..1a697f6b3b431ca462564be5b354056676d6b215 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_samr.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
 #ifndef __SRV_SAMR__
 #define __SRV_SAMR__
 NTSTATUS _samr_Connect(pipes_struct *p, struct samr_Connect *r);
index 59f51ba774e44cac11012b78983219226c827f3b..465d9ca31d6ff3ef3643a41807969883ed6c6218 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_srvsvc.h"
+#include "../librpc/gen_ndr/srv_srvsvc.h"
 
 static bool api_srvsvc_NetCharDevEnum(pipes_struct *p)
 {
index 1e1ebb1904adcbb85eae9e838d95cfd5997e0d61..c71e715a227176687636e59c21001b5f81f9c1e3 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_srvsvc.h"
+#include "../librpc/gen_ndr/ndr_srvsvc.h"
 #ifndef __SRV_SRVSVC__
 #define __SRV_SRVSVC__
 WERROR _srvsvc_NetCharDevEnum(pipes_struct *p, struct srvsvc_NetCharDevEnum *r);
index 5b30bf00f7860833c53afab2d188e6460d35f5c3..46e2b03d3c5d97717f353fbaa5a53cd16b68b401 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_svcctl.h"
+#include "../librpc/gen_ndr/srv_svcctl.h"
 
 static bool api_svcctl_CloseServiceHandle(pipes_struct *p)
 {
index ca63ebe970803f6c521ab687172622e40e1e3d3c..80a9ccb01fed341825ee5039c0655fca25d5594d 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_svcctl.h"
+#include "../librpc/gen_ndr/ndr_svcctl.h"
 #ifndef __SRV_SVCCTL__
 #define __SRV_SVCCTL__
 WERROR _svcctl_CloseServiceHandle(pipes_struct *p, struct svcctl_CloseServiceHandle *r);
index ac70b41219b36650d645f0ad243c2c617f68e416..a97391480ee9cad7ca72862afe394ba02da63f51 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_winreg.h"
+#include "../librpc/gen_ndr/srv_winreg.h"
 
 static bool api_winreg_OpenHKCR(pipes_struct *p)
 {
index decfb2589d241fc184b9f0f3c4629a197610a979..cedbef3e88ae0a292cb9db954e057014516bdf0b 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_winreg.h"
+#include "../librpc/gen_ndr/ndr_winreg.h"
 #ifndef __SRV_WINREG__
 #define __SRV_WINREG__
 WERROR _winreg_OpenHKCR(pipes_struct *p, struct winreg_OpenHKCR *r);
index 61a5be081f84c990b02ef0958c0a9b7a3b79cf04..d74c8bc97079377076d323b725494c14ce1a4232 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include "includes.h"
-#include "librpc/gen_ndr/srv_wkssvc.h"
+#include "../librpc/gen_ndr/srv_wkssvc.h"
 
 static bool api_wkssvc_NetWkstaGetInfo(pipes_struct *p)
 {
index f1d0b94c2657861a47b86a8015aa47aba146c0eb..b1bda66134b990a3af7d0762f4e0217e3bd2052d 100644 (file)
@@ -1,4 +1,4 @@
-#include "librpc/gen_ndr/ndr_wkssvc.h"
+#include "../librpc/gen_ndr/ndr_wkssvc.h"
 #ifndef __SRV_WKSSVC__
 #define __SRV_WKSSVC__
 WERROR _wkssvc_NetWkstaGetInfo(pipes_struct *p, struct wkssvc_NetWkstaGetInfo *r);
index 1571e2baa70ca7aa3d5b11670d4010958f2148eb..d33a719f368b35f0a68b3fcbfa48a4eaf85b1aca 100644 (file)
@@ -1228,7 +1228,7 @@ modules:: SHOWFLAGS $(MODULES)
 ## Perl IDL Compiler
 samba3-idl::
        @PIDL_OUTPUTDIR="../librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" PIDL="../pidl/pidl" \
-        srcdir="$(srcdir)" $(srcdir)/script/build_idl.sh ../librpc/idl/lsa.idl \
+        srcdir="$(srcdir)" ../librpc/build_idl.sh ../librpc/idl/lsa.idl \
                ../librpc/idl/dfs.idl ../librpc/idl/echo.idl ../librpc/idl/winreg.idl \
                ../librpc/idl/initshutdown.idl ../librpc/idl/srvsvc.idl ../librpc/idl/svcctl.idl \
                ../librpc/idl/eventlog.idl ../librpc/idl/wkssvc.idl ../librpc/idl/netlogon.idl \
@@ -1245,7 +1245,7 @@ samba3-idl::
 
 NDR_TABLES = librpc/gen_ndr/tables.c
 
-ndr-tables:: librpc/gen_ndr/*.h
+ndr-tables:: librpc/gen_ndr/*.h ../librpc/gen_ndr/*.h
        @echo "Generating $(NDR_TABLES)"
        @$(PERL) ../librpc/tables.pl $^ > $(NDR_TABLES)
 
diff --git a/source3/librpc/gen_ndr/tables.c b/source3/librpc/gen_ndr/tables.c
new file mode 100644 (file)
index 0000000..09071f9
--- /dev/null
@@ -0,0 +1,151 @@
+
+/* Automatically generated by tables.pl. DO NOT EDIT */
+
+#include "includes.h"
+#include "librpc/ndr/libndr.h"
+#include "librpc/ndr/ndr_table.h"
+#include "../librpc/gen_ndr/ndr_dfs_c.h"
+#include "../librpc/gen_ndr/ndr_dfs.h"
+#include "../librpc/gen_ndr/ndr_drsblobs_c.h"
+#include "../librpc/gen_ndr/ndr_drsblobs.h"
+#include "../librpc/gen_ndr/ndr_drsuapi_c.h"
+#include "../librpc/gen_ndr/ndr_drsuapi.h"
+#include "../librpc/gen_ndr/ndr_dssetup_c.h"
+#include "../librpc/gen_ndr/ndr_dssetup.h"
+#include "../librpc/gen_ndr/ndr_echo_c.h"
+#include "../librpc/gen_ndr/ndr_echo.h"
+#include "../librpc/gen_ndr/ndr_epmapper_c.h"
+#include "../librpc/gen_ndr/ndr_epmapper.h"
+#include "../librpc/gen_ndr/ndr_eventlog_c.h"
+#include "../librpc/gen_ndr/ndr_eventlog.h"
+#include "../librpc/gen_ndr/ndr_initshutdown_c.h"
+#include "../librpc/gen_ndr/ndr_initshutdown.h"
+#include "../librpc/gen_ndr/ndr_krb5pac_c.h"
+#include "../librpc/gen_ndr/ndr_krb5pac.h"
+#include "../librpc/gen_ndr/ndr_lsa_c.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_netlogon_c.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs_c.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs.h"
+#include "../librpc/gen_ndr/ndr_samr_c.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
+#include "../librpc/gen_ndr/ndr_srvsvc_c.h"
+#include "../librpc/gen_ndr/ndr_srvsvc.h"
+#include "../librpc/gen_ndr/ndr_svcctl_c.h"
+#include "../librpc/gen_ndr/ndr_svcctl.h"
+#include "../librpc/gen_ndr/ndr_winreg_c.h"
+#include "../librpc/gen_ndr/ndr_winreg.h"
+#include "../librpc/gen_ndr/ndr_wkssvc_c.h"
+#include "../librpc/gen_ndr/ndr_wkssvc.h"
+
+NTSTATUS ndr_table_register_builtin_tables(void)
+{
+       NTSTATUS status;
+
+       status = ndr_table_register(&ndr_table_netdfs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_netdfs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_drsblobs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_drsblobs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_drsuapi);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_drsuapi);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_dssetup);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_dssetup);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_rpcecho);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_rpcecho);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_epmapper);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_epmapper);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_eventlog);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_eventlog);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_initshutdown);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_initshutdown);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_krb5pac);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_krb5pac);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_lsarpc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_lsarpc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_netlogon);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_netlogon);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_ntsvcs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_ntsvcs);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_samr);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_samr);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_srvsvc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_srvsvc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_svcctl);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_svcctl);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_winreg);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_winreg);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_wkssvc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+       status = ndr_table_register(&ndr_table_wkssvc);
+       if (NT_STATUS_IS_ERR(status)) return status;
+
+
+       
+       return NT_STATUS_OK;
+}
index 4a34c1c998d981d48f0194341748ec1e92c11d94..e290b851f381916a2c4f7757418aa8d543a73d02 100644 (file)
@@ -2684,7 +2684,7 @@ SWIGINTERN ldb_dn *new_ldb_dn(ldb *ldb_ctx,char const *str){
                we do it this way... */
             talloc_steal(NULL, ret);
 
-            if (ret == NULL)
+            if (ret == NULL || !ldb_dn_validate(ret))
                 SWIG_exception(SWIG_ValueError, 
                                 "unable to parse dn string");
 fail: