Dear Folks,
1. Can I use the unique overlay with the dynamic cn=config configuration? 2. If so, what is the LDIF syntax for the configuration? 3. Would this work with OpenLDAP 2.3.43?
--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?
- Would this work with OpenLDAP 2.3.43?
No idea, but 2.3.43 is deprecated. Use a current release.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
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.
On Wednesday, 16 June 2010 06:23:00 Nick Urbanik wrote:
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.
http://staff.telkomsa.net/packages/rhel5/openldap/
Source RPM on any Mandriva mirror, source files in svn: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/openldap/
Regards, Buchan
--On Wednesday, June 16, 2010 3:23 PM +1000 Nick Urbanik nick.urbanik@optusnet.com.au wrote:
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.
Then rely on someone else's (Like the one's Buchan pointed out). But don't rely on RHEL's, and expect to upgrade much more often than RHEL upgrades theirs.
http://www.openldap.org/faq/data/cache/1456.html
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org