[asterisk-bugs] [Asterisk 0012601]: Will not bind anonymously

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 7 16:25:50 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12601 
====================================================================== 
Reported By:                suretec
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12601
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 115506 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-07-2008 10:31 CDT
Last Modified:              05-07-2008 16:25 CDT
====================================================================== 
Summary:                    Will not bind anonymously
Description: 
When settings are such:

[_general]
;
; Specify one of either host and port OR url.  URL is preferred, as you
can
; use more options.
;host=192.168.1.1                    ; LDAP host
;port=389
url=ldap://127.0.0.1:389
protocol=3                  ; Version of the LDAP protocol to use; default
is 3.
basedn=dc=example,dc=com 

An anon bind fails, and OpenLDAP logs show:

May  7 16:34:23 localhost slapd[14694]: slapd starting 
May  7 16:34:29 localhost slapd[14694]: conn=0 fd=12 ACCEPT from
IP=127.0.0.1:36139 (IP=0.0.0.0:389) 
May  7 16:34:29 localhost slapd[14694]: bind: ber_scanf failed 
May  7 16:34:29 localhost slapd[14694]: conn=0 op=0 DISCONNECT tag=120
err=2 text=decoding error 
May  7 16:34:29 localhost slapd[14694]: conn=0 fd=12 closed (operations
error) 
====================================================================== 

---------------------------------------------------------------------- 
 suretec - 05-07-08 16:25  
---------------------------------------------------------------------- 
I'm switching this build to svn for now, so I can really test res_ldap.

Will keep you posted. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-07-08 16:25  suretec        Note Added: 0086570                          
======================================================================




More information about the asterisk-bugs mailing list