Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156485 - pkg_config for sys-auth/nss_ldap
Summary: pkg_config for sys-auth/nss_ldap
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
: 156483 156484 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-28 00:25 UTC by Petteri Räty (RETIRED)
Modified: 2006-12-15 19:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against nss_ldap-253.ebuild (nss_ldap-253.ebuild.patch,1.33 KB, patch)
2006-11-28 00:25 UTC, Petteri Räty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2006-11-28 00:25:08 UTC
Patch follows. Allows to use emerge --config to configure your /etc/nsswitch.conf.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-11-28 00:25:52 UTC
Created attachment 102888 [details, diff]
patch against nss_ldap-253.ebuild

Should apply cleanly against other versions too.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-11-28 00:28:34 UTC
*** Bug 156483 has been marked as a duplicate of this bug. ***
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-11-28 00:29:05 UTC
*** Bug 156484 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-11-28 04:20:48 UTC
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.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-12-15 19:34:32 UTC
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)