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

Re: Installation



the "root" in the slapd.conf file is not the same root (uid 0) on the
machine. It's just the administrative dn for the ldap server. You can
have any name in here that you want. see below :

------------------------------------------------------------------------------------
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /home/diefadima/openldap/slapd.at.conf
include         /home/diefadima/openldap/slapd.oc.conf
schemacheck     off
#referral       ldap://root.openldap.org/

pidfile         /home/diefadima/openldap/var/slapd.pid
argsfile        /home/diefadima/openldap/var/slapd.args

loglevel        256


#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=diefadima,dc=mil"
rootdn          "cn=rumplestiltskin,dc=diefadima,dc=mil"
rootpw          anything_you_want
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.
directory       /home/diefadima/openldap/tmp

------------------------------------------------------------------------------------
this is for your ldap server serving deifadima.mil ;-)
the administrative "root" dn is rumplestiltskin, and the pass is
"anything_you_want"
in order to get the server to start on a non-priviliged port, run slapd
with the -p option.
you'll have to take a look at the faq-o-matic to start populating your
database with entries.

BTW,
you're best bet is to post all messages to the list. If you only ask me,
and I'm wrong... well, you get the idea.
-earl

> 
> Thanks for your help, but i need more explanation here for slapd.conf.
> Can i my login name instead root?
> 
> >
> >
> > -earl
> >
> > Diefadima Dioubate wrote:
> > >
> > > Hello,
> > >
> > > I am new to ldap and I m not a manager of my department network but I
> > > need to use ldap for my research. I tried to install it in my account, I
> > >
> > > did several times it is not working.
> > > I don't have any right to copy file in usr/local/ directories.
> > > Can anyone tell me how to change default installation to adapt to my
> > > situation.
> > >
> > > Thank you very much in advance.
> > >
> > > Diefadima D.