In the past we used winbind to integrate our RedHat servers with the Active Directory, we switched to using realmd and sssd. winbind provides a tool wbinfo to query user/group properties.

e.g. wbinfo --uid-info id

Does sssd provide a similar tool ?

I installed sssd-tools but that seems to be a collection of tools to add/delete/modify users and groups.

I need to translate a uid provided by smbstatus into a username

  • I use wbinfo mainly to list all groups that are available... I don't think the answer "use getent and id" will cut it to replace wbinfo. Jul 22, 2020 at 13:58

1 Answer 1


probably getent for user information en good old id:

$ getent passwd user2
user2:*:1076200005:1076200005:ipa user:/home/user2:/bin/sh
$ id user2
uid=1076200005(user2) gid=1076200005(user2) groups=1076200005(user2)

Used against a ipa server, no kerberos trusts with AD, but should work the same.

  • Thanks, I tested it and both getent passwd uid and id uid work Aug 5, 2016 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.