When using winbind to create users and groups from a domain controller the commands 'wbinfo -u' and 'wbinfo -g' work, but why do 'getent passwd' or 'getent group' not show the domain users or groups?

Updated -

For the getent passwd or getent group commands to show your domain users and groups properly, you must edit your /etc/nsswitch.conf file to include winbind as a source of user (passwd) and group information.

Until this is done, system functions which depend on your nsswitch configuration will not work properly for these us...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content