source: vendor/current/source3/passdb/pdb_ldap.h

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.6 KB
Line 
1/*
2 Unix SMB/CIFS implementation.
3 LDAP protocol helper functions for SAMBA
4 Copyright (C) Jean François Micouleau 1998
5 Copyright (C) Gerald Carter 2001-2003
6 Copyright (C) Shahms King 2001
7 Copyright (C) Andrew Bartlett 2002-2003
8 Copyright (C) Stefan (metze) Metzmacher 2002-2003
9 Copyright (C) Simo Sorce 2006
10
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>.
23
24*/
25
26#ifndef _PASSDB_PDB_LDAP_H_
27#define _PASSDB_PDB_LDAP_H_
28
29/* The following definitions come from passdb/pdb_ldap.c */
30
31const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );
32NTSTATUS pdb_ldapsam_init_common(struct pdb_methods **pdb_method, const char *location);
33NTSTATUS pdb_ldapsam_init(void);
34int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state,
35 const char *user,
36 LDAPMessage ** result,
37 const char **attr);
38const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );
39LDAP *priv2ld(struct ldapsam_privates *priv);
40
41#endif /* _PASSDB_PDB_LDAP_H_ */
Note: See TracBrowser for help on using the repository browser.