libpam-ldap depends on ldap-auth-client

Bug #731879 reported by Ballock
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-ldap (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: libpam-ldap

Installation of libpam-ldap adds loads of trash to the system.

Dependency on ldap-auth-config pulls also ldap-auth-client. As I can see ldap-auth-config is used for configuration of PAM in some old-way (it overwrites /etc/pam.d/common-*) and not actually using the libpam-runtime's pam-auth-update to manage pam.d files.

Meanwhile libpam-ldap also depends on libpam-runtime! So in one package we depend on the old and the new config way, while in fact the postinstall script uses the new one and the user would have to run the old one manually. Why do this at all? And why "depend" on ldap-auth-client. Perhaps if somebody was interested in this, it could be "Suggested"?

Revision history for this message
Chuck Short (zulcss) wrote :

Which version are you using?

chuck

Changed in libpam-ldap (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ballock (ballock) wrote :

I am using lucid at the moment, libpam-ldap version 184-8.2ubuntu1. Anyway, if you look at maverick and natty you will see that the package is the exact same version, with the same dependencies.

Changed in libpam-ldap (Ubuntu):
status: Incomplete → New
Chuck Short (zulcss)
Changed in libpam-ldap (Ubuntu):
status: New → Confirmed
Revision history for this message
Ballock (ballock) wrote :

Hello,

I have just verified that the libpam-ldap version in Precise (184-8.5ubuntu2) has the same issue.

I have a custom package that configures ldap (actually it configures much more than that) and I tried to add:
Provides: ldap-auth-config
to it, but because libpam-ldap Depends: ldap-auth-config (>= 0.5.2) - it ignores virtual packages, and pulls ldap-auth-config which in turn pulls ldap-auth-client.

If you do not want to just remove the dependency, perhaps you could add depend on a virtual package name by default and I could use that one instead?

I just verified against Debian testing (Wheezy) and their libpam-ldap 184-8.5 does not have this dependency at all. Why is it in Ubuntu?

Best regards,
Boleslaw Tokarski

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.