struct ldap_SearchRequest;
-/* used by netlogon DCE/RPC server */
-NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
- TALLOC_CTX *mem_ctx,
- const char *domain,
- const char *netbios_domain,
- struct dom_sid *domain_sid,
- const char *domain_guid,
- const char *user,
- uint32_t acct_control,
- const char *src_address,
- uint32_t version,
- struct loadparm_context *lp_ctx,
- struct netlogon_samlogon_response *netlogon,
- bool fill_on_blank_request);
-
-NTSTATUS parse_netlogon_request(struct ldb_parse_tree *tree,
- struct loadparm_context *lp_ctx,
- TALLOC_CTX *mem_ctx,
- const char **domain,
- const char **host,
- const char **user,
- const char **domain_guid,
- struct dom_sid **domain_sid,
- int *acct_control,
- int *version);
-
#include "cldap_server/proto.h"
bld.SAMBA_SUBSYSTEM('CLDAPD',
- source='netlogon.c rootdse.c',
+ source='rootdse.c',
autoproto='proto.h',
deps='cli_cldap ldbsamba'
)
#include <ldb_errors.h>
#include "lib/events/events.h"
#include "smbd/service_task.h"
-#include "cldap_server/cldap_server.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "libcli/ldap/ldap_ndr.h"
#include "libcli/security/security.h"
#include "dsdb/samdb/samdb.h"
+#include "dsdb/samdb/ldb_modules/util.h"
#include "auth/auth.h"
#include "ldb_wrap.h"
#include "system/network.h"
struct dsdb_fsmo_extended_op;
struct security_descriptor;
struct dom_sid;
+struct netlogon_samlogon_response;
#include "librpc/gen_ndr/misc.h"
#include "dsdb/samdb/ldb_modules/util_proto.h"
#include "dsdb/common/util.h"
+#include "../libcli/netlogon/netlogon.h"
/* extend the dsdb_request_add_controls() flags for module
specific functions */
grouping_library=True)
bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
- source='util.c acl_util.c schema_util.c',
+ source='util.c acl_util.c schema_util.c netlogon.c',
autoproto='util_proto.h',
deps='ldb ndr samdb-common samba-security'
)
init_function='ldb_rootdse_module_init',
module_init_name='ldb_init_module',
internal_module=False,
- deps='talloc samdb MESSAGING samba-security DSDB_MODULE_HELPERS RPC_NDR_IRPC CLDAPD'
+ deps='talloc samdb MESSAGING samba-security DSDB_MODULE_HELPERS RPC_NDR_IRPC'
)
#include "auth/auth.h"
#include "param/param.h"
#include "smbd/service_task.h"
-#include "cldap_server/cldap_server.h"
+#include "dsdb/samdb/ldb_modules/util.h"
#include "libcli/security/security.h"
#include "nbt_server/dgram/proto.h"
bld.SAMBA_SUBSYSTEM('NBTD_DGRAM',
source='dgram/request.c dgram/netlogon.c dgram/browse.c',
autoproto='dgram/proto.h',
- deps='LIBCLI_DGRAM CLDAPD',
+ deps='LIBCLI_DGRAM DSDB_MODULE_HELPERS',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
#include "lib/messaging/irpc.h"
#include "librpc/gen_ndr/ndr_irpc_c.h"
#include "../libcli/ldap/ldap_ndr.h"
-#include "cldap_server/cldap_server.h"
+#include "dsdb/samdb/ldb_modules/util.h"
#include "lib/tsocket/tsocket.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
#include "librpc/gen_ndr/ndr_irpc.h"
source='netlogon/dcerpc_netlogon.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_netlogon_init',
- deps='DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig CLDAPD'
+ deps='DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig DSDB_MODULE_HELPERS'
)