samba4: wrong SERVICE_STATE_ALL constant in svcctl.idl

Tim Potter tpot at samba.org
Thu Apr 28 00:53:21 GMT 2005


On Wed, 2005-04-27 at 13:48 -0400, Karl Melcher wrote:
> The constant:
> 	const int SERVICE_STATE_ALL      = 0x00;
> in librpc/idl/svcctl.idl (around line 47) should have a value of 3.
> This is the "or" of
>         SERVICE_STATE_ACTIVE   = 0x01; 
>         SERVICE_STATE_INACTIVE = 0x02;
> 
> This will greatly affect the quantity of service stati returned by the
> dcerpc_svcctl_EnumServicesStatus calls.

I'm not sure it's the logical or of active and inactive (what does being
both active and inactive mean?) but it's the correct value for that
constant.

Thanks for spotting it.  I've checked the change in.


Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050428/aa415cfc/attachment.bin


More information about the samba-technical mailing list