/*
* Authentication modes
*/
-#define AUTHMODE_NATIVE 0 /* native Citadel authentication */
-#define AUTHMODE_HOST 1 /* host integrated */
-#define AUTHMODE_LDAP 2 /* external LDAP authentication */
+#define AUTHMODE_NATIVE 0 /* Native (self-contained or "black box") */
+#define AUTHMODE_HOST 1 /* Authenticate against the host OS user database */
+#define AUTHMODE_LDAP 2 /* External LDAP authentication (NOT IMPLEMENTED) */
#ifdef __cplusplus
}
ForEachUser(do_uid_user_purge, NULL);
break;
default:
- CtdlLogPrintf(CTDL_DEBUG, "Unknown authentication mode!\n");
+ CtdlLogPrintf(CTDL_DEBUG, "User purge for auth mode %d is not implemented.\n",
+ config.c_auth_mode);
break;
}
"LDAP: Could not connect to server.");
return -1;
}
+ else {
+ CtdlAideMessage(
+ "WARNING: populating an external LDAP address book is deprecated.\n"
+ "This function will be discontinued in a future release.\n"
+ "Please migrate to vCard-based address books as soon as possible.\n"
+ "Visit the Citadel support forum if you need further assistance.\n"
+ ,
+ "Warning: LDAP address book is deprecated"
+ );
+ }
ldap_set_option(dirserver, LDAP_OPT_PROTOCOL_VERSION,
&ldap_version);