sufficient pam_ldap.so

Bug #221261 reported by jablko
6
Affects Status Importance Assigned to Milestone
ldap-auth-client (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ldap-auth-client

On all the systems where I setup libpam-ldap, prior to auth-client-config, I used the construct recommended by /usr/share/doc/libpam-ldap/README.Debian:

auth [success=1 default=ignore] pam_unix.so nullok_secure
auth requisite pam_ldap.so minimum_uid=1000 use_first_pass
auth requisite pam_permit.so

I'm excited to try auth-client-config, to avoid hand editing lots of files, however I noticed that /etc/auth-client-config/profile.d/ldap-auth-config does exactly what README.Debian cautions against:

[...]
- Be very careful when you use "sufficient pam_ldap.so" in Debian's
/etc/pam.d/common-* files: Some services can place other "required"
PAM-modules after the includes, which will be ignored if pam_ldap.so
succeeds. As a workaround, use something like the following construct:
[...]

A side benefit of the construct recommended by README.Debian is that "local authentication is checked first, so root can still login if LDAP is down."

I created my own /etc/auth-client-config/profile.d/mine profile which implements the README.Debian construct, but I wonder why ldap-auth-config uses "sufficient pam_ldap.so", and checks pam_ldap.so before pam_unix.so

Is the advice of README.Debian outdated or overly paranoid?

Thanks and best wishes, Jack

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Among possible side-effect, this would interfere with the documented way of setting up pam_mount (per the README.Debian of libpam-mount).

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this still an issue for you? What Ubuntu version do you use? Thank you for telling us!

Changed in ldap-auth-client (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ldap-auth-client (Ubuntu) because there has been no activity for 60 days.]

Changed in ldap-auth-client (Ubuntu):
status: Incomplete → Expired
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.