Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openldap/glibc problems?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tpabka
n00b
n00b


Joined: 03 Mar 2004
Posts: 7

PostPosted: Tue Jul 06, 2004 3:03 pm    Post subject: openldap/glibc problems? Reply with quote

Hello.

I'm having a weird problem with openldap.
When I do ldapsearch using hostname I get the following error:

Quote:

at@home% ldapsearch -v -d 255 -H 'ldap://db.debian.org' -b 'dc=debian,dc=org' -x cn=Manager \*
ldap_initialize( ldap://db.debian.org )
ldap_create
ldap_url_parse_ext(ldap://db.debian.org)
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP db.debian.org:389
ldap_connect_to_host: getaddrinfo failed: temporary failure
ldap_perror
ldap_bind: Can't contact LDAP server (81)


When I do ldapsearch using IP address of the host above I get another error:

Quote:

at@home% ldapsearch -v -d 255 -H 'ldap://208.185.25.35' -b 'dc=debian,dc=org' -x cn=Manager \*
ldap_initialize( ldap://208.185.25.35 )
ldap_create
ldap_url_parse_ext(ldap://208.185.25.35)
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP 208.185.25.35:389
ldap_connect_to_host: getaddrinfo ai_addr is NULL?
ldap_perror
ldap_bind: Can't contact LDAP server (81)


Both problems seem to be coming from getaddrinfo which is in glibc.

I did try to reemerge glibc, openldap and even gcc with no success.

The versions of installed packages are as follows:
    sys-devel/gcc-3.3.3-r6
    sys-libs/glibc-2.3.3.20040420
    net-nds/openldap-2.1.30-r1


Any idea would be highly appreciated... as I'm out of *any* ideas.

Thanks,
_________________
AT
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum