Hi, > Try using the core Win32 functions. If I remenber right, if you do not > specify a server name, the API will first try to reconcile the sid to a > local account, then an account on your resource domain, then finally > against domains trusted by your resource domain. It is possible your > problem is trust related. You may need to seed the call with the name > of a BDC in the domain in which the target account lies. [...] > Win32::LookupAccountName($server, $target , $domain, $sid, $sidtype); > Win32::LookupAccountSID($Server, $sid, $account, $domain, $sidtype);
that was the right idea, thanks @James :) One question remains: am I able to determine the right server (or only the domain in which the target account lies) to seed the above call with, with only given the SIDs? Find the logon domain of the granted user is just one of my goals, not a given fact... In most cases it's sufficient to use the resource server as $Server (in above call), but sometimes that fails. regards, Johannes _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
