s3-torture/denytest.c: replace cli_read_old() with cli_read()
[Samba/gebeck_regimport.git] / source3 / libads / cldap.h
blob60e1c56038dc2616d2420d02de186ba0de30c761
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)
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.
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.
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/>.
23 #ifndef _LIBADS_CLDAP_H_
24 #define _LIBADS_CLDAP_H_
26 #include "../libcli/netlogon/netlogon.h"
28 /* The following definitions come from libads/cldap.c */
29 bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx,
30 struct sockaddr_storage *ss,
31 const char *realm,
32 uint32_t nt_version,
33 struct netlogon_samlogon_response **reply);
34 bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx,
35 struct sockaddr_storage *ss,
36 const char *realm,
37 struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5);
39 #endif /* _LIBADS_CLDAP_H_ */