[turba] resolving LDAP aliases by Turba

Jan Schneider jan at horde.org
Mon Sep 9 20:26:43 UTC 2013


Oh, nice to know :)

Zitat von Victor Gamov <vit at otcnet.ru>:

> Hi Jan!
>
> I found param 'deref' ad backends config. This params set connection  
> option at lib/Drivers/Ldap.php. When it setted to  
> LDAP_DEREF_SEARCHING then everything works as expected.
>
> On 09Sep, 2013, at 13:40, Jan Schneider wrote:
>>
>> Zitat von Victor Gamov <vit at otcnet.ru>:
>>
>>> Hi All
>>>
>>> Can I configure Turba to resolve LDAP aliases when search at LDAP  
>>> address book?
>>
>> No, this is not supported at the moment.
>>
>>> For example I have following LDAP entries:
>>>
>>> ======= cut here =========
>>> dn: ou=AB,dc=example,dc=com
>>> objectClass: top
>>> objectClass: organizationalUnit
>>> ou: AB
>>> description: AB
>>>
>>> dn: uid=user at example.com,ou=Users,dc=example,dc=com
>>> objectClass: inetOrgPerson
>>> objectClass: person
>>> sn: Firstname Lastname
>>> cn: Firstname Lastname
>>> uid: user at example.com
>>> mail: user at example.com
>>>
>>> dn: uid=user at example.com,ou=AB,dc=example,dc=com
>>> objectclass: alias
>>> objectclass: extensibleObject
>>> uid: user at example.com
>>> aliasedobjectname: uid=user at example.com,ou=Users,dc=example,dc=com
>>> ======= /cut here =========
>>>
>>> Then my ldapsearch like:
>>>
>>> ldapsearch -b 'ou=AB,dc=otcnet,dc=ru' -a search '(mail=*user*)
>>>
>>> returns correct result.
>>>
>>> How to allow Turba to resolve aliases while LDAP searching
>>>
>>> Thanks!
>
> --
> CU,
> Victor Gamov
> vit at otcnet.ru


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the turba mailing list