[Kamailio-Users] ldap_search get result URL

Andrey Utkin andrey.utkin at wildix.com
Thu Dec 10 12:57:03 CET 2009


How can i access LDAP URI of ldap_search() results in routing script?

I need to do recursive search in company directory within persons that belong to groups, i need to get group id without storing groupid as person attribute, but as an element of resulting URL.
Query base name: dc=example,dc=com.
Query result is cn=user1,ou=group1,dc=example,dc=com.
I can easily get user1 attributes, but how to get ou?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091210/f89b54a6/attachment.htm>


More information about the sr-users mailing list