s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
[Samba/ekacnet.git] / source4 / cldap_server / cldap_server.h
blob2eaf59401f50da47f59f36065c4c20b6b05eed20
1 /*
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"
25 top level context structure for the cldap server
27 struct cldapd_server {
28 struct task_server *task;
29 struct ldb_context *samctx;
32 struct ldap_SearchRequest;
34 /* used by netlogon DCE/RPC server */
35 NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
36 TALLOC_CTX *mem_ctx,
37 const char *domain,
38 const char *netbios_domain,
39 struct dom_sid *domain_sid,
40 const char *domain_guid,
41 const char *user,
42 uint32_t acct_control,
43 const char *src_address,
44 uint32_t version,
45 struct loadparm_context *lp_ctx,
46 struct netlogon_samlogon_response *netlogon);
48 #include "cldap_server/proto.h"