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

Re: Red Hat RPM Install Woes



Hi Dirk,

On Sun, 19 Aug 2001, Dirk Datzert wrote:

> to verify if slapd listen on port 389 just type:
>
> netstat -lp | grep 389

It's there:

tcp        0      0 *:ldap                  *:*                     LISTEN      6668/slapd

> set 'defaultaccess read' into slapd.conf

Done.

> set the 'base' in ldap.conf to the same as 'suffix' in slapd.conf.

Okay. I have:

  base o=SourceForge Internal Service,c=DE

I also tried quoting the value because of the spaces:

  base 'o=SourceForge Internal Service,c=DE'

> set the 'scope' in ldap.conf to 'sub'

Done.

> Do a search like this:
>
> ldapsearch -x -d 255 -b 'suffix or base' -s sub objectclass=*
>
> What ist the output ? Can you see an error ?

Here's the full output:

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
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_int_sasl_open: davesetup
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ber_flush: 14 bytes to sd 3
  0000:  30 0c 02 01 01 60 07 02  01 03 04 00 80 00         0....`........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 60 07 02  01 03 04 00 80 00         0....`........
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: Sun Aug 19 13:36:16 2001

** 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
do_ldap_select
read1msg: msgid 1, all 1
ber_get_next
ldap_read: want=1 error=Connection reset by peer
ber_get_next failed.
ldap_perror
ldap_bind: Can't contact LDAP server

Thanks,
David

_________________________________________________________________________
David Coppit - Ph.D. Candidate         david@coppit.org
The University of Virginia             http://coppit.org/
    "Yes," said Piglet, "Rabbit has Brain." There was a long silence.
"I suppose," said Pooh, "that that's why he never understands anything."