X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitadel_ldap.h;h=b1305b83c5f383c5ebd581c1d0cc80694c0327a9;hb=888efcf9c1b36ff6b41315c4b3675b19c098d335;hp=9a312795a37c96888701dba8576831361a5f1341;hpb=c51a64e8f8b42b6efd85f17c91178437d73a9c3d;p=citadel.git diff --git a/citadel/citadel_ldap.h b/citadel/citadel_ldap.h index 9a312795a..b1305b83c 100644 --- a/citadel/citadel_ldap.h +++ b/citadel/citadel_ldap.h @@ -1,7 +1,7 @@ /* * Configuration for LDAP authentication. Most of this stuff gets pulled out of our site config file. * - * Copyright (c) 1987-2012 by the citadel.org team + * Copyright (c) 1987-2017 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -12,6 +12,8 @@ * GNU General Public License for more details. */ -int CtdlTryUserLDAP(char *username, char *found_dn, int found_dn_size, char *fullname, int fullname_size, uid_t *found_uid, int lookup_based_on_uid); +int CtdlTryUserLDAP(char *username, char *found_dn, int found_dn_size, char *fullname, int fullname_size, uid_t *found_uid); int CtdlTryPasswordLDAP(char *user_dn, const char *password); int Ctdl_LDAP_to_vCard(char *ldap_dn, struct vCard *v); +int extract_email_addresses_from_ldap(char *ldap_dn, char *emailaddrs); +void CtdlSynchronizeUsersFromLDAP(void);