[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
new code for slapd as NT service
I have just pushed code to allow slapd to run as an NT service.
Thanks to Paul Higgs for his submissions. I've modified things
to try to make the NT service routines shareable between slapd
and slurpd (when it's ported). This code is _very_ experimental.
Please report any problems you find. Thanks.
To install slapd as service OpenLDAP:
slapd install
To remove OpenLDAP service:
slapd remove
To start the service:
net start OpenLDAP
To stop the service:
net stop OpenLDAP
This new version will get the port, debug level and config file
name from the registry at:
HKEY_LOCAL_MACHINE\SOFTWARE\OpenLDAP\Parameters\Port:REG_DWORD
DebugLevel:REG_DWORD
ConfigFile:REG_SZ
There's not much checking, so be sure to make the value the right
type. A simple app to set up the parameters will be forthcoming
(sometime).
o _______________ Gary Williams SAS Institute Inc.
/\_ _| | Gary.Williams@sas.com SAS Campus Dr.
_\__`[_______________| 919-677-8000 x4059 Cary, NC 27513
] [ \, ][ ][