Why you don't use the global catalog service port 3268, then the referrals will be solved by the AD.
best regards Michael On 23.10.2016 18:09, JWD wrote: > I config a proxy cache, using windows AD as backend. > > When I run ldapsearch, it always search reference for minuts, like this: > # search reference > ref: ldap://ForestDnsZones.test.com/DC=ForestDnsZones,DC=test,DC=com > # search reference > ref: ldap://DomainDnsZones.test.com/DC=DomainDnsZones,DC=test,DC=com > # search reference > ref: ldap://test.com/CN=Configuration,DC=test,DC=com > > Infact, there is no reference at all. > How to disable proxy cache referrals? > > Below is my proxy cache config: > > database ldap > suffix "dc=test,dc=com" > uri ldap://192.168.127.15/ > #uri ldap://192.168.127.15/dc=test,dc=com > rootdn "cn=root,dc=test,dc=com" > rootpw {SSHA}Hpc7nbJEdos8iCUAzRNa/rs5ffb0/+mD > > overlay pcache > pcache bdb 100000 1 1000 100 > #pcacheAttrset 0 name mail sAMAccountName telephonenumber > pcacheAttrset 0 name mail telephonenumber > pcacheTemplate (cn=) 0 3600 > pcacheTemplate (&(sn=)(givenName=)) 0 3600 > pcacheTemplate (&(departmentNumber=)(secretary=*)) 0 3600 > > directory /var/lib/ldap/test > > CacheSize 1000 > DNcacheSize 2000 > IDLcacheSize 3000 > CacheFree 10 > Checkpoint 1024 10 > > DbConfig set_cachesize 0 104857600 1 > DbConfig set_data_dir db > DbConfig set_lg_dir logs > DbConfig set_lg_regionmax 1048576 > DbConfig set_lg_max 20971520 > DbConfig set_lg_bsize 2097152 > DbConfig set_flags DB_LOG_AUTOREMOVE > DbConfig set_flags DB_TXN_NOSYNC > > index objectClass eq,pres > index ou,cn,mail,surname,givenname eq,pres,sub > index uidNumber,gidNumber,loginShell eq,pres > index uid,memberUid eq,pres,sub > index nisMapName,nisMapEntry eq,pres,sub > index entryCSN,entryUUID eq,pres > > > -------------- > JWD > -- Michael Wandel Braakstraße 43 33647 Bielefeld
