|Summary:||ASTERISK-11646: Authentication for the SIP client through LDAP|
|Date Opened:||2008-03-15 04:42:46||Date Closed:||2011-06-07 14:00:55|
I had asterisk 1.4.17 with the extensions which is configured in the sip.conf it was working fine.
Now I am having the requirement to authenticate the SIP users through the OpenLDAP not through the sip.conf.
Steps I have done :
Did a check out by using the following command,
then given configure, make , make install. and taken the sample ldap configuration file and changed host and dn configuration.
then in the /etc/asterisk/modules.conf file given load => res_config_ldap.so
then executed asterisk.
*CLI> module show like ldap
Module Description Use Count
res_config_ldap.so LDAP realtime interface 0
1 modules loaded
then I gave a command ,
*CLI> realtime ldap status
Command 'realtime ldap status' failed.
In the log file the information is available is ,
[Mar 15 14:12:41] VERBOSE logger.c: == Parsing '/etc/asterisk/res_ldap.conf': [Mar 15 14:1
2:41] VERBOSE logger.c: == Found
[Mar 15 14:12:41] WARNING res_config_ldap.c: No directory port found, using 389 as default.
[Mar 15 14:12:41] WARNING res_config_ldap.c: bind failed: Invalid DN syntax
[Mar 15 14:12:41] WARNING res_config_ldap.c: Couldn't establish connection. Check debug.
[Mar 15 14:12:41] NOTICE config.c: Registered Config Engine ldap
[Mar 15 14:12:41] VERBOSE logger.c: LDAP RealTime driver loaded.
[Mar 15 14:12:41] VERBOSE logger.c: res_config_ldap.so => (LDAP realtime interface )
when i put telnet to the ldap server ip to the port number 389 it is connecting.
Please tell me the steps I have done .. is it right?
I think many people made this to work...
If you give some way to go about do this , it would be very helpful for me..
Thanks in advance
|Comments:||By: Russell Bryant (russell) 2008-03-15 12:55:56|
The bug tracker is not a support forum ...