[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapadd question



hi,

when I use slapadd to setup cn=config
I get
> slapadd: warning, missing attrs entryUUID,entryCSN from entry dn="olcDatabase=bdb,cn=config"
warnings (one for each database and overlay that is configured) as soon as I add an olcSyncrepl attribute to "dn:
olcDatabase=config,cn=config"

should I be worried about these warnings?


what I am doing:
slapadd -S 1 -bcn=config -l slapd.ldif -F slapd.d/

with slapd.ldif having the following content:


dn: cn=config
objectClass: olcGlobal
cn: config
olcArgsFile: /usr/local/openldap/var/run/slapd.args
olcPidFile: /usr/local/openldap/var/run/slapd.pid

dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulepath:  /usr/local/openldap/libexec/openldap
olcModuleload:  back_bdb.la

dn: cn=schema,cn=config
objectClass: olcSchemaConfig
cn: schema

include: file:///usr/local/openldap/etc/openldap/schema/core.ldif

dn: olcDatabase=frontend,cn=config
objectClass: olcDatabaseConfig
olcDatabase: frontend

dn: olcDatabase=config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: config
olcRootDN: cn=admin,cn=config
olcRootPW:: e1NTSEF9L1Q1US9ibUl0V3pYRnpOUG9iajdsbk5IVVJmS2E5Ykk=
olcSyncrepl: rid=001 provider=ldap://someldapserver/ binddn="cn=acme" credentials=secret bindmethod=simple searchbase="cn=config"
type=refreshAndPersist

dn: olcDatabase=bdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcBdbConfig
olcDatabase: bdb
olcSuffix: dc=my-domain,dc=com
olcRootDN: cn=Manager,dc=my-domain,dc=com
olcRootPW: secret
olcDbDirectory: /usr/local/openldap/var/openldap-data





Best regards,

Marvin

Attachment: smime.p7s
Description: S/MIME cryptographic signature