Main question: how to build openldap with all overlays as dynamically loaded modules (ie: optional).
Why? These problems have been covered before, recently even. I'm trying to get Solaris 9/10 clients talking to openldap server. I can do getent passwd <user> but getent passwd or getent group or even ldaplist all fail.
I haven't had any success with Benjamin's acl fix/work around, or configuring the overlay for sssvlv in slapd.conf.
So, I thought I'd recompile openldap - without sssvlv support, but then I thought why have to do this again in the future if I find another incompatibility? I'd prefer to simply have all overlays/modules as separate loadable modules.
When I compiled OpenLDAP, I configured it with: ./configure --with-tls=openssl \ --enable-crypt \ --enable-dynamic \ --enable-ldap \ --enable-lmpasswd \ --enable-modules \ --enable-overlays \ --enable-spasswd \ --sysconfdir=/etc
The enable-overlays option builds in a number of overlays I use and am interested in using in the future - however, it also enables sss/vlv.
I supposed I could try to build it again with that option followed by --disable-sssvlv but what I'd really prefer is a way to build openldap with the overlays as separate modules that I can load/unload when/as I need them.
I've searched the documentation, but I can't figure out how. It's quite likely I haven't looked in the right spot. I'm currently trying to make my way through the configure script... Blech.
Thanks for any pointers, - chris
Chris Jacobs, Systems Administrator, Information Technology & Operations Apollo Group | Apollo Marketing | Aptimus, Inc. 2001 6th Ave | Ste 3200 | Seattle, WA 98121 phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661 email: chris.jacobs@apollogrp.edu
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
--On December 1, 2010 1:48:28 PM -0700 Chris Jacobs Chris.Jacobs@apollogrp.edu wrote:
Main question: how to build openldap with all overlays as dynamically loaded modules (ie: optional).
options.. \ --enable-slapd \ --enable-modules \ --enable-overlays=mod \ --enable-backends=mod \ options
--Quanah
Perfect! Thanks!
I hadn't understood the "no|yes|mod" options (thinking --enable-xxx or --disable-xxx would do the inclusion or not), but now it makes perfect sense.
- chris
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Wednesday, December 01, 2010 1:06 PM To: Chris Jacobs; openldap-technical@openldap.org Subject: Re: Rebuild openldap so all modules/overlays are separate
--On December 1, 2010 1:48:28 PM -0700 Chris Jacobs Chris.Jacobs@apollogrp.edu wrote:
Main question: how to build openldap with all overlays as dynamically loaded modules (ie: optional).
options.. \ --enable-slapd \ --enable-modules \ --enable-overlays=mod \ --enable-backends=mod \ options
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/01/2010 10:05 PM, Quanah Gibson-Mount wrote:
--On December 1, 2010 1:48:28 PM -0700 Chris Jacobs Chris.Jacobs@apollogrp.edu wrote:
Main question: how to build openldap with all overlays as dynamically loaded modules (ie: optional).
options.. \ --enable-slapd \ --enable-modules \ --enable-overlays=mod \ --enable-backends=mod \ options
When using this set of configure parameters, some symbols cannot be loaded and slapd is killed when trying to resolve them during operation (mostly in back-ldap), all gets better when I add: - --enable-dynamic
Am I doing something wrong, is it some problem in my build system (but even clean debian chroot does it) or should this never happen under normal circumstances?
Ondra
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Chris Jacobs wrote:
Main question: how to build openldap with all overlays as dynamically loaded modules (ie: optional).
Why? These problems have been covered before, recently even. I'm trying to get Solaris 9/10 clients talking to openldap server. I can do getent passwd<user> but getent passwd or getent group or even ldaplist all fail.
I haven't had any success with Benjamin's acl fix/work around, or configuring the overlay for sssvlv in slapd.conf.
So, I thought I'd recompile openldap - without sssvlv support, but then I thought why have to do this again in the future if I find another incompatibility? I'd prefer to simply have all overlays/modules as separate loadable modules.
When I compiled OpenLDAP, I configured it with: ./configure --with-tls=openssl \ --enable-crypt \ --enable-dynamic \ --enable-ldap \ --enable-lmpasswd \ --enable-modules \ --enable-overlays \ --enable-spasswd \ --sysconfdir=/etc
The enable-overlays option builds in a number of overlays I use and am interested in using in the future - however, it also enables sss/vlv.
I supposed I could try to build it again with that option followed by --disable-sssvlv but what I'd really prefer is a way to build openldap with the overlays as separate modules that I can load/unload when/as I need them.
I've searched the documentation, but I can't figure out how. It's quite likely I haven't looked in the right spot. I'm currently trying to make my way through the configure script... Blech.
Thanks for any pointers,
configure --help
openldap-technical@openldap.org