overlay "syncprov" not found

  • wjenki1
  • Born
  • Born
  • wjenki1
  • Posts: 1

Post 3+ Months Ago

Every time I start LDAP on Fedora core 8 the following error occurs:

Checking configuration files for slapd: [FAILED]
overlay "syncprov" not found
slaptest: bad configuration file!

Here is my slapd.conf file:
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/misc.schema

loglevel -1

serverID 1

# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.


pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

# Load dynamic backend modules:
modulepath /usr/lib/openldap
moduleload accesslog
moduleload auditlog
moduleload back_bdb
moduleload back_sql
moduleload denyop
moduleload dyngroup
moduleload dynlist
moduleload lastmod
moduleload pcache
moduleload ppolicy
moduleload refint
moduleload retcode
moduleload rwm
moduleload syncprov
moduleload translucent
moduleload unique
moduleload valsort

# The next three lines allow use of TLS for encrypting connections using a
# dummy test certificate which you can generate by changing to
# /etc/pki/tls/certs, running "make slapd.pem", and fixing permissions on
# slapd.pem so that the ldap user or group can read it. Your client software
# may balk at self-signed certificates, however.
# TLSCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
# TLSCertificateFile /etc/pki/tls/certs/slapd.pem
# TLSCertificateKeyFile /etc/pki/tls/certs/slapd.pem

# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!
access to attrs=userPassword
by self write
by anonymous auth
by dn.base="cn=Manager,dc=jets,dc=local" write
by * none
access to *
by self write
by dn.base="cn=Manager,dc=jets,dc=local" write
by * read

#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database bdb
suffix "dc=jets,dc=local"
rootdn "cn=Manager,dc=jets,dc=local"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw
rootpw {SSHA}/5PsWrAXNKNKJmhiZAfUPLkMOUcgbtXN

#limits dn.exact="cn=Manager,dc=jets,dc=local" size=unlimited time=unlimited
#limits dn.exact="cn=replicator,dc=symas,dc=com" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited


# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap

# Indices to maintain for this database
#index default eq
index entryCSN,contextCSN eq
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
index entryUUID eq

# Replicas of this database
#replogfile /var/lib/ldap/openldap-slave-replog

#overlay syncprov
#syncprov-checkpoint 100 10
#syncprov-sessionlog 100
#lastmod on

syncrepl rid=001
provider=ldap://192.76.7.99
searchbase="dc=jets,dc=local"
type=refreshAndPersist
retry="60 +"
schemachecking=on
bindmethod=simple
binddn="cn=mirrormode,dc=jets,dc=local"
credentials=mirrormode

#updateref ldap://192.76.7.99

mirrormode on

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
lastmod on

All module loads have .la at the end. This forum wouldn't let me post with the .la extension.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 87 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.