[asterisk-bugs] [Asterisk 0012211]: The LDAP version is not taken into account

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Mar 14 06:49:24 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12211 
====================================================================== 
Reported By:                sylvain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12211
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 108395 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-14-2008 05:00 CDT
Last Modified:              03-14-2008 06:49 CDT
====================================================================== 
Summary:                    The LDAP version is not taken into account
Description: 
if a version of LDAP protocol is set in general like here:
[_general]
host=linuxsde ; LDAP host(s)
port=10389 ;
protocol=3 ; Version of the LDAP protocol to use default is 3.
basedn=system ; Base DN
pass=secret ; Bind password
user=admin ; Bind DN

it is not taken into account and the protocol version is 2.
After code investigation, it seems that "version" is not read. I give in
additionnal Information the patch which make it work for 1.6.0 branch (with
previous patch making ldap working with unstandard port)
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 03-14-08 06:49  
---------------------------------------------------------------------- 
sylvain, patches should NEVER be posted in bug report or notes in a bug
report.
You should attach the change in code via the 'upload file' section and
tick 'code or documentation submission'
This is required for legal reasons from digium's licensing department 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-14-08 06:49  snuffy         Note Added: 0083940                          
======================================================================




More information about the asterisk-bugs mailing list