[Date Prev][Date Next]
Re: LDAPADD command hangs
I tried doing slapd -VV but had this error:-
"[root@openldap root]# slapd -VV
slapd: invalid option -- V
usage: slapd options
-d level Debug Level
-f filename Configuration File
-g group Group (id or name) to ran as
-h URLs List of URLs to serve
-l sysloguser Syslog User (default: LOCAL4)
-n serverName service name
-s level Syslog Level
-u user User (id or name) to ran as
doesn't seem to work.
We originally went for bdb but encountered problems hence we switched to
using ldbm. I can't recall what it was, don't have the log anymore.
Presuming the openldap version is correct. What should I do next ?
Also, I noticed in my slave machine. The CRL data is not the same as what is
in the master. I thought it should be replicating the master. But clearly
its not doing so. How can one troubleshoot this to find out what is going on
----- Original Message -----
From: "Quanah Gibson-Mount" <firstname.lastname@example.org>
To: "Sivasakthi d/o Sivagnanam" <email@example.com>;
Sent: Monday, February 28, 2005 12:26 PM
Subject: Re: LDAPADD command hangs
--On Monday, February 28, 2005 12:03 PM +0800 "Sivasakthi d/o Sivagnanam"
> The openldap version came with the Red Hat Linux installation...that is
> v2.16 according to my administrator.
> However, how can i check this is correct ? what command do i issue ?
Eh, no such thing as OpenLDAP v2.16. I'd bet it is OpenLDAP 2.0.2x.
slapd -VV should show the version.
> In slapd.conf: database = ldbm
> In the slapd.conf...the first line shows : "# $OpenLDAP:
> pkg/ldap/servers/slapd/slapd.conf,v 184.108.40.206 2001/09/27 20:00:31 kurt Exp
Okay, first, I'd suggest building your own OpenLDAP version, and storing it
separately from the system's ancient, deprecated, and unsupported version
of OpenLDAP. Perhaps /usr/local or /opt. And then, I suggest switching to
bdb as your database, not ldbm, which is not a very robust or reliable
database format. You'll need to compile numerous software pieces to do all
this of course. Or, optionally, you can purchase prebuilt distributions
from a company like Symas (http://www.symas.com) if you don't feel like
doing it yourself.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin