Link to home
Start Free TrialLog in
Avatar of themire
themire

asked on

Missing Ldap slapd file

My server is running Linux 7.3 which comes with ldap pre-installed. However, I can't seem to find the slapd daemon to start ldap despite all the tutorials saying the slapd will be in /etc/rc.d/init.d/slapd by default. Does anyone know what my problem is?
Avatar of themire
themire

ASKER

[root@wiggum openldap]# cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[root@wiggum openldap]# ls
ldap.conf  ldapfilter.conf  ldapsearchprefs.conf  ldaptemplates.conf
[root@wiggum openldap]# pwd
/etc/openldap

According to the Redhat Linux 7.3 Official Reference Guide, there should be a file called slapd.conf and a directory called schema within /etc/openldap. I've tried installing the rpm's but i am told they are already installed.
ASKER CERTIFIED SOLUTION
Avatar of majorwoo
majorwoo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi themire,

you can find the "slapd" daemon by running this command.

[user@localhost albay$] whereis slapd

it is usually found in "/usr/local/libexec/slapd" or "/usr/libexec/slapd" or /usr/sbin/slapd".

and try to execute slapd within these locations.

and you can debug it with "-d 255" for full debugging.

if something goes wrong, check out the slapd.conf

Good luck.
Avatar of themire

ASKER

Thanks, I was missing the "openldap-servers....rpm". This contained the slapd daemon.