Summary:ASTERISK-11606: calls to multi_ldap function return with zero results (Pattern match/Queuemember broken)
Reporter:Faraz Khan (fkhan)Labels:
Date Opened:2008-03-10 12:58:17Date Closed:2011-06-07 14:03:09
Versions:Frequency of
Environment:Attachments:( 0) asteriskoutput
Description:Any calls to the multi_ldap function in res_config_ldap.c return with zero results. As far as my understanding is concerned, multi_ldap function is required to return multiple results (as in pattern match) or when example a QueueMember lookup is required.

We might be able to fix this ourselves if somebody can guide us. The function looks quite similar to the one in res_config_mysql so we cant seem to figure out whats wrong.
Comments:By: Tilghman Lesher (tilghman) 2008-03-19 18:00:40

What is the log output when it fails?

By: Ghulam Mustafa (cyrenity) 2008-03-20 05:14:21

please find the console output (verbose+debug) in attached file, i have exten _8XX in ldap, and i tried to dial 855

By: Tilghman Lesher (tilghman) 2008-04-15 21:32:35

Can you describe how you setup LDAP?  I'd like to replicate this in our lab, and I'd like to have as close of a setup to yours as possible.

By: Faraz Khan (fkhan) 2008-04-15 23:16:15

I can send you a ldif. OpenLdap setup is stock debian etch with OpenLdap 2.4.3 (release). However the behavior is the same with debian etch's own openldap (2.1 I think it is)

Will send you an appropriate LDIF shortly. Thanks for looking into this.

By: Gavin Henry (suretec) 2008-05-27 04:11:06

Any progress?

By: Tilghman Lesher (tilghman) 2008-07-16 10:40:02

Closed due to lack of response.  If you're able to provide the .ldif, please reopen this issue.  If you need assistance, please contact a bug marshal in #asterisk-bugs on the Freenode IRC network.