2 Unix SMB/CIFS implementation.
4 CLDAP server structures
6 Copyright (C) Andrew Tridgell 2005
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "libcli/cldap/cldap.h"
23 #include "libcli/ldap/libcli_ldap.h"
26 top level context structure for the cldap server
28 struct cldapd_server
{
29 struct task_server
*task
;
30 struct ldb_context
*samctx
;
33 struct ldap_SearchRequest
;
35 /* used by netlogon DCE/RPC server */
36 NTSTATUS
fill_netlogon_samlogon_response(struct ldb_context
*sam_ctx
,
39 const char *netbios_domain
,
40 struct dom_sid
*domain_sid
,
41 const char *domain_guid
,
43 uint32_t acct_control
,
44 const char *src_address
,
46 struct loadparm_context
*lp_ctx
,
47 struct netlogon_samlogon_response
*netlogon
,
48 bool fill_on_blank_request
);
50 #include "cldap_server/proto.h"