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 |
|
---|
31 | const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );
|
---|
32 | NTSTATUS pdb_ldapsam_init_common(struct pdb_methods **pdb_method, const char *location);
|
---|
33 | NTSTATUS pdb_ldapsam_init(void);
|
---|
34 | int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state,
|
---|
35 | const char *user,
|
---|
36 | LDAPMessage ** result,
|
---|
37 | const char **attr);
|
---|
38 | const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );
|
---|
39 | LDAP *priv2ld(struct ldapsam_privates *priv);
|
---|
40 |
|
---|
41 | #endif /* _PASSDB_PDB_LDAP_H_ */
|
---|