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

Re: (ITS#4164) ldap_bind failed (error no. 0x28)



Compilation for OpenLDAP libs:

 

env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include" \

LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -lpthread" \
./configure 
 
 
I debug the ldap libs found that socket connection failed ( os-ip.c/ldap_pvt_connect function ).
 
Place where socket connect system calls failed: if ( connect(s, sin, addrlen) != AC_SOCKET_ERROR ) 
 
Socket "connect" call returns error number 40 = 0x28 , that's a security code). 
 
When i am calling from main routine, then it doesn't fail. 
 
I tried with diffrent option but doesn't work.
 
 
 
-Sunil
 
  

		
---------------------------------
 Enjoy this Diwali with Y! India Click here