I recently upgraded to debian squeeze and found that the slapd configuration had been completely revamped. It's now using the cn=config setup. I was authenticating against a locally replicated copy of my directory behind a firewall. I was using anonymous binding for my own purposes and I want to continue using it that way. I don't really want to enter into a prolonged discussion of why I shouldn't. I just want to know if there is a simple way of reconfiguring under the new regime so that it will work the same way it did before.
Any Takers?
--On Tuesday, May 31, 2011 05:08:28 PM +0100 ray klassen julius_ahenobarbus@yahoo.co.uk wrote:
I recently upgraded to debian squeeze and found that the slapd configuration had been completely revamped. It's now using the cn=config setup. I was authenticating against a locally replicated copy of my directory behind a firewall. I was using anonymous binding for my own purposes and I want to continue using it that way. I don't really want to enter into a prolonged discussion of why I shouldn't. I just want to know if there is a simple way of reconfiguring under the new regime so that it will work the same way it did before.
Any Takers?
You can continue to use use a files based configuration as the basis for your LDAP server and convert the files based configuration to cn=config using slaptest. The command line to do the conversion is:
% slaptest -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d
This a reasonable way to step halfway into the new world while you figure things out.
Bill
openldap-technical@openldap.org