2

I have modified ldap.conf and slapd.conf. I'm wondering how I can restart the ldap/client service, filesystem/autofs and name-service/cache.

OS: Solaris 11 but advice on linux should help too

2
  • 1
    Which OS are you using? Commented Aug 19, 2015 at 19:44
  • @SoumyadipDM Solaris 11 Commented Aug 19, 2015 at 19:47

2 Answers 2

4

svcadm restart ldap/client should do the trick. Depending on what you're running you might also need to restart filesystem/autofs

2

To find out the names(FMRI) of the SMF services, you can use svcs -a | grep service_name e.g svcs -a | grep ldap

Once you know the name of the SMF service name, you can use following to restart that svcadm restart ldap

Then you can check the status of the service using svcs ldap

A good guide on SMF can be found here http://www.oracle.com/technetwork/articles/servers-storage-admin/intro-smf-basics-s11-1729181.html

You must log in to answer this question.

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