How to determine if a SID is group or user?
Marc_Jacobsen at hp.com
Thu Nov 9 19:47:20 GMT 2000
Programmatically, you can do a sid_split_rid() on the sid to get the rid, then
do a pdb_rid_is_user() to determine if the rid is a user's or a group's.
John M Trostel wrote:
> How would I figure out if a specific ACE entry pertains to a group or a
> I can go in and look at the uid and/or gid with sid_to_uid or sid_to_gid
> (from the ace), but there must be some way to differentiate between the
> group and user ace's.
> John M. Trostel
> Linux OS Engineer
> jtrostel at connex.com
More information about the samba-technical