Patch follows. Allows to use emerge --config to configure your /etc/nsswitch.conf.
Created attachment 102888 [details, diff] patch against nss_ldap-253.ebuild Should apply cleanly against other versions too.
*** Bug 156483 has been marked as a duplicate of this bug. ***
*** Bug 156484 has been marked as a duplicate of this bug. ***
sorry, this is not acceptable. 1. ldap at the very end is not always correct. 2. Just asking the user if ldap.conf is set up is insufficent. They should test it via 'getent -s ldap $SERVICE $ENTITY' before making any change to nsswitch.conf.
I'm going to be closing this since LDAP at the end of nsswitch isn't always correct, and I think this will make it extremely easy for users to break their system. # emerge nss_ldap # emerge --config nss_ldap # (broken system)