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

Re: killall slapd and ldap stop - slapd and ldap start | what is wrong ?



Hello Dirk,

With your recommandation (add -s sub to ldapsearch command)

TEST 1 (with ldap start) -> no success   (no such object)
TEST 2 (with slapd)      -> success      (all entries in database)


slapadd is not functionning with ldap (stop|start) !?!

Fabrice

From: Dirk Datzert <dirk.datzert@rasselstein-hoesch.de>
To: Fabrice Nouet <f_nouet@hotmail.com>
Subject: Re: killall slapd and ldap stop - slapd and ldap start | what is wrong ?
Date: Thu, 23 Aug 2001 12:06:08 +0200


Hello Fabrice,

try:

ldapsearch -x -b o=top -s sub -LLL objectclass=*

What is the result ?

Regards,
Dirk

Fabrice Nouet schrieb:

> A french "Bonjour",
>
> I use openldap 2.0.7-14
> I have notice a strange problem using /etc/rv.d/init.d/ldap
>
> Test 1:
> -------
>
> /etc/rc.d/init.d/ldap stop
> /usr/sbin/slapadd -l ldifv3.ldif
> /etc/rc.d/init.d/ldap start
>
> ldapsearch -x objectclass=* -b o=top -LLL => no such object
>
> I didnot understand so I try this below:
>
> Test 2:
> -------
>
> killall slapd
> /usr/sbin/slapadd -l ldifv3.ldif
> slapd
>
> ldapsearch -x objectclass=* -b o=top -LLL => all entries in database
>
> Is someone found the same behavior ?
> What is wrong ?
>
> Thanks in advance !
> Fabrice
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
Dirk Datzert

Rasselstein Hoesch GmbH
Informatik / Anwendungsentwicklung
D-56626 Andernach
Koblenzer Strasse 141

http://www.rasselstein-hoesch.de

Tel.: +49 (0) 2631 81-4595
Fax.: +49 (0) 2631 81-15-4595
mailto:Dirk.Datzert@rasselstein-hoesch.de

<< smime.p7s >>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp