I need to convert binary SIDs (Microsoft Security Identifiers) to the text format - the S-1-etc-etc format. I have Dave Roth's Win32::Perms package but the binary SIDs are from a domain that I cannot see using Win32 - my domain trusts it but it does not trust mine. Win32::Perms can't look up the SID using the account name as I have to run the Perl script using a user from my domain, not the foreign one.
I can get the binary SIDs using LDAP queries as a user in the foreign domain. Now I need to convert them to text. Can someone help me? I looked inside perms.pm to see if there was a function for doing the conversion, but I assume the underlying .dll is simply calling the Microsoft API. Any help would be appreciated. jj John Thayer Jensen, System Administrator, Computing Service, The University of Auckland Business School Room 256, 15 Wynyard Street voice: +64 9 373-7599 ext 87543 FAX: +64 9 373-7696 mobile: +64 21 049-7702 quickdial: 60001 http://staff.business.auckland.ac.nz/~j.jensen _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
