[Asterisk-Users] LDAP direct authentication Problem
Manuel Guesdon
ml+asterisk.users at oxymium.net
Thu Jan 19 04:20:18 MST 2006
Hi,
On Wed, 18 Jan 2006 18:50:33 +0530 Chandan Mishra <chandan.iitr at gmail.com> wrote:
>| Hi
>| I need to authenticate all the asterisk users from the LDAP server instead
>| of from sip.conf.
>| If anybody already have done this then please guide.
>|
>| I tried to integrate authenticate asterisk users from LDAP using the open
>| source project astirectory1.2.0.
>| After using the astirectory1.2.0 , now when the asterisk starts then it
>| registeres with the LDAP. Following logs shows it.
>|
>| Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:641 parse_config: LDAP
>| RealTime Host: ldap://192.168.0.16
>| Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:642 parse_config: LDAP
>| RealTime User: synapse\dirsearch
>| Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:643 parse_config: LDAP
>| RealTime Base DN: dc=synapse,dc=com
[...]
>| actually ldap_search_s(ldap, ldapbasedn, LDAP_SCOPE_ONELEVEL, query2, NULL,
>| 0, &res) function is not execution successfully in the file
>| res_config_ldap.c.
>|
>| I am not able to find the reason.
There's a problem with base dn configuration when you have multiple parts (dc=,dc=).
I have to submit a fix (really soon now :-)
Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <mguesdon at oxymium.net>
14 rue Jean-Baptiste Clement - 93200 Saint-Denis - France
Standard: +33 811 093 286 - Fax: +33 1 7473 3971 - LD: +33 1 7473 3980
More information about the asterisk-users
mailing list