listing of daemons running on a unix server

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Dec 17 23:04:37 GMT 1998


On Fri, 18 Dec 1998, Kendrick Vargas wrote:

> On Fri, 11 Dec 1998, Martin Atkins wrote:
> 
> > Kendrick Vargas wrote
> > >...
> > > Maybe there should simply be one script assigned specifically to the
> > > purpose of remote admin by an NT box... That script can return a list
> > > of the services which are available (whatever the admin chooses) and then
> > > a procedure for starting/stopping each one. That way, it's very much
> > > controled. 
> > 
> > Can I add my vote for this as the simplest, transparent, controlable, and
> > machine-independent suggestion I have seen so far...
> 
> Ok... Assuming this is the way you go, what exactly would be necessary.
> I'm simply asking as there doesn't seem to be any further development
> going on regarding this...
> 
> Assuming that a file /usr/local/samba/etc/service-control.conf existed,
> and assuming that a script read that file line by line deciding which
> services were mapped to what, and what could be managed by the NT box...
> what would be the first thing returned to the NT box? 

OpenSCManager(), followed by EnumServices followed by OpenService etc etc.
 
> I mean, assuming the script is called from the NT, it should firt return
> the available services... what format would that be in?

see:

include/rpc_svcctl.h
rpc_parse/parse_svc.c
rpc_server/srv_svcctl.c
rpc_client/cli_svcctl.c
rpcclient/cmd_svcctl.c




More information about the samba-ntdom mailing list