Displaying 1 result from an estimated 1 matches for "snip_end".
Did you mean:
skip_env
2008 Nov 14
2
string_to_sid: Sid MYDOMAIN\mygroup does not start with 'S-'.
...is
not >= 2^32 */
uint32 conv;
if ((sidstr[0] != 'S' && sidstr[0] != 's') || sidstr[1] != '-')
{
DEBUG(3,("string_to_sid: Sid %s does not start with
'S-'.\n", sidstr));
return False;
}
<snip_end>
QUESTION: It looks to me as though this function is designed to convert
a string such as MYDOMAIN\user into a SID starting with S-. Obviously
the string it is supposed to convert FROM would not start with "S-"
because that's what the string is supposed to be converted TO. So why...