That looks perfect.

How do I tell it which server to use? At the moment I think it's assuming localhost and just giving:

$ wbinfo -s S-1-5-21-484763869-1275210071-682003330-23849
Could not lookup sid S-1-5-21-484763869-1275210071-682003330-23849

The other (Windows) tools I've used need an SID and an IP of a server, but I can't see the option in the manpage for wbinfo for a server.

Toby

On Thu, 8 Oct 2009, Alexander Födisch wrote:

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

Best




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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to