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

slapd-meta with olc



Hi,
 I'm trying to run "meta" database on our local LDAP server, but I'm not able to set it up.

I was checking many tutorials, including man page (http://www.openldap.org/doc/admin24/slapdconfig.html, http://www.openldap.org/doc/admin24/slapdconf2.html, https://linux.die.net/man/5/slapd-relay, https://linux.die.net/man/5/slapo-rwm, https://linux.die.net/man/5/slapd-ldap, https://linux.die.net/man/5/slapd-meta, http://www.openldap.org/doc/admin24/guide.html#Metadirectory ... ) but without success. Most of them are are out-of-date (slapd.conf) and basically there is no reference to new olc migration.

I just need to know few things:

 * Is "meta" database supported at v2.4.42 ? (assume yes)

 * Can "meta" database represent proxy with remote servers? (also assume yes)


Our use case is following:

 * [ user app ]  ---> [ our LDAP ] ---> LDAP1 or LDAP2 or LDAP3 ....

 * "Our LDAP" should change domanin (dc=abc,dc=local -> dc=sub,dc=abc,dc=org (LDAP1) or dc=sub2,dc=def,dc=com (LDAP2) , ....) and if possible binder as well


Can you give us some example ldif configuration? Because at "http://www.openldap.org/doc/admin24/guide.html#Metadirectory" at 11.5.2 is only "LATER" :/

I was able to add backends, but I'm not able to add some working configuration.


$ cat add_meta_backend.ldif
dn: cn=module{},cn=config
objectClass: olcModuleList
cn: module{}
olcModulePath: /usr/lib/ldap
olcModuleLoad: back_meta

dn: cn=module{},cn=config
objectClass: olcModuleList
cn: module{}
olcModulePath: /usr/lib/ldap
olcModuleLoad: back_ldap

dn: cn=module{},cn=config
objectClass: olcModuleList
cn: module{}
olcModulePath: /usr/lib/ldap
olcModuleLoad: rwm


Best regards
  Martin Stejskal