dns: Use new DNS debugclass in DNS server
[kai/samba.git] / source4 / cldap_server / cldap_server.h
1 /* 
2    Unix SMB/CIFS implementation.
3
4    CLDAP server structures
5
6    Copyright (C) Andrew Tridgell        2005
7    
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.
12    
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.
17    
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/>.
20 */
21
22 #include "libcli/cldap/cldap.h"
23 #include "libcli/ldap/libcli_ldap.h"
24
25 /*
26   top level context structure for the cldap server
27 */
28 struct cldapd_server {
29         struct task_server *task;
30         struct ldb_context *samctx;
31 };
32
33 struct ldap_SearchRequest;
34
35 /* used by netlogon DCE/RPC server */
36 NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
37                                          TALLOC_CTX *mem_ctx,
38                                          const char *domain,
39                                          const char *netbios_domain,
40                                          struct dom_sid *domain_sid,
41                                          const char *domain_guid,
42                                          const char *user,
43                                          uint32_t acct_control,
44                                          const char *src_address,
45                                          uint32_t version,
46                                          struct loadparm_context *lp_ctx,
47                                          struct netlogon_samlogon_response *netlogon,
48                                          bool fill_on_blank_request);
49
50 #include "cldap_server/proto.h"