[asterisk-users] Asterisk & LDAP authentification
Jonathan Barou
jbarou at sqli.com
Thu Jan 21 04:50:41 CST 2010
Hi everybody,
I would like to use realtime authentification with my LDAP.
My Asterisk is v. 1.6.1.12. I'm using OpenLDAP
The command realtime ldap status is OK.
I have configure these files :
/etc/asterisk/extconfig
/etc/asterisk/res_ldap.conf
/etc/asterisk/extensions.ael
I do nothing and I have that in my console :
[Jan 21 10:41:48] WARNING[30020]: res_config_ldap.c:809
realtime_ldap_base_ap: Failed to query database. Check debug for more
info.
[Jan 21 10:41:48] WARNING[30020]: res_config_ldap.c:810
realtime_ldap_base_ap: Query: (&(uid=)(ldapauth.toto.com=dynamic))
[Jan 21 10:41:48] WARNING[30020]: res_config_ldap.c:811
realtime_ldap_base_ap: Query Failed because: Bad search filter
Did I have to configure LDAP schema ?
For example when I did a ldapsearch from my server my response is like that
:
dn: uid=toto,ou=PersonToto,o=toto,c=com
objectClass: inetOrgPerson
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: posixAccount
objectClass: totoPerson
objectClass: rolodapUser
objectClass: sambaSamAccount
uid: toto
sn: toto
givenName: tati
personidsite: 26
cn: tati toto
gidNumber: 1000
uidNumber: 8019
alias: tati.toto at toto.com
mail: ttoto at toto.com
userPassword:: e2NyeXB0fSQxJGl2TmhQTFdiJG9uWE9tcRTGDGDGtttdgGViLz A=
Did I miss something ?
Thanks for your help.
Best Regards
--
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100121/5f6ac079/attachment.htm
More information about the asterisk-users
mailing list