Displaying 1 result from an estimated 1 matches for "generate_random_sid".
Did you mean:
generate_random_guid
2004 Aug 17
1
Chicken-and-egg problem with domain SID
...the box that will be the domain controller. Once the
domain controller is configured, then I'll launch samba on it. Until
that point, I'm just going to be copying configuration files to it.
From reading the source, I think I can just generate a random SID by
calling the equivalent of generate_random_sid(), and converting that to
a string. I think I'll write my own routine to do this (probably in
Python), since I'm not sure about the initialization required to call
generate_random_sid() from my own program.
Does this approach make sense? Am I missing a better solution?
Thanks.
Eric.