broken string_to_sid, sid_to_string
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Wed Nov 25 16:39:28 GMT 1998
On Wed, 25 Nov 1998, Luke Kenneth Casson Leighton wrote:
> jeremy,
>
> as the string_to_sid() functions are broken, there is an opportunity _now_
> to fix them even more proplerly.
>
> these functions read the rid components in decimal, they should not: they
> should read in hex.
>
> can we fix this?
... by reading from SAM.SID (and ignoring MACHINE.SID, or preferably
deleting it) and generating SAM.SID rid components in hex, like they
should be?
the format for S-xxx is S-1-5-20-xxx-yyy-zzz NOT S-1-5-32-xxx-yyy-zzz, and
this is really confusing and wrong.
More information about the samba-technical
mailing list