diff options
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/drsuapi/addentry.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/drsuapi/dcesrv_drsuapi.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/drsuapi/drsutil.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/drsuapi/updaterefs.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/winreg/rpc_winreg.c | 2 | ||||
-rw-r--r-- | source4/rpc_server/wscript_build | 6 |
8 files changed, 10 insertions, 4 deletions
diff --git a/source4/rpc_server/drsuapi/addentry.c b/source4/rpc_server/drsuapi/addentry.c index bb254cb3ee..c4f33d7d4f 100644 --- a/source4/rpc_server/drsuapi/addentry.c +++ b/source4/rpc_server/drsuapi/addentry.c @@ -28,6 +28,7 @@ #include "rpc_server/drsuapi/dcesrv_drsuapi.h" #include "librpc/gen_ndr/ndr_drsuapi.h" #include "libcli/security/security.h" +#include "libcli/security/session.h" /* add special SPNs needed for DRS replication to machine accounts when diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c index 7b48521a6d..c6faf75ad5 100644 --- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c +++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c @@ -27,6 +27,7 @@ #include "dsdb/samdb/samdb.h" #include "rpc_server/drsuapi/dcesrv_drsuapi.h" #include "libcli/security/security.h" +#include "libcli/security/session.h" #include "auth/auth.h" #include "param/param.h" #include "lib/messaging/irpc.h" diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c index 0a4bd1ffcc..41f300bbed 100644 --- a/source4/rpc_server/drsuapi/drsutil.c +++ b/source4/rpc_server/drsuapi/drsutil.c @@ -23,6 +23,7 @@ #include "rpc_server/dcerpc_server.h" #include "dsdb/samdb/samdb.h" #include "libcli/security/security.h" +#include "libcli/security/session.h" #include "param/param.h" #include "auth/session.h" diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 453247279a..0f6c08d6e2 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -31,6 +31,7 @@ #include "rpc_server/dcerpc_server_proto.h" #include "../libcli/drsuapi/drsuapi.h" #include "libcli/security/security.h" +#include "libcli/security/session.h" #include "lib/util/binsearch.h" #include "lib/util/tsort.h" #include "auth/session.h" diff --git a/source4/rpc_server/drsuapi/updaterefs.c b/source4/rpc_server/drsuapi/updaterefs.c index a089586d24..649980763e 100644 --- a/source4/rpc_server/drsuapi/updaterefs.c +++ b/source4/rpc_server/drsuapi/updaterefs.c @@ -23,6 +23,7 @@ #include "rpc_server/dcerpc_server.h" #include "dsdb/samdb/samdb.h" #include "rpc_server/drsuapi/dcesrv_drsuapi.h" +#include "libcli/security/session.h" #include "libcli/security/security.h" #include "auth/session.h" #include "librpc/gen_ndr/ndr_drsuapi.h" diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 8a50588f58..2e4373471c 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -30,6 +30,7 @@ #include "../lib/crypto/crypto.h" #include "lib/util/tsort.h" #include "dsdb/common/util.h" +#include "libcli/security/session.h" /* this type allows us to distinguish handle types diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c index a39a7d1483..6007686a56 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -25,7 +25,7 @@ #include "lib/registry/registry.h" #include "librpc/gen_ndr/ndr_winreg.h" #include "librpc/gen_ndr/ndr_security.h" -#include "libcli/security/security.h" +#include "libcli/security/session.h" enum handle_types { HTYPE_REGVAL, HTYPE_REGKEY }; diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build index 0d630a302a..a041003f5e 100644 --- a/source4/rpc_server/wscript_build +++ b/source4/rpc_server/wscript_build @@ -71,7 +71,7 @@ bld.SAMBA_MODULE('dcerpc_winreg', source='winreg/rpc_winreg.c', subsystem='dcerpc_server', init_function='dcerpc_server_winreg_init', - deps='registry NDR_STANDARD', + deps='registry NDR_STANDARD LIBSECURITY_SESSION', internal_module=True ) @@ -89,7 +89,7 @@ bld.SAMBA_MODULE('dcerpc_lsarpc', autoproto='lsa/proto.h', subsystem='dcerpc_server', init_function='dcerpc_server_lsa_init', - deps='SAMDB DCERPC_COMMON NDR_STANDARD LIBCLI_AUTH NDR_DSSETUP com_err' + deps='SAMDB DCERPC_COMMON NDR_STANDARD LIBCLI_AUTH NDR_DSSETUP com_err LIBSECURITY_SESSION' ) @@ -106,7 +106,7 @@ bld.SAMBA_MODULE('dcerpc_drsuapi', source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c', subsystem='dcerpc_server', init_function='dcerpc_server_drsuapi_init', - deps='SAMDB DCERPC_COMMON NDR_DRSUAPI' + deps='SAMDB DCERPC_COMMON NDR_DRSUAPI LIBSECURITY_SESSION' ) |