Displaying 1 result from an estimated 1 matches for "sid_compare_domain".
2005 Aug 24
6
Wbinfo -Y couldn't work with idmap_rid for BUILTIN groups
...single domain, and captures workgroup's
domain sid as a real domain sid in rid_idmap_get_domains(), when running
"wbinfo -Y BUILTIN/System Operators", the function
rid_idmap_get_id_from_sid() checks if incoming sid is same with
workgroup domain sid by following comparison:
470 if ( sid_compare_domain(sid, &sidstr) == 0 )
This would let the first "for" loop continue to go to the end, and make
the loop variable i equal to trust.number(=1). And the code after the
loop
474 if (i == trust.number) {
475 DEBUG(0,("rid_idmap_get_id_from_sid: no suitable
range a...