[latest cvs] rpcclient "sam*" commands have GNU readline completion

Luke Kenneth Casson Leighton lkcl at samba.org
Sun Oct 31 03:06:25 GMT 1999


On Sun, 31 Oct 1999, Tim Potter wrote:

> Luke Kenneth Casson Leighton writes:
> 
> > what else can i add.... hmm... weeeellll... if i added a command to
> > terminate file connections / sessions....  if i added a command to delete
> > shares.... how about a shareinfo command...
> 
> How about starting/stopping services?  I've been looking at this for a
> couple of months but every time I get a bit of spare time, it takes me
> exactly that amount of time to work out where I got to previously.
> )-:
> 
> I've basically tried to implement the ControlService WIN32 function
> but there seems to be some problem with my implementation.  I think
> I'm getting my service handles and policy handles mixed up.

BOOL ControlService(HND *pSvcHandle, DWORD dwControl, SERVICE_STATUS
*pServiceStatus);

tim, tim, i'm disappointed in you, that's an easy one, particularly as
SERVICE_STATUS is already implemented in svc_query_status_cfg() :)

luke



More information about the samba-technical mailing list