lareg autogen and cleanup of old files. Preparing for
[Samba.git] / docs / manpages / wbinfo.1
blob63795899c82856d24d41e51cf195690c65dec31f
1 .\" This manpage has been automatically generated by docbook2man-spec
2 .\" from a DocBook document.  docbook2man-spec can be found at:
3 .\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "WBINFO" "1" "06 December 2001" "" ""
7 .SH NAME
8 wbinfo \- Query information from winbind daemon
9 .SH SYNOPSIS
10 .sp
11 \fBwbinfo\fR [ \fB-u\fR ]  [ \fB-g\fR ]  [ \fB-n name\fR ]  [ \fB-s sid\fR ]  [ \fB-U uid\fR ]  [ \fB-G gid\fR ]  [ \fB-S sid\fR ]  [ \fB-Y sid\fR ]  [ \fB-t\fR ]  [ \fB-m\fR ] 
12 .SH "DESCRIPTION"
13 .PP
14 This tool is part of the  Sambasuite.
15 .PP
16 The \fBwbinfo\fR program queries and returns information 
17 created and used by the \fB winbindd(8)\fRdaemon. 
18 .PP
19 The \fBwinbindd(8)\fR daemon must be configured 
20 and running for the \fBwbinfo\fR program to be able 
21 to return information.
22 .SH "OPTIONS"
23 .TP
24 \fB-u\fR
25 This option will list all users available 
26 in the Windows NT domain for which the \fBwinbindd(8)
27 \fRdaemon is operating in. Users in all trusted domains 
28 will also be listed. Note that this operation does not assign 
29 user ids to any users that have not already been seen by 
30 \fBwinbindd(8)\fR.
31 .TP
32 \fB-g\fR
33 This option will list all groups available 
34 in the Windows NT domain for which the \fBwinbindd(8)
35 \fRdaemon is operating in. Groups in all trusted domains
36 will also be listed. Note that this operation does not assign 
37 group ids to any groups that have not already been seen by
38 \fBwinbindd(8)\fR. 
39 .TP
40 \fB-n name\fR
41 The \fI-n\fR option 
42 queries \fBwinbindd(8)\fR for the SID 
43 associated with the name specified. Domain names can be specified 
44 before the user name by using the winbind separator character. 
45 For example CWDOM1/Administrator refers to the Administrator
46 user in the domain CWDOM1. If no domain is specified then the 
47 domain used is the one specified in the \fIsmb.conf\fR
48 \fIworkgroup\fR parameter. 
49 .TP
50 \fB-s sid\fR
51 Use \fI-s\fR to resolve
52 a SID to a name. This is the inverse of the \fI-n
53 \fRoption above. SIDs must be specified as ASCII strings 
54 in the traditional Microsoft format. For example,
55 S-1-5-21-1455342024-3071081365-2475485837-500. 
56 .TP
57 \fB-U uid\fR
58 Try to convert a UNIX user id to a Windows NT 
59 SID. If the uid specified does not refer to one within
60 the winbind uid range then the operation will fail. 
61 .TP
62 \fB-G gid\fR
63 Try to convert a UNIX group id to a Windows 
64 NT SID. If the gid specified does not refer to one within 
65 the winbind gid range then the operation will fail. 
66 .TP
67 \fB-S sid\fR
68 Convert a SID to a UNIX user id. If the SID 
69 does not correspond to a UNIX user mapped by \fB winbindd(8)\fR then the operation will fail. 
70 .TP
71 \fB-Y sid\fR
72 Convert a SID to a UNIX group id. If the SID 
73 does not correspond to a UNIX group mapped by \fB winbindd(8)\fR then the operation will fail. 
74 .TP
75 \fB-t\fR
76 Verify that the workstation trust account 
77 created when the Samba server is added to the Windows NT
78 domain is working. 
79 .TP
80 \fB-m\fR
81 Produce a list of domains trusted by the 
82 Windows NT server \fBwinbindd(8)\fR contacts 
83 when resolving names. This list does not include the Windows 
84 NT domain the server is a Primary Domain Controller for.
85 .SH "EXIT STATUS"
86 .PP
87 The wbinfo program returns 0 if the operation 
88 succeeded, or 1 if the operation failed. If the \fBwinbindd(8)
89 \fRdaemon is not working \fBwbinfo\fR will always return 
90 failure. 
91 .SH "VERSION"
92 .PP
93 This man page is correct for version 2.2 of 
94 the Samba suite.
95 .SH "SEE ALSO"
96 .PP
97 \fBwinbindd(8)\fR
99 .SH "AUTHOR"
101 The original Samba software and related utilities 
102 were created by Andrew Tridgell. Samba is now developed
103 by the Samba Team as an Open Source project similar 
104 to the way the Linux kernel is developed.
106 \fBwbinfo\fR and \fBwinbindd\fR
107 were written by Tim Potter.
109 The conversion to DocBook for Samba 2.2 was done 
110 by Gerald Carter