How to convert a base64 objectSid to binary equivelent

Опубликовано: 11 Апрель 2026
на канале: DSFWDude
1,277
1

How to convert a base64 objectSid to binary equivelent

How to convert a base64 objectSid to binary equivelent on a DSfW server
Use ldapsearch to return a users objectsid

Example to return all users objectSid:
ldapsearch -Y EXTERNAL -LLL -Q -b "dc=dsfw,dc=lan" -s sub "(&(objectclass=user)(objectSid=*))" objectSid cn

Use base64ToSid.pl script to convert the objectSid to a human readable binary format

Example:
/opt/novell/xad/share/dcinit/base64ToSid.pl AQUAAAAAAAUVAAAAKTj/5bB2AAyQS+IRJysAAA==