How to manually restart Directory Services?

Status
Not open for further replies.

andriy_

Cadet
Joined
Aug 21, 2018
Messages
6
Hello

I need to "emulate" Directory / Active Directory / "Enable" checkbox and "Save" button action via the command line, other words - how to restart Directory Services daemon via the CLI?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
/etc/directoryservice/ActiveDirectory/ctl restart. That's not guaranteed to work in all future versions of the product, but will work in 11.1 and 11.2 (don't know about U-releases), and gives useful output.

Eventually we want to move away from this and put it into the middleware. The command for middleware is midclt call service.restart activedirectory
 
Status
Not open for further replies.
Top