OS Manuals

/usr/bin/wbinfo

Samba winbind client tools

From samba-winbind-clients 4.25.1-r1 (os), captured 2026-11-05 by running wbinfo --help (exit 0). permalink

Usage: wbinfo [OPTION...]
  -u, --domain-users                                 Lists all domain users
  -g, --domain-groups                                Lists all domain groups
  -N, --WINS-by-name=NETBIOS-NAME                    Converts NetBIOS name to
                                                     IP
  -I, --WINS-by-ip=IP                                Converts IP address to
                                                     NetBIOS name
  -n, --name-to-sid=NAME                             Converts name to sid
  -s, --sid-to-name=SID                              Converts sid to name
      --sid-to-fullname=SID                          Converts sid to fullname
  -R, --lookup-rids=RIDs                             Converts RIDs to names
      --lookup-sids=Sid-List                         Converts SIDs to types
                                                     and names
  -U, --uid-to-sid=UID                               Converts uid to sid
  -G, --gid-to-sid=GID                               Converts gid to sid
  -S, --sid-to-uid=SID                               Converts sid to uid
  -Y, --sid-to-gid=SID                               Converts sid to gid
      --allocate-uid                                 Get a new UID out of idmap
      --allocate-gid                                 Get a new GID out of idmap
      --set-uid-mapping=UID,SID                      Create or modify uid to
                                                     sid mapping in idmap
      --set-gid-mapping=GID,SID                      Create or modify gid to
                                                     sid mapping in idmap
      --remove-uid-mapping=UID,SID                   Remove uid to sid mapping
                                                     in idmap
      --remove-gid-mapping=GID,SID                   Remove gid to sid mapping
                                                     in idmap
      --sids-to-unix-ids=Sid-List                    Translate SIDs to Unix IDs
      --unix-ids-to-sids=ID-List (u<num> g<num>)     Translate Unix IDs to SIDs
  -t, --check-secret                                 Check shared secret
  -c, --change-secret                                Change shared secret
      --change-secret-at=STRING                      Change shared secret at
                                                     Domain Controller
  -P, --ping-dc                                      Check the NETLOGON
                                                     connection
  -m, --trusted-domains                              List trusted domains
      --all-domains                                  List all domains (trusted
                                                     and own domain)
      --own-domain                                   List own domain
      --online-status                                Show whether domains
                                                     maintain an active
                                                     connection
  -D, --domain-info=STRING                           Show most of the info we
                                                     have about the domain
  -i, --user-info=USER                               Get user info
      --uid-info=UID                                 Get user info from uid
      --group-info=GROUP                             Get group info
      --user-sidinfo=SID                             Get user info from sid
      --gid-info=GID                                 Get group info from gid
  -r, --user-groups=USER                             Get user groups
      --user-domgroups=SID                           Get user domain groups
      --sid-aliases=SID                              Get sid aliases
      --user-sids=SID                                Get user group sids for
                                                     user SID
  -a, --authenticate=user%password                   authenticate user
      --pam-logon=user%password                      do a pam logon equivalent
      --logoff                                       log off user
      --logoff-user=STRING                           username to log off
      --logoff-uid=INT                               uid to log off
      --set-auth-user=user%password                  Store user and password
                                                     used by winbindd (root
                                                     only)
      --ccache-save=user%password                    Store user and password
                                                     for ccache operation
      --getdcname=domainname                         Get a DC name for a
                                                     foreign domain
      --dsgetdcname=domainname                       Find a DC for a domain
      --dc-info=domainname                           Find the currently known
                                                     DCs
      --get-auth-user                                Retrieve user and
                                                     password used by winbindd
                                                     (root only)
  -p, --ping                                         Ping winbindd to see if
                                                     it is alive
      --domain=domain                                Define to the domain to
                                                     restrict operation
  -K, --krb5auth=user%password                       authenticate user using
                                                     Kerberos
      --krb5ccname=krb5ccname                        authenticate user using
                                                     Kerberos and specific
                                                     credential cache type
      --separator                                    Get the active winbind
                                                     separator
      --verbose                                      Print additional
                                                     information per command
      --change-user-password=STRING                  Change the password for a
                                                     user
      --ntlmv1                                       Use NTLMv1 cryptography
                                                     for user authentication
      --ntlmv2                                       Use NTLMv2 cryptography
                                                     for user authentication
      --lanman                                       Use lanman cryptography
                                                     for user authentication

Help options:
  -?, --help                                         Show this help message
      --usage                                        Display brief usage
                                                     message

Version options:
  -V, --version                                      Print version
Options (63)
OptionDescriptionSource
-u, --domain-usersLists all domain usershelp
-g, --domain-groupsLists all domain groupshelp
-N, --WINS-by-name NETBIOS-NAMEConverts NetBIOS name to IPhelp
-I, --WINS-by-ip IPConverts IP address to NetBIOS namehelp
-n, --name-to-sid NAMEConverts name to sidhelp
-s, --sid-to-name SIDConverts sid to namehelp
--sid-to-fullname SIDConverts sid to fullnamehelp
-R, --lookup-rids RIDsConverts RIDs to nameshelp
--lookup-sids Sid-ListConverts SIDs to types and nameshelp
-U, --uid-to-sid UIDConverts uid to sidhelp
-G, --gid-to-sid GIDConverts gid to sidhelp
-S, --sid-to-uid SIDConverts sid to uidhelp
-Y, --sid-to-gid SIDConverts sid to gidhelp
--allocate-uidGet a new UID out of idmaphelp
--allocate-gidGet a new GID out of idmaphelp
--set-uid-mapping UIDCreate or modify uid to sid mapping in idmaphelp
--set-gid-mapping GIDCreate or modify gid to sid mapping in idmaphelp
--remove-uid-mapping UIDRemove uid to sid mapping in idmaphelp
--remove-gid-mapping GIDRemove gid to sid mapping in idmaphelp
--sids-to-unix-ids Sid-ListTranslate SIDs to Unix IDshelp
--unix-ids-to-sids ID-ListTranslate Unix IDs to SIDshelp
-t, --check-secretCheck shared secrethelp
-c, --change-secretChange shared secrethelp
--change-secret-at STRINGChange shared secret at Domain Controllerhelp
-P, --ping-dcCheck the NETLOGON connectionhelp
-m, --trusted-domainsList trusted domainshelp
--all-domainsList all domains (trusted and own domain)help
--own-domainList own domainhelp
--online-statusShow whether domains maintain an active connectionhelp
-D, --domain-info STRINGShow most of the info we have about the domainhelp
-i, --user-info USERGet user infohelp
--uid-info UIDGet user info from uidhelp
--group-info GROUPGet group infohelp
--user-sidinfo SIDGet user info from sidhelp
--gid-info GIDGet group info from gidhelp
-r, --user-groups USERGet user groupshelp
--user-domgroups SIDGet user domain groupshelp
--sid-aliases SIDGet sid aliaseshelp
--user-sids SIDGet user group sids for user SIDhelp
-a, --authenticate user%passwordauthenticate userhelp
--pam-logon user%passworddo a pam logon equivalenthelp
--logofflog off userhelp
--logoff-user STRINGusername to log offhelp
--logoff-uid INTuid to log offhelp
--set-auth-user user%passwordStore user and password used by winbindd (root only)help
--ccache-save user%passwordStore user and password for ccache operationhelp
--getdcname domainnameGet a DC name for a foreign domainhelp
--dsgetdcname domainnameFind a DC for a domainhelp
--dc-info domainnameFind the currently known DCshelp
--get-auth-userRetrieve user and password used by winbindd (root only)help
-p, --pingPing winbindd to see if it is alivehelp
--domain domainDefine to the domain to restrict operationhelp
-K, --krb5auth user%passwordauthenticate user using Kerberoshelp
--krb5ccname krb5ccnameauthenticate user using Kerberos and specific credential cache typehelp
--separatorGet the active winbind separatorhelp
--verbosePrint additional information per commandhelp
--change-user-password STRINGChange the password for a userhelp
--ntlmv1Use NTLMv1 cryptography for user authenticationhelp
--ntlmv2Use NTLMv2 cryptography for user authenticationhelp
--lanmanUse lanman cryptography for user authenticationhelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage message.help + man
-V, --versionPrint versionhelp
Exit status (2) from the manual page
0the operation succeeded
1the operation failed

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.