HP CIFS Server 3.0k Administrator's Guide version A.02.04
-t, –check-secret
Verifies that the workstation trust account created when
the Samba server is added to the Windows NT domain is
working.
-p, –ping Ping winbindd to see whether it is still alive.
–domain <name>
This parameter sets the domain on which any specified
operations will performed. Currently only the
--sequence, -u, and -g options honor this parameter
-D, –domain-info <domain>
Shows most of the information we have about the domain.
-r, –user-groups <username>
Gets the list of UNIX group ids that a specific user belongs
to. This only works for users defined on a Domain
Controller.
–user-domgroups <SID>
Gets user domain groups.
–user-sids <SID>
Gets user group SIDs for user.
-V, –version Prints the winbind version.
-a, –authenticate
<username%password>
Authenticates a user via winbindd. This checks both
authentication methods and reports its results.
–set-auth-user
<username%password>
Stores username and password used by winbindd during
session setup to a domain controller. This option is only
available for root.
–get-auth-user Prints username and password used by winbindd during
session setup to a domain controller. This option is only
available for root.
–getdcname <domainname>
Gets the name of the Domain Controller for the specified
domain.
–sequence
Shows sequence numbers of all known domains.
-?, -h, –help
Shows the help messages.
–usage
Displays brief usage messages.
For detailed information on how to use this tool, refer to the /opt/samba/man/man1/wbinfo.1
file.
Examples
The following is an example of the output using the wbinfo -l command:
$ wbinfo -l /tmp
drwxr-xr-x 2 user1 Domain Users 96 Jun 23 16:52 Folder1
drwxr-xr-x 2 user2 Domain Users 96 Jun 23 16:52 Folder2
The following is an example of the output using the wbinfo -L command:
$ wbinfo -L /tmp
drwxr-xr-x 2 DOMAIN_DOM\user1 DOMAIN_DOM\Domain Users 96 Jun 23 16:52 Folder1
drwxr-xr-x 2 DOMAIN_DOM\user2 DOMAIN_DOM\Domain Users 96 Jun 23 16:52 Folder2
The following is an example of the output using the wbinfo -u command:
$ wbinfo -u
DOMAIN_DOM\johnb 50003
DOMAIN_DOM\user1 50004
DOMAIN_DOM\user2 50005
DOMAIN_DOM\user3 50006
DOMAIN_DOM\user4 50007
DOMAIN_DOM\Guest 50008
DOMAIN_DOM\user5 50009
DOMAIN_DOM\ntuser 50010
DOMAIN_DOM\root 50011
200 Tool Reference