VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
sasi_jeyalakshmi at ya... Guest
|
Posted: Mon Mar 17, 2008 6:17 am Post subject: [asterisk-users] ldap for sip users. |
|
|
Hi,
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,
http://svn.digium.com/svn/asterisk/trunk. [^]
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[15306] logger.c: == Parsing
'/etc/asterisk/res_ldap.conf': [Mar 15 14:1
2:41] VERBOSE[15306] logger.c: == Found
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c: No
directory port found, using 389 as default.
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c:
bind failed: Invalid DN syntax
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c:
Couldn't establish connection. Check debug.
[Mar 15 14:12:41] NOTICE[15306] config.c: Registered
Config Engine ldap
[Mar 15 14:12:41] VERBOSE[15306] logger.c: LDAP
RealTime driver loaded.
[Mar 15 14:12:41] VERBOSE[15306] 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
sasikala.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs |
|
Back to top |
|
|
faraz.khan at emergen.biz Guest
|
Posted: Mon Mar 17, 2008 10:34 am Post subject: [asterisk-users] ldap for sip users. |
|
|
Please check this updated Link:
http://www.voip-info.org/wiki/view/LDAP
Quoting sasikala kala <sasi_jeyalakshmi at yahoo.com>:
Quote: | Hi,
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,
http://svn.digium.com/svn/asterisk/trunk. [^]
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[15306] logger.c: == Parsing
'/etc/asterisk/res_ldap.conf': [Mar 15 14:1
2:41] VERBOSE[15306] logger.c: == Found
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c: No
directory port found, using 389 as default.
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c:
bind failed: Invalid DN syntax
[Mar 15 14:12:41] WARNING[15306] res_config_ldap.c:
Couldn't establish connection. Check debug.
[Mar 15 14:12:41] NOTICE[15306] config.c: Registered
Config Engine ldap
[Mar 15 14:12:41] VERBOSE[15306] logger.c: LDAP
RealTime driver loaded.
[Mar 15 14:12:41] VERBOSE[15306] 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
sasikala.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
-- 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
|
--
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
www.emergen.biz |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|