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