Re: Which Server one Should Run-SLAPD/LDAP?



On Wed, 2007-10-31 at 06:29 -0700, Jyotishmaan Ray wrote:
Dear ALL,

I would like to know a few things from your end. They are as follows:-

1.

Should We Run SLAPD or LDAP ? And why?

In other words, which command to execute:-

service slapd restart

or

service ldap restart


2.

In my case, i have installed the openldap packages with the help of commands:-

yum install openldap openldap-clients,....


3.

When i tried to execute the comand, service slapd restart, it ddint excute in the
path /sbin.


4. If i have to run ldap then why and if slapd then why ?

Are they all dependent on the operating system etc?


Plus how they are linked to the databases at the backend ??

Like as mentioned in the manual
here the slapd is linked to the LDBM, SHELL and
PASSWD databases?

Next question which database to use in the slapd.conf file ??


Please reply wih all the answers.
----
/sbin/service command executes initscripts that are located
in /etc/rc.d/init.d/ path such as the one that is called ldap which is
the only initscript for openldap-server.

If you examine the contents of /etc/rc.d/init.d/ldap - you will note
that it does a number of things but the least of which is to
start /usr/sbin/slapd in daemon mode.

This is consistent with sysv

openldap version less than or equal to 2.0.x use ldbm
openldap version greater than or equal to 2.2.x use bdb

see openldap admin guide (linked is for version 2.3.x)...

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

Craig

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • OpenLDAP needs X?!
    ... Package: slapd ... Installed-Size: 1768 ... Description: OpenLDAP server. ... Reading Package Lists... ...
    (Debian-User)
  • Which Server one Should Run-SLAPD/LDAP?
    ... Should We Run SLAPD or LDAP? ... When i tried to execute the comand, service slapd restart, it ddint excute in the ... Plus how they are linked to the databases at the backend ?? ...
    (Fedora)
  • Re: sched_yield() makes OpenLDAP slow
    ... > The relative timestamp reveals that slapd is spending 50ms ... > the correct behavior: ... > I also think OpenLDAP is wrong. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • sched_yield() makes OpenLDAP slow
    ... running kernel 2.6.12. ... When a CPU bound process such as GCC is running in the ... slapd side, I see several calls to sched_yieldlike this: ... I also think OpenLDAP is wrong. ...
    (Linux-Kernel)
  • Fwd: Call For Assistance #4 - slapd wont die gracefully, multiple versions.
    ... I've been having this issue with openldap for over a month now and they ... folks at openldap seem to think this may be a FreeBSD issue. ... > If I start slapd and kill it without issuing a transaction to the ... > If I start slapd and issue a transaction to the server, ...
    (freebsd-questions)