more moving towards ldap sync ... lots of refactoring
[citadel.git] / citadel / citadel_ldap.h
1 /*
2  * Configuration for LDAP authentication.  Most of this stuff gets pulled out of our site config file.
3  *
4  * Copyright (c) 1987-2017 by the citadel.org team
5  *
6  *  This program is open source software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License version 3.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  */
14
15 int CtdlTryUserLDAP(char *username, char *found_dn, int found_dn_size, char *fullname, int fullname_size, uid_t *found_uid);
16 int CtdlTryPasswordLDAP(char *user_dn, const char *password);
17 int Ctdl_LDAP_to_vCard(char *ldap_dn, struct vCard *v);
18 int extract_email_addresses_from_ldap(char *ldap_dn, char *emailaddrs);
19 void CtdlSynchronizeUsersFromLDAP(void);