Hi,
my definition of db is:
dn: olcDatabase={1}sociale objectClass: olcDatabaseConfig objectClass: olcBdbConfig objectClass: olcLDAPConfig olcDatabase: {1}bdb olcSuffix: dc=sociale,dc=it olcAddContentAcl: FALSE olcLastMod: TRUE olcMaxDerefDepth: 15 olcReadOnly: FALSE ..... .....
and it works and work all other Overlay, for example Unique Overlay I have imported with the following ldif file
dn: olcOverlay=unique,olcDatabase={1}sociale,cn=config objectClass: olcUniqueConfig olcOverlay: unique
Regards
Ing. Stefano Elmopi Cooperativa Capodarco - Resp. Area ICT Gestione Esercizio Via Ostiense 131/L Corpo B, 00154 Roma
cell. 3466147165 tel. 0657060500
email:stefano.elmopi@sociale.it
2014-12-02 13:57 GMT+01:00 Dieter Klünter dieter@dkluenter.de:
Am Tue, 2 Dec 2014 10:34:26 +0000 (UTC) schrieb Stefano stefano.elmopi@sociale.it:
Hi,
I state that I am a beginner to Ldap !!! I have a problem with the configuration of the Chain Overlay. Provider and Consumer are identical
CentOS release 6.5 openldap-servers-2.4.40-1.el6.x86_64
On the Consumer: I configured
olcPPolicyForwardUpdates=TRUE in the Ppolicy Overlay and olcUpdateRef: ldap://stfalf02devpom.sociale.it in the ldif file of Ldap DB
imported the ldif file:
dn: olcOverlay=chain,olcDatabase={1}sociale,cn=config objectClass: olcOverlayConfig objectClass: olcChainConfig olcOverlay: chain olcChainCacheURI: FALSE olcChainMaxReferralDepth: 1 olcChainReturnError: FALSE
There is no such thing as olcDatabase=sociale, the database should be of type as defined in slapd.conf(5), section GENRAL DATABASE OPTIONS.
created the directory
/usr/local/openldap/etc/openldap/slapd.d/cn=config/olcDatabase= {1}sociale/olcOverlay={4}chain
There is no need to creat a subdirectory of etc/openldap/slapd.d/ [...]
-Dieter
-- Dieter Klünter | Systemberatung http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E