[Samba] Getting a Windows username from an SID with Samba/Winbind

Alexander Födisch foedisch at eva.mpg.de
Thu Oct 8 04:12:55 MDT 2009

wbinfo -s <SID> is what you are looking for.


Toby Newman schrieb:
> I am running Linux in a corporate windows environment.
> I need to convert user's Active Directory security identifiers (SIDs) to 
> usernames, for example S-1-5-21-484763869-1275210071-682003330-34567 to 
> mydomain\jbloggs.
> There are a few Windows tools that do this like SIDDecode and SidToName, 
> but they don't work under wine.
> I've been reading about Winbind and Samba and it seems it may be 
> possible to achieve this with those. Does anyone here know how?
> Many thanks,
> Toby Newman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5905 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20091008/c063ec6b/attachment.bin>

More information about the samba mailing list