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: [email protected]
mail: [email protected]
userPassword:: e2NyeXB0fSQxJGl2TmhQTFdiJG9uWE9tcRTGDGDGtttdgGViLz A=

Did I miss something ?

Thanks for your help.

Best Regards

-- 
John
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to