Hello everyone,

Has anyone experienced the "<olcSyncrepl> invalid URL" error from starting up a consumer slapd? I've tried configuring the provider setting for the syncrepl directive as a domain name and IP address but neither works.

Thanks in advance for your help.

Here's the error from slapd:

olcSyncrepl: value #0: <olcSyncrepl> invalid URL
config error processing olcDatabase={1}hdb,cn=config: <olcSyncrepl> invalid URL

Here's my consumer slapd.conf:

include        /opt/openldap-2.4.21/etc/openldap/schema/core.schema
include        /opt/openldap-2.4.21/etc/openldap/schema/cosine.schema
include        /opt/openldap-2.4.21/etc/openldap/schema/inetorgperson.schema

pidfile        /opt/openldap-2.4.21/var/run/slapd.pid
argsfile    /opt/openldap-2.4.21/var/run/slapd.args

modulepath    /opt/openldap-2.4.21/libexec/openldap
moduleload    back_hdb.la

# Overlay for reverse group membership
moduleload    memberof.la

loglevel    16383

# Global database directives
overlay        memberof
memberof-group-oc    groupOfNames
memberof-member-ad    member
memberof-memberof-ad    memberOf
memberof-dangling    error
memberof-refint        TRUE

# Enable cn=config changes from LDAP browser
database    config
rootdn        "cn=admin,cn=config"
rootpw        secret

database    hdb
suffix        "dc=example,dc=com"
rootdn        "cn=admin,dc=example,dc=com"
rootpw        secret
directory    /opt/openldap-2.4.21/var/openldap-data/example-com
# Indices to maintain
index    default eq
index    cn,uid,member
index    entryCSN,entryUUID eq
index    objectClass eq
# Other BDB/HDB directives
cachesize 10000
checkpoint 1024 10
# Replication
syncrepl rid=000
    retry="5 5 300 +"