[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
This is not a bug in auth-client-config. It is being called as: $ auth-client-config -a -p lac_ldap However, /etc/auth-client-config/profile.d/ldap-auth-config does not contain any PAM entries, only nss. The '-a' option is meant to apply 'all types', ie, 'nss' and 'pam_*'. When the types aren't present, then use -t type. Eg: $ auth-client-config -p lac_ldap -t nss ** Changed in: auth-client-config (Ubuntu) Status: Confirmed = Won't Fix ** Changed in: ldap-auth-client (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/295008 Title: Running auth-client-config -p lac_ldap gives error (2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auth-client-config/+bug/295008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: auth-client-config (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/295008 Title: Running auth-client-config -p lac_ldap gives error (2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auth-client-config/+bug/295008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ldap-auth-client (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/295008 Title: Running auth-client-config -p lac_ldap gives error (2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auth-client-config/+bug/295008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
Same bug in Ubuntu 11.04 (natty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/295008 Title: Running auth-client-config -p lac_ldap gives error (2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auth-client-config/+bug/295008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
This bug is also in Lucid (10.04). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/295008 Title: Running auth-client-config -p lac_ldap gives error (2) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
Paul, I'm no expert on this, but digging through the changelogs, it appears that this is now a two step process. The first step is to update NSS as Jamie showed above. The second step is to update PAM, which it looks like you can do via: $ sudo pam-auth-update ldap HTH -- Running auth-client-config -p lac_ldap gives error (2) https://bugs.launchpad.net/bugs/295008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
This is not a bug in auth-client-config. ldap-auth-config supplies the lac_ldap profile. ldap-auth-config now utilizes the new pam_auth_update framework, which is why there are no pam entries in the file. It does still ship an NSS profile, which can be used by auth-client-config like so: $ sudo auth-client-config -t nss -p lac_ldap ** Changed in: ldap-auth-client (Ubuntu) Sourcepackagename: auth-client-config = ldap-auth-client -- Running auth-client-config -p lac_ldap gives error (2) https://bugs.launchpad.net/bugs/295008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
Hi Jamie, thanks for that.. So my question is then: - What now the 'correct' way of adding these lines to my PAM configuration (given that auth-client-config no longer does this). - I still need to manually update the nss_base_ options in /etc/ldap.conf Shouldn't this be manged by debconf? Are you aware of whether these questions are being addressed? I would like to make hooking into an LDAP authentication server something that is really easy to do... -- Running auth-client-config -p lac_ldap gives error (2) https://bugs.launchpad.net/bugs/295008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295008] Re: Running auth-client-config -p lac_ldap gives error (2)
The missing lines are: - pam_auth=auth sufficient pam_ldap.so auth required pam_unix.so nullok_secure use_first_pass pam_account=accountsufficient pam_ldap.so accountrequired pam_unix.so pam_password=password sufficient pam_ldap.so password required pam_unix.so nullok obscure min=4 max=8 md5 pam_session=sessionrequired pam_unix.so sessionrequired pam_mkhomedir.so skel=/etc/skel/ sessionoptional pam_ldap.so sessionoptional pam_foreground.so -- Running auth-client-config -p lac_ldap gives error (2) https://bugs.launchpad.net/bugs/295008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs