Hi, As I get further along on the LDAP auth module, I've noticed that the alias table functions are all in the db.h and not in the auth.h abstraction. Since the "native LDAP" posixAccount and MS's Active Directory "user" classes both include the possibility for multiple mail and mailAlternate attributes, it makes sense to use these fields as the aliases for the given account.
Perhaps we could move these functions into auth.h... u64_t db_get_user_from_alias(const char *alias); char* db_get_deliver_from_alias(const char *alias); int db_get_user_aliases(u64_t userid, struct list *aliases); int db_addalias(u64_t useridnr, char *alias, u64_t clientid); int db_addalias_ext(char *alias, char *deliver_to, u64_t clientid); int db_removealias(u64_t useridnr, const char *alias); int db_removealias_ext(const char *alias, const char *deliver_to); Aaron