wbinfo
TLDR
List domain users
SYNOPSIS
wbinfo [options]
DESCRIPTION
wbinfo queries information from the winbindd daemon, which provides Windows domain integration for Samba and Linux systems. It retrieves user, group, and domain information from Active Directory or NT domains.
The tool is essential for troubleshooting Winbind configurations and verifying domain connectivity. It can resolve between Windows SIDs and UNIX UIDs/GIDs using the configured ID mapping.
winbindd must be running and properly configured for wbinfo to function. The tool is commonly used to verify Samba domain membership.
PARAMETERS
-u, --domain-users
List all domain users.-g, --domain-groups
List all domain groups.-p, --ping
Check if winbindd is running.-P, --ping-dc
Ping the domain controller.-t, --check-secret
Verify trust account.-m, --trusted-domains
List trusted domains.-D, --domain-info domain
Show domain information.--all-domains
List all domains.--own-domain
Show own domain.-n, --name-to-sid name
Convert name to SID.-s, --sid-to-name SID
Convert SID to name.-U, --uid-to-sid UID
Convert UNIX UID to SID.-G, --gid-to-sid GID
Convert UNIX GID to SID.-r, --user-groups user
Get user's group memberships.--uid-info UID
Get user info for UID.--domain name
Specify domain for operations.-a user%pass
Authenticate user (testing only).
CAVEATS
Requires running winbindd daemon. Authentication via -a is for testing only; use ntlm_auth for applications. Some operations may take time on large domains. Exit status 0 indicates success, 1 indicates failure.
HISTORY
wbinfo is part of the Samba suite, which provides Windows interoperability for Unix systems. Winbind enables Unix systems to appear as members of Windows domains, allowing domain users to authenticate on Unix systems.


