ldapdns is hard coded for host/port specification of a ldap server. this patch adds support for ldap urls, specifically for a local unix socket. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 42056 [details] readme A quick walkthrough installing in Gentoo, provided docs are not too hot.
Created attachment 42057 [details, diff] Patch to allow LDAP URLs Diverts ldap_init() call to ldap_initialize() if an URL is provided, also a hack into skipping host:port parsing kludge.
Created attachment 42058 [details, diff] ldapdns-2.04.ebuild.patch Patch to ebuild file to add unix socket patch and readme.
all bug-wranglers please read my email to -core with the subject of 'bug-wranglers vs. metadata.xml'.
I've emailed Steve to ask him to make some changes to the README (copyright assignment) and resubmit the attachment.
Created attachment 42214 [details] README.gentoo.easy-setup.asc Updated to digitially signed readme.
LDAP URL patch was applied upstream in v2.0.6 Renaming bug for adding howto guide.
Would you mind checking out http://www.gentoo.org/doc/en/ldap-howto.xml and give an update for that guide? Better to integrate it in the existing LDAP Howto than to add another one.
Okay, better to use a separate guide for this instead. Please give me the OKAY to put your documentation under the CC-BY-SA license, Steve-o. All Gentoo documentation is released under the Creative Commons - Attribution/ShareAlike license (version 2.5 currently)
Can't do much without the license consent.
Sorry bit late, its okay, you can put it under the CC-BY-SA license.
I've committed a first rough draft. It basically has the stuff which is in the README but in GuideXML. I still need to test it, I don't know if the creating of the bootstrap.ldif is correct and I should add information on how clients need to deal with the nameserver (edit resolv.conf). Working draft: http://www.gentoo.org/doc/en/draft/ldapdns-guide.xml
Would you mind taking a look at the "Configuring OpenLDAP" stuff? I'm pretty sure the ldif stuff is wrong in the guide and I don't have a system yet to test it on.
Created attachment 68054 [details] ldapdns.ldif.example in attachement an example of a good .ldif for ldapdns (it works on ldapdns-2.05 and 2.06)...
Comment on attachment 68054 [details] ldapdns.ldif.example you can see more options at http://cvs.lp.se/doc/ldapdns/README.configure.gz
The draft ldapdns-guide.xml has been updated...
I've put it in the official repo (http://www.gentoo.org/doc/en/ldapdns-guide.xml). Sorry that it took so long, but now it's here :)