Author: jerry Date: 2005-09-16 19:31:41 +0000 (Fri, 16 Sep 2005) New Revision: 10274
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10274 Log: * server side code from controlling services ------- $ bin/net -S localhost -U jerry rpc service status postfix postfix service is stopped. Configuration details: Service Type = 0x10 Start Type = 0x3 Error Control = 0x1 Tag ID = 0x0 Executable Path = /opt/samba/lib/svcctl/postfix Load Order Group = Dependencies = Start Name = LocalSystem Display Name = Postfix Mailer $ bin/net -S localhost -U jerry rpc service start postfix Successfully started service: postfix $ bin/net -S localhost -U jerry rpc service status postfix postfix service is running. Configuration details: Service Type = 0x10 Start Type = 0x3 Error Control = 0x1 Tag ID = 0x0 Executable Path = /opt/samba/lib/svcctl/postfix Load Order Group = Dependencies = Start Name = LocalSystem Display Name = Postfix Mailer $ bin/net -S localhost -U jerry rpc service stop postfix postfix service is stopped. ------- 'Nough said..... Modified: trunk/source/include/rpc_svcctl.h trunk/source/rpc_client/cli_svcctl.c trunk/source/rpc_server/srv_ntsvcs_nt.c trunk/source/rpc_server/srv_svcctl_nt.c trunk/source/services/services_db.c trunk/source/services/svc_netlogon.c trunk/source/services/svc_rcinit.c trunk/source/services/svc_spoolss.c trunk/source/services/svc_winreg.c Changeset: Sorry, the patch is too large (359 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10274
