[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Installing OpenLDAP on Etch



On Fri, 2007-05-04 at 20:54 -0400, Jan Sneep wrote:
> > -----Original Message-----
> > From: Greg Folkert [mailto:greg@gregfolkert.net]
> > Sent: May 4, 2007 4:13 PM
> > To: debian-user@lists.debian.org
> > Subject: Re: Installing OpenLDAP on Etch
> >
> 
> <snip>
> 
> > Then follow your instructions after the "configuring and installing
> > sections" in the guide.
> 
> Nothing seems to be in the same folder that corresponds to the manual ...
> know of any documentation that tells where files were created during the
> Debian install ... the Gnome -> Places -> Find Files is petty useless at
> actually finding anything ... :O(

Location of files won't be exactly like they have them... it not a "word
for word" translation.

IOW, you start here:

        http://www.openldap.org/doc/admin23/slapdconf2.html

Files are not located in /usr/local/etc/openldap/, but are in /etc/ldap.

/usr/local/etc/openldap/slapd.conf is actually /etc/ldap/slapd.conf.

So, in other words, remove the "/usr/local" from the front of the
instructions.

Things that are "supposed to be located" in /usr/local/var will be
located under /var/lib/slapd. In fact /etc/ldap/slapd.conf has the
following directive:

        # Where the database file are physically stored for database #1
        directory       "/var/lib/ldap"

In it. So, things aren't as missing as you thought.

The binaries for all the OpenLDAP stuff will be in /usr/bin
and /usr/sbin (some may even be in /bin or /sbin, depending on thier
actual function, but typically not). Any libraries need for OpenLDAP
will be in /usr/lib/ldap.

All of these changes are due to the File Hierarchy System (to see the
directive do "man hier") as it is applied to Most Distributions. Yes
while confusing, it does allow for making a cohesive system. Where as
using the "/usr/local" directives keep most everything in
"/usr/local/openldap" making a nice little container for everything, it
does make it tougher to make a "good, stable, integrated and
maintainable" system of it.

Also, to figure out exactly "what" was installed and where they are use
the following, in a gnome-terminal:

        dpkg -L slapd | less

and for the ldap-utils do:

        dpkg -L ldap-utils

This will tell you exactly where things are.
-- 
greg, greg@gregfolkert.net

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: