* A server-side module for Citadel which supports address book information
* using the standard vCard format.
*
- * Copyright (c) 1999-2020 by the citadel.org team
+ * Copyright (c) 1999-2021 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.
}
#endif
-
-#ifdef HAVE_LDAP
/*
* Is this an LDAP session? If so, copy various LDAP attributes from the directory entry
* into the user's vCard.
}
}
}
-#endif
+
if (need_default_vcard!=0) {
/* Everyone gets an email address based on their display name */
snprintf(buf, sizeof buf, "%s@%s", usbuf->fullname, CtdlGetConfigStr("c_fqdn"));
void vcard_session_login_hook(void) {
struct vCard *v = NULL;
-#ifdef HAVE_LDAP
/*
* Is this an LDAP session? If so, copy various LDAP attributes from the directory entry
* into the user's vCard.
}
}
}
-#endif
/*
* Extract the user's friendly/screen name