Dear Quanah,
thank you for your reply.
On 15/06/10 08:41 -0700, Quanah Gibson-Mount wrote:
--On Tuesday, June 15, 2010 4:47 PM +1000 Nick Urbanik nick.urbanik@optusnet.com.au wrote:
Dear Folks,
- Can I use the unique overlay with the dynamic cn=config
configuration?
Yes
- If so, what is the LDIF syntax for the configuration?
Use slaptest to convert a slapd.conf to cn=config and see?
Okay, with OpenLDAP 2.4.21, a directory cn=config/olcDatabase={1}bdb was created containing a file olcOverlay={0}unique.ldif
whose contents include: objectClass: olcOverlayConfig objectClass: olcUniqueConfig olcOverlay: {0}unique olcUniqueBase: [suffix DN] olcUniqueAttribute: [attribute to be made unique] structuralObjectClass: olcUniqueConfig
- Would this work with OpenLDAP 2.3.43?
No idea,
Attempts to use slaptest: # slaptest -f slapd.conf-unique-test -F slapd.d-unique-test WARNING: No dynamic config support for overlay unique.
WARNING: The converted cn=config directory is incomplete and may not work.
config file testing succeeded
but 2.3.43 is deprecated. Use a current release.
CentOS 5.5 provides 2.3.43. RHEL 6 will provide OpenLDAP 2.4.x. We want to avoid the overhead of maintaining our own packages of OpenLDAP. I'll only deploy my code on systems that don't use the unique overlay before RHEL 6 is available.
Thank you again for your helpful reply.