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

RE: Install problems



I actually missed a step in the build.  I forgot to do a make test.
Here are the results:

# make test
cd tests; make test
make[1]: Entering directory `/usr/src/openldap/openldap-2.2.17/tests'
make[2]: Entering directory `/usr/src/openldap/openldap-2.2.17/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse (exit 1)
make[2]: Leaving directory `/usr/src/openldap/openldap-2.2.17/tests'
make[1]: Leaving directory `/usr/src/openldap/openldap-2.2.17/tests'


David Sonenberg
Systems / Network Administrator
Stroz Friedberg, LLC
15 Maiden Lane, Suite 1208
New York, NY  10038
212.981.6527 (o)  |  917.495.4918 (c)

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org] 
Sent: Tuesday, December 28, 2004 3:56 PM
To: David Sonenberg
Cc: OpenLDAP-Software@OpenLDAP.org
Subject: Re: Install problems

Have you tried the OpenLDAP Quick Start Guide?

Kurt

At 11:37 AM 12/28/2004, David Sonenberg wrote:
>I've configured my ldap server as per the gentoo howto and the samba 
>howto, but I can't seem to connect to it with ldapsearch. I'm running 
>on a private network and the hostname domain doesn't match the dc=. 
>Does the dc have to be the same as the domain name? Anyway here's the 
>error message
>
>ldapsearch -d 255 -D "cn=Manager, dc=strozllc,dc=com" -W ldap_create 
>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 localhost:389
>ldap_new_socket: 3
>ldap_prepare_socket: 3
>ldap_connect_to_host: Trying 127.0.0.1:389
>ldap_connect_timeout: fd: 3 tm: -1 async: 0
>ldap_ndelay_on: 3
>ldap_is_sock_ready: 3
>ldap_ndelay_off: 3
>ldap_open_defconn: successful
>ldap_send_server_request
>ber_flush: 51 bytes to sd 3
>0000: 30 31 02 01 01 60 2c 02 01 03 04 1d 63 6e 3d 4d 01...`,.....cn=M
>0010: 61 6e 61 67 65 72 2c 64 63 3d 73 74 72 6f 7a 6c anager,dc=strozl
>0020: 6c 63 2c 64 63 3d 63 6f 6d 80 08 73 66 6c 6c 63 lc,dc=com..sfllc
>0030: 32 6b 34 2k4
>ldap_write: want=51, written=51
>0000: 30 31 02 01 01 60 2c 02 01 03 04 1d 63 6e 3d 4d 01...`,.....cn=M
>0010: 61 6e 61 67 65 72 2c 64 63 3d 73 74 72 6f 7a 6c anager,dc=strozl
>0020: 6c 63 2c 64 63 3d 63 6f 6d 80 08 73 66 6c 6c 63 lc,dc=com..sfllc
>0030: 32 6b 34 2k4
>ldap_result msgid 1
>ldap_chkResponseList for msgid=1, all=1 ldap_chkResponseList returns 
>NULL wait4msg (infinite timeout), msgid 1 wait4msg continue, msgid 1, 
>all 1
>** Connections:
>* host: localhost port: 389 (default)
>refcnt: 2 status: Connected
>last used: Tue Dec 28 12:00:51 2004
>
>** Outstanding Requests:
>* msgid 1, origid 1, status InProgress
>outstanding referrals 0, parent count 0
>** Response Queue:
>Empty
>ldap_chkResponseList for msgid=1, all=1 ldap_chkResponseList returns 
>NULL ldap_int_select
>read1msg: msgid 1, all 1
>ber_get_next
>ldap_read: want=8, got=0
>
>ber_get_next failed.
>ldap_perror
>ldap_bind: Can't contact LDAP server (-1)
>
>David Sonenberg
>Systems / Network Administrator
>Stroz Friedberg, LLC
>15 Maiden Lane, Suite 1208
>New York, NY  10038
>212.981.6527 (o)  |  917.495.4918 (c)