tpabka n00b
Joined: 03 Mar 2004 Posts: 7
|
Posted: Tue Jul 06, 2004 3:03 pm Post subject: openldap/glibc problems? |
|
|
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 |
|