LDAP auth for PostgreSQL
It should be coupled with adding DB info in the LDAP schema for restricted access and future use.
Updated by Marc Dequènes about 10 years ago
- Status changed from New to Resolved
- Assignee set to Marc Dequènes
- % Done changed from 0 to 100
LDAP support is lame, because there is no search&bind but only a silly prefix+suffix method, which is useless. So i used PAM with a specific config like minbif.
I created a new objectClass databaseUser, with a databaseName attributeType in the form <db-type>:<db-name> to avoid creating a new object for each database (MySQL/PostgreSQL/...) or silly per-database-type attributeTypes.