[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch hangs



I'm having problems with SASL,

I have: 
openldap 2.1.23
cyrus-sasl-2.1.17_1
db41-4.1.25_1

This mechanisms:
openldap:~# ldapsearch -LLL -x -ZZ -b '' -s base supportedSASLMechanisms
dn:
supportedSASLMechanisms: NTLM
supportedSASLMechanisms: LOGIN
supportedSASLMechanisms: PLAIN
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5


But when I try to use SASL ldapsearch hangs forever without much
information, this are the last lines of a ldapsearch:

openldap:~# ldapsearch -d -1 -LLL -ZZ -b '' -s base  \
supportedSASLMechanisms

.....
ldap_interactive_sasl_bind_s: server supports: NTLM LOGIN PLAIN
DIGEST-MD5 CRAM-MD5
ldap_int_sasl_bind: NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
SASL/DIGEST-MD5 authentication started
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 26 bytes to sd 3
  0000:  30 18 02 01 03 60 13 02  01 03 04 00 a3 0c 04 0a  
0....`..........  
  0010:  44 49 47 45 53 54 2d 4d  44 35                    
DIGEST-MD5        
tls_write: want=90, written=90
  0000:  17 03 01 00 20 7f 28 39  95 30 1c ac c3 23 ec f2   ....
.(9.0...#..  
  0010:  b8 8c 60 5a 6e d6 15 e8  da 89 fd cf 86 1a f9 96  
..`Zn...........  
  0020:  24 32 d7 ce 47 17 03 01  00 30 bd ce 4f b7 21 9f  
$2..G....0..O.!.  
  0030:  64 24 e7 23 ad 5c 41 6a  3b a8 a0 7c fe 2f ca 2d  
d$.#.\Aj;..|./.-  
  0040:  3d f4 2e e5 6b c5 8a 4f  51 ed 04 aa 04 5a f4 5d  
=...k..OQ....Z.]  
  0050:  49 a4 f0 69 3e 30 38 85  a6 09                    
I..i>08...        
ldap_write: want=26, written=26
  0000:  30 18 02 01 03 60 13 02  01 03 04 00 a3 0c 04 0a  
0....`..........  
  0010:  44 49 47 45 53 54 2d 4d  44 35                    
DIGEST-MD5        
ldap_result msgid 3
ldap_chkResponseList for msgid=3, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 3
wait4msg continue, msgid 3, all 1
** Connections:
* host: openldap.hostarica.net  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Fri Mar 19 14:34:51 2004

** Outstanding Requests:
 * msgid 3,  origid 3, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=3, all=1
ldap_chkResponseList returns NULL
ldap_int_select


This is on the server side:
Mar 19 14:35:59 openldap slapd[24822]: conn=16 fd=29 ACCEPT from
IP=192.168.0.166:1093 (IP=0.0.0.0:389) 
Mar 19 14:35:59 openldap slapd[24822]: conn=16 op=1 SRCH base="" scope=0
filter="(objectClass=*)" 
Mar 19 14:35:59 openldap slapd[24822]: conn=16 op=1 SRCH
attr=supportedSASLMechanisms 
Mar 19 14:35:59 openldap slapd[24822]: conn=16 op=1 RESULT tag=101 err=0
text= 
Mar 19 14:35:59 openldap slapd[24822]: conn=16 op=2 BIND dn=""
method=163 

Any idea why is ldapsearch not working ?

tks

-- 

Ing. Jose Hidalgo Herrera
IT Developer
PGP: 15524480 
E: jose@hostarica.com