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

Re: add local entries to a master database.



Julien Garnier wrote:
Howard Chu a écrit :
Julien Garnier wrote:
* I've tried to use translucent overlay between ldap_relay and ldap1 but
the problem is tha it's not possible to search local entries with
translucent.
It is in 2.4.8.
Hi,

Juste a minute after post my message I download the 2.4.8 and I've read
in the chanlog that local entries search is working.

I trie to make that working but nothings change, it doesn't work.

Nothing changes because you haven't changed your configuration. Read the slapo-translucent(5) manpage.


Her is my slapd.conf in "ldap1" :
####################################################
database        bdb
suffix             "ou=People,dc=compagnie,dc=com"
rootdn          "cn=admin,ou=People,dc=compagnie,dc=com"
#rootpw        "password"
directory       "/var/lib/ldap-people"

index objectClass                                   eq,pres
index ou,cn,mail,surname,givenname        eq,pres,sub
index uid                                                 eq,pres
index entryCSN,entryUUID                    eq,pres
index Service,ACMO,Poste                    eq,pres,sub

overlay         translucent
translucent_no_glue

uri             ldap://ldap_relay
lastmod         off

acl-bind        binddn="cn=admin,ou=People,dc=compagnie,dc=com"
credentials="password"
####################################################

Translucent is working correctly :
for example, ACMO is a boolean define on the ldap1 server. If I search
in ldap1 for (sn=name) I can see the entry in results.
A this time if I  search for (ACMO=1) nothings return.
I've tried  with attribute ACMO present or not present on the ldap_relay
server, it chang nothing.

Thank in advance

Julien





--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/