Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 1997 11:17:18 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ldap-3.3 broken on FreeBSD 2.2.5-STABLE?
Message-ID:  <19971213111718.29718@emu.sourcee.com>

next in thread | raw e-mail | index | archive | help
After I cvsup'd RELENG_2_2 on December 11, 1997, slapd (ldap-3.3) is 
no longer working; it was running fine on FreeBSD 2.2.2-RELEASE. I have 
rebuilt the current port, tried the current package, but the result is 
the same. Following is the output (rather lengthy) from slapd, ldapsearch,
and ktrace/kdump.

Running slapd -f slapd.conf -d255 reports the following repetitious 
message.

  listening for connections on 3, activity on:
  before select active_threads 0
  select failed errno 9 (Bad file descriptor)

After running ktrace on slapd, kdump reports the following repetitiously.

  5916 slapd    RET   select 0
  5916 slapd    CALL  select(0x400,0xefbfd5a8,0xefbfd588,0,0xefbfd56c)
 
Running ldapsearch -d255 -h 127.0.0.1 'objectclass=*' hangs after
  ldap_open( 127.0.0.1, 389 )
  ldap_open
  ldap_init
  open_ldap_connection
  connect_to_host: 127.0.0.1:389
  sd 3 connected to: 127.0.0.1
  ldap_open successful, ld_host is (null)
  ldap_bind_s
  ldap_simple_bind_s
  ldap_simple_bind
  send_initial_request
  send_server_request
  ber_flush: 14 bytes to sd 3
         0 0c 02 01 01  ` 07 02 01 02 04 00 80 00
  ldap_result
  wait4msg (infinite timeout)
  ** Connections:
  * host: 127.0.0.1  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Sat Dec 13 10:35:14 1997

  ** Outstanding Requests:
   * msgid 1,  origid 1, status InProgress
     outstanding referrals 0, parent count 0
  ** Response Queue:
     Empty
  do_ldap_select

I can connect fine to other servers which are running 2.2.2-RELEASE.

I can post my slapd.conf and ldif files if necessary -- they're omitted
from this post as I felt it was already much too long. :-(
 
I'm at a loss on how to proceed from here. Any help will be *greatly*
appreciated. 
-- 
Regards,
Norman C. Rice, Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971213111718.29718>