[asterisk-users] LDAP
Faraz Khan
faraz.khan at emergen.biz
Thu Mar 6 02:06:14 CST 2008
Please check:
http://bugs.digium.com/view.php?id=12112
which we had to fix ourselves. There are still problems using:
1. patterns in extensions
2. queue members
3. sip.conf, iax.conf, voicemail,etc should all work fine. Note the
schema include with the distribution is invalid for the supplied
res_ldap.conf. You will have to fix the schema yourself or modify
res_ldap.conf to match your schema.
the multi_ldap function in res_config_ldap.c is flawed. Any call to
this function will result in no matches being returned.
Quoting Gonzalo Servat <gservat at gmail.com>:
> Hi again :)
>
> I've downloaded, compiled & installed 1.6.0-beta4 --with-ldap. After a few
> hours of messing with it, I've managed to get it to say that it has
> connected successfully to the LDAP backend (by looking at the output of
> "realtime ldap status").
>
> I've modified extconfig.conf to what it should be (after reading many
> different configs on the subject). The trouble I'm having now is actually
> authenticating with a SIP user. I am running slapd in debug mode (slapd -d
> 4095) and I would have expected to see lots of activity on the console when
> I attempt to authenticate as a SIP user, but I see none at all. Is this
> normal?
>
> Thanks!
>
> Regards,
> Gonzalo
>
> On Thu, Mar 6, 2008 at 12:37 AM, Gonzalo Servat <gservat at gmail.com> wrote:
>
>> Hi All,
>>
>> I've just compiled Asterisk 1.4.18 and I'm planning on using an LDAP tree
>> where the users will each have their account, SIP username/password,
>> extension number, context, etc. My first question is: can this be done with
>> 1.4.x? If so, where can I get the res_config_ldap from??
>>
>> I googled quite a bit and found a res_config_ldap that looks to be coded
>> for 1.2. Is anyone running Asterisk with LDAP? Is it stable?
>>
>> Thanks in advance.
>>
>> Regards,
>> Gonzalo
>>
>
--
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
www.emergen.biz
More information about the asterisk-users
mailing list