6

What's the easy way to do this?

2 Answers 2

13
yum list installed

will show you if it's installed.

chkconfig --list

will show you if the service is running (might be called slapd)

Config will be somewhere like /etc/openldap/* and you can see if it's been configured.

Test it by querying it with something like:

ldapsearch -x -b 'dc=mycompany,dc=com' 'objectclass=*'

but you might have to know how it's (supposed to be) configured to know what to search for.

http://home.roadrunner.com/~computertaijutsu/ldap.html

1
  • 1
    @TessellatingHeckler: Thanks, very high quality answer!! Cheers!!
    – blunders
    Oct 22, 2010 at 3:16
4

Another way would be:

pidof slapd

If this results in an integer (the PID of the process), you have a running OpenLDAP server. If there is no output, it's not running.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .