allow bind_v2
include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/corba.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schemapidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.argsmodulepath /usr/local/openldap/libexec/openldap
moduleload syncprov
password-hash {SSHA}
database hdb
suffix "dc=***,dc=com"
rootdn "cn=root,dc=***,dc=com"
rootpw {SSHA}yZkqhHmELfmUTsaQyfxgXBqq95gugTA4
directory /usr/local/openldap/var/openldap-dataindex uid pres,eq
index cn,sn pres,eq,approx,sub
index objectClass eq
index entryCSN,entryUUID eqsyncrepl rid=001
provider=ldap://192.168.1.12
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=***,dc=com"
attrs=*
binddn="cn=root,dc=***,dc=com"
credentials=secret
overlay syncprov
syncprov-checkpoint 50 10
database monitor
loglevel 256