source: trunk/server/source3/libads/cldap.h@ 823

Last change on this file since 823 was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.4 KB
Line 
1/*
2 Samba Unix/Linux SMB client library
3 net ads cldap functions
4 Copyright (C) 2001 Andrew Tridgell (tridge@samba.org)
5 Copyright (C) 2003 Jim McDonough (jmcd@us.ibm.com)
6 Copyright (C) 2008 Guenther Deschner (gd@samba.org)
7 Copyright (C) 2009 Stefan Metzmacher (metze@samba.org)
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23#ifndef _LIBADS_CLDAP_H_
24#define _LIBADS_CLDAP_H_
25
26#include "../libcli/netlogon/netlogon.h"
27
28/* The following definitions come from libads/cldap.c */
29bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx,
30 const char *server,
31 const char *realm,
32 uint32_t nt_version,
33 struct netlogon_samlogon_response **reply);
34bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx,
35 const char *server,
36 const char *realm,
37 struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5);
38
39#endif /* _LIBADS_CLDAP_H_ */
Note: See TracBrowser for help on using the repository browser.