it would be really cool if you could add support for ldap (bind-sdb) in the bind ebuild. actually bind-sdb is already included in bind9, but you have to add some things to the makefile to get it to work (as you can see in the readme of bind-sdb). i've tried to use the ldap use-flag for bind, but this does not enable bind-sdb. maybe you could add a use-flag like "bind-sdb" in a future release of bind, to enable support for a ldap-database. people who use gentoo on their servers (like me;) would probably love this. Reproducible: Always Steps to Reproduce: 1. download bind from isc.org 2. unpack 3. check files in contrib/sdb/ldap
same for me with 9.3.4 and hardened profile ... falling back to previous version (which was 9.3.2-r4) did the trick ...
btw, you can use dlz's ldap support atm.
OK, I know it took a while but I've finally tried dlz. What I can say about dlz/LDAP right now is that it is a pain in the butt to get it to work with ldap - I gave up after many sleepless nights :(... Bind-sdb is much easier to set up and also easier to administrate/modify. Since it does _not_ require any additional files (they come with every release of bind) it should not be too hard to add sdb-support...
Created attachment 145490 [details, diff] bind 9.4.1 sdb ldap patch
Created attachment 145491 [details] 9.4.1 ebuild with sdb-ldap use flag
a quick patch only briefly tested. please test.
uses release 1.0 of sdb-ldap from http://bind9-ldap.bayour.com/
(In reply to comment #7) > uses release 1.0 of sdb-ldap from http://bind9-ldap.bayour.com/ > sdb-ldap support using the 1.1.0 patch added in 9.5.0_p1-r1.