libnss-ldap and libpam-ldap should use the same configuration file
Bug #17744 reported by
Andrew J. Forgue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-ldap (Ubuntu) |
Fix Released
|
Wishlist
|
Rick Clark |
Bug Description
The packages for libpam-ldap and libnss-ldap use two different configuration
files. It would be far easier to maintain a single LDAP configuration file at
/etc/ldap/ldap.conf or /etc/ldap.conf. I know PAM-ldap and NSS-ldap are capable
of this. We could symlink them to a single file or just use the same file. Is
there any reason for the configs to be seperate at this time?
To post a comment you must log in.
The first problem that comes to mind is that of maintainer scripts. If pam_* and nss_* keys are in the same file, how do you push updates to libpam-ldap that don't break libnss-ldap? You can no longer rely on the automatic merge tools, but now have to manually add/remove/modify keys by name, and build a parser. It gets complicated.