I'm trying to set up syncprov on Ubuntu's 2.4.7, but slaptest returns:
root@higgsboson:~# slaptest overlay "syncprov" not found slaptest: bad configuration file!
As far as I can tell, the module is there:
root@higgsboson:~# ls /usr/lib/ldap/syncprov* /usr/lib/ldap/syncprov-2.4.so.2 /usr/lib/ldap/syncprov-2.4.so.2.0.3 / usr/lib/ldap/syncprov.la /usr/lib/ldap/syncprov.so
Below is a slightly trimmed version of slapd.conf:
allow bind_v2 readonly off include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /usr/local/etc/ldap/schema/samba.schema include /usr/local/etc/ldap/schema/apple.schema include /usr/local/etc/ldap/schema/mcadmail.schema include /usr/local/etc/ldap/schema/mcad.schema include /usr/local/etc/ldap/schema/mcad.radmind.schema TLSCACertificateFile /etc/ldap/ssl/higgsboson.pem TLSCertificateFile /etc/ldap/ssl/higgsboson.pem TLSCertificateKeyFile /etc/ldap/ssl/higgsboson.pem authz-regexp uid=([^,]*),cn=PLAIN,cn=auth uid= $1,dc=users,dc=accounts,dc=mcad,dc=edu sasl-secprops none pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args loglevel 128 threads 10 modulepath /usr/lib/ldap moduleload back_bdb defaultsearchbase "dc=accounts,dc=ldap,dc=mcad,dc=edu" idletimeout 600 password-hash {SSHA} backend bdb database bdb suffix "dc=mcad,dc=edu" checkpoint 512 30 cachesize 2000 idlcachesize 6000 directory "/var/lib/ldap" index objectClass eq index cn,sn,uid pres,eq,approx,sub index givenName eq,sub index displayName eq,sub index mail,mailAlias eq,sub index activePopImap eq index activeSmtp eq index ceridianID eq index jenzabarID eq index ou eq index employeeNumber eq index employeeType eq index uidNumber,gidNumber eq index memberUid eq index macAddress eq index apple-generateduid eq index apple-group-realname eq index apple-computers eq index apple-mcxflags sub index apple-category eq index apple-networkview eq index apple-group-memberguid eq index apple-group-nestedgroup eq index entryUUID eq index entryCSN eq index mailbox eq overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 lastmod on
And then all of the ACLs
--On Thursday, May 01, 2008 11:52 AM -0500 Jonathan Dobbie jonathan_dobbie@mcad.edu wrote:
I'm trying to set up syncprov on Ubuntu's 2.4.7, but slaptest returns:
root@higgsboson:~# slaptest overlay "syncprov" not found slaptest: bad configuration file!
modulepath /usr/lib/ldap moduleload back_bdb
So where's the line to load the syncprov module?
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
On May 1, 2008, at 12:14 PM, Quanah Gibson-Mount wrote:
--On Thursday, May 01, 2008 11:52 AM -0500 Jonathan Dobbie <jonathan_dobbie@mcad.edu
wrote:
I'm trying to set up syncprov on Ubuntu's 2.4.7, but slaptest returns:
root@higgsboson:~# slaptest overlay "syncprov" not found slaptest: bad configuration file!
modulepath /usr/lib/ldap moduleload back_bdb
So where's the line to load the syncprov module?
Thank you, I figured it was something simple.
On Thu, May 1, 2008 at 12:52 PM, Jonathan Dobbie jonathan_dobbie@mcad.edu wrote:
I'm trying to set up syncprov on Ubuntu's 2.4.7, but slaptest returns:
root@higgsboson:~# slaptest overlay "syncprov" not found slaptest: bad configuration file!
As far as I can tell, the module is there:
root@higgsboson:~# ls /usr/lib/ldap/syncprov* /usr/lib/ldap/syncprov-2.4.so.2 /usr/lib/ldap/syncprov-2.4.so.2.0.3 /usr/lib/ldap/syncprov.la /usr/lib/ldap/syncprov.so
Below is a slightly trimmed version of slapd.conf:
allow bind_v2 readonly off include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /usr/local/etc/ldap/schema/samba.schema include /usr/local/etc/ldap/schema/apple.schema include /usr/local/etc/ldap/schema/mcadmail.schema include /usr/local/etc/ldap/schema/mcad.schema include /usr/local/etc/ldap/schema/mcad.radmind.schema TLSCACertificateFile /etc/ldap/ssl/higgsboson.pem TLSCertificateFile /etc/ldap/ssl/higgsboson.pem TLSCertificateKeyFile /etc/ldap/ssl/higgsboson.pem authz-regexp uid=([^,]*),cn=PLAIN,cn=auth uid=$1,dc=users,dc=accounts,dc=mcad,dc=edu sasl-secprops none pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args loglevel 128 threads 10 modulepath /usr/lib/ldap moduleload back_bdb defaultsearchbase "dc=accounts,dc=ldap,dc=mcad,dc=edu" idletimeout 600 password-hash {SSHA} backend bdb database bdb suffix "dc=mcad,dc=edu" checkpoint 512 30 cachesize 2000 idlcachesize 6000 directory "/var/lib/ldap" index objectClass eq index cn,sn,uid pres,eq,approx,sub index givenName eq,sub index displayName eq,sub index mail,mailAlias eq,sub index activePopImap eq index activeSmtp eq index ceridianID eq index jenzabarID eq index ou eq index employeeNumber eq index employeeType eq index uidNumber,gidNumber eq index memberUid eq index macAddress eq index apple-generateduid eq index apple-group-realname eq index apple-computers eq index apple-mcxflags sub index apple-category eq index apple-networkview eq index apple-group-memberguid eq index apple-group-nestedgroup eq index entryUUID eq index entryCSN eq index mailbox eq overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 lastmod on
And then all of the ACLs
How about
moduleload syncprov.la
John
--On Thursday, May 01, 2008 1:31 PM -0400 Aaron Richton richton@nbcs.rutgers.edu wrote:
Given:
overlay "syncprov" not found
with the availability of
/usr/lib/ldap/syncprov-2.4.so.2 /usr/lib/ldap/syncprov-2.4.so.2.0.3 /usr/lib/ldap/syncprov.la /usr/lib/ldap/syncprov.so
you likely want "modulepath /usr/lib/ldap" and "modulepath syncprov" in your configuration.
I believe you mean "moduleload syncprov".
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org