HP CIFS Server 3.0f Administrator's Guide verison A.02.03
wbinfo Utility
You can use the wbinfo tool to get information from the winbind daemon. Running wbinfo requires to
configure and to start up the winbind daemon, winbindd.
Syntax
wbinfo [option]
where option can be any of the following:
-l Displays path data with Windows user and group names that exceed the HP-UX
name limitation of 8 characters.
-L Displays path data with the fully qualified Windows domain name appended to
the Windows user and group names that exceed the HP-UX name limitation of 8
characters.
-u Displays UIDs with user names.
-g Displays GIDs with group names.
-N Converts NetBIOS name to IP address.
-I Converts IP address to NetBIOS name.
-n Converts the name to Windows SID.
-s Converts Windows SID to the name.
-U Converts the User id (UID) to Windows SID.
-G Converts the Group id (GID) to Windows SID.
-S Converts Windows SID to the User id (UID).
-Y Converts Windows SID to the Group id (GID).
-A Gets a new RID from idmap.
-t Verify that the workstation trust account created when the Samba server is added
to the Windows NT domain is working.
-p Ping winbindd to see whether it is still alive.
-D shows information about the domain.
-r Gets the user groups.
-V shows winbind version.
–get-auth-user Prints username and password used by winbindd during session setup to a domain
controller. This option is only available for root.
–user-domgroups Gets user domain groups.
–user-sids Gets user group SIDs for user SID.
–domain Sets the domain name on which any specified operations will performed.
-? shows the help 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
wbinfo Utility 113