[asterisk-bugs] [Asterisk 0012218]: Authentication for the SIP client through LDAP

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Mar 15 04:42:48 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12218 
====================================================================== 
Reported By:                sasikala
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12218
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-15-2008 04:42 CDT
Last Modified:              03-15-2008 04:42 CDT
====================================================================== 
Summary:                    Authentication for the SIP client through LDAP
Description: 
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.


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-15-08 04:42  sasikala       Asterisk Version          => SVN             
03-15-08 04:42  sasikala       SVN Branch (only for SVN checkou =>  trunk       
  
======================================================================




More information about the asterisk-bugs mailing list