I think Thierry's solution in comment #10 is the way to go. It's
appropriate for ldap-auth-client to depend on libpam-ldap, because
that's the intent of the metapackage. But ldap-auth-config provides
/etc/ldap.conf, which you need whether or not you're using LDAP for
authentication. (That package would be better named "ldap-config".)

I see that libnss-ldap now recommends ldap-auth-config instead of hard-
depending on it. But this is not useful, because without /etc/ldap.conf,
you have no working LDAP setup. (Robie Basak made this change recently;
I've subscribed him to this bug.) I think that this particular hard
dependency was correct, in fact---unless you manually create a new
/etc/ldap.conf from scratch, I see no reason why you would want to
install libnss-ldap without ldap-auth-config (dependencies of the latter
aside).

[tl;dr] IMO, the solution is
* ldap-auth-config Recommends ldap-auth-client
* libnss-ldap Depends-on ldap-auth-config

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/334374

Title:
  libnss-ldap should not depend on libpam-ldap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldap-auth-client/+bug/334374/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to