mohamedrabeek has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, Using Net::LDAP I am able to get the objectSid attribute of a domain group in Windows 2003. However the objectSid I am getting is not readable. I am not sure what encoding the Windows 2003 is using to store objectSid of a group or user. Would you please tell me how to get the string format of objectSid ? I want something like S-1-5-21-1540925244-2137500752-2460857672-1167 but I am getting a string of machine readable characters. Any ideas please. Thanks & Regards, Mohamed

Replies are listed 'Best First'.
Re: objectSid in Active Directory
by roboticus (Chancellor) on Jan 27, 2009 at 19:34 UTC
      Thanks Roboticus