source: trunk-3.0/docs/manpages/wbinfo.1@ 101

Last change on this file since 101 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 7.2 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "WBINFO" 1 "" "" ""
21.SH "NAME"
22wbinfo - Query information from winbind daemon
23.SH "SYNOPSIS"
24.HP 1
25wbinfo [-a user%password] [--all-domains] [--allocate-gid] [--allocate-uid] [-D domain] [--domain domain] [-g] [--getdcname domain] [--get-auth-user] [-G gid] [-h] [-i user] [-I ip] [-K user%password] [-m] [-n name] [-N netbios-name] [--own-domain] [-p] [-r user] [-s sid] [--separator] [--sequence] [--set-auth-user user%password] [-S sid] [-t] [-u] [--user-domgroups sid] [--user-sids sid] [-U uid] [-V] [-Y sid]
26.SH "DESCRIPTION"
27.PP
28This tool is part of the
29\fBsamba\fR(7)
30suite.
31.PP
32The
33wbinfo
34program queries and returns information created and used by the
35\fBwinbindd\fR(8)
36daemon.
37.PP
38The
39\fBwinbindd\fR(8)
40daemon must be configured and running for the
41wbinfo
42program to be able to return information.
43.SH "OPTIONS"
44.PP
45-a|--authenticate username%password
46.RS 3n
47Attempt to authenticate a user via winbindd. This checks both authenticaion methods and reports its results.
48.sp
49.it 1 an-trap
50.nr an-no-space-flag 1
51.nr an-break-flag 1
52.br
53\fBNote\fR
54Do not be tempted to use this functionality for authentication in third-party applications. Instead use
55\fBntlm_auth\fR(1).
56.RE
57.PP
58--allocate-gid
59.RS 3n
60Get a new GID out of idmap
61.RE
62.PP
63--allocate-uid
64.RS 3n
65Get a new UID out of idmap
66.RE
67.PP
68--all-domains
69.RS 3n
70List all domains (trusted and own domain).
71.RE
72.PP
73--domain name
74.RS 3n
75This parameter sets the domain on which any specified operations will performed. If special domain name '.' is used to represent the current domain to which winbindd belongs. Currently only the
76\fB--sequence\fR,
77\fB-u\fR, and
78\fB-g\fR
79options honor this parameter.
80.RE
81.PP
82-D|--domain-info domain
83.RS 3n
84Show most of the info we have about the domain.
85.RE
86.PP
87-g|--domain-groups
88.RS 3n
89This option will list all groups available in the Windows NT domain for which the
90\fBsamba\fR(7)
91daemon is operating in. Groups in all trusted domains will also be listed. Note that this operation does not assign group ids to any groups that have not already been seen by
92\fBwinbindd\fR(8).
93.RE
94.PP
95--get-auth-user
96.RS 3n
97Print username and password used by winbindd during session setup to a domain controller. Username and password can be set using
98\fB--set-auth-user\fR. Only available for root.
99.RE
100.PP
101--getdcname domain
102.RS 3n
103Get the DC name for the specified domain.
104.RE
105.PP
106-G|--gid-to-sid gid
107.RS 3n
108Try to convert a UNIX group id to a Windows NT SID. If the gid specified does not refer to one within the idmap gid range then the operation will fail.
109.RE
110.PP
111-i|--user-info user
112.RS 3n
113Get user info.
114.RE
115.PP
116-I|--WINS-by-ip ip
117.RS 3n
118The
119\fI-I\fR
120option queries
121\fBwinbindd\fR(8)
122to send a node status request to get the NetBIOS name associated with the IP address specified by the
123\fIip\fR
124parameter.
125.RE
126.PP
127-K|--krb5auth username%password
128.RS 3n
129Attempt to authenticate a user via Kerberos.
130.RE
131.PP
132-m|--trusted-domains
133.RS 3n
134Produce a list of domains trusted by the Windows NT server
135\fBwinbindd\fR(8)
136contacts when resolving names. This list does not include the Windows NT domain the server is a Primary Domain Controller for.
137.RE
138.PP
139-n|--name-to-sid name
140.RS 3n
141The
142\fI-n\fR
143option queries
144\fBwinbindd\fR(8)
145for the SID associated with the name specified. Domain names can be specified before the user name by using the winbind separator character. For example CWDOM1/Administrator refers to the Administrator user in the domain CWDOM1. If no domain is specified then the domain used is the one specified in the
146\fBsmb.conf\fR(5)
147\fIworkgroup \fR
148parameter.
149.RE
150.PP
151-N|--WINS-by-name name
152.RS 3n
153The
154\fI-N\fR
155option queries
156\fBwinbindd\fR(8)
157to query the WINS server for the IP address associated with the NetBIOS name specified by the
158\fIname\fR
159parameter.
160.RE
161.PP
162--own-domain
163.RS 3n
164List own domain.
165.RE
166.PP
167-p|--ping
168.RS 3n
169Check whether winbindd is still alive. Prints out either 'succeeded' or 'failed'.
170.RE
171.PP
172-r|--user-groups username
173.RS 3n
174Try to obtain the list of UNIX group ids to which the user belongs. This only works for users defined on a Domain Controller.
175.RE
176.PP
177-s|--sid-to-name sid
178.RS 3n
179Use
180\fI-s\fR
181to resolve a SID to a name. This is the inverse of the
182\fI-n \fR
183option above. SIDs must be specified as ASCII strings in the traditional Microsoft format. For example, S-1-5-21-1455342024-3071081365-2475485837-500.
184.RE
185.PP
186--separator
187.RS 3n
188Get the active winbind separator.
189.RE
190.PP
191--sequence
192.RS 3n
193Show sequence numbers of all known domains
194.RE
195.PP
196--set-auth-user username%password
197.RS 3n
198Store username and password used by winbindd during session setup to a domain controller. This enables winbindd to operate in a Windows 2000 domain with Restrict Anonymous turned on (a.k.a. Permissions compatiable with Windows 2000 servers only).
199.RE
200.PP
201-S|--sid-to-uid sid
202.RS 3n
203Convert a SID to a UNIX user id. If the SID does not correspond to a UNIX user mapped by
204\fBwinbindd\fR(8)
205then the operation will fail.
206.RE
207.PP
208-t|--check-secret
209.RS 3n
210Verify that the workstation trust account created when the Samba server is added to the Windows NT domain is working.
211.RE
212.PP
213-u|--domain-users
214.RS 3n
215This option will list all users available in the Windows NT domain for which the
216\fBwinbindd\fR(8)
217daemon is operating in. Users in all trusted domains will also be listed. Note that this operation does not assign user ids to any users that have not already been seen by
218\fBwinbindd\fR(8)
219.
220.RE
221.PP
222--user-domgroups SID
223.RS 3n
224Get user domain groups.
225.RE
226.PP
227--user-sids SID
228.RS 3n
229Get user group SIDs for user.
230.RE
231.PP
232-U|--uid-to-sid uid
233.RS 3n
234Try to convert a UNIX user id to a Windows NT SID. If the uid specified does not refer to one within the idmap uid range then the operation will fail.
235.RE
236.PP
237-Y|--sid-to-gid sid
238.RS 3n
239Convert a SID to a UNIX group id. If the SID does not correspond to a UNIX group mapped by
240\fBwinbindd\fR(8)
241then the operation will fail.
242.RE
243.PP
244-V
245.RS 3n
246Prints the program version number.
247.RE
248.PP
249-h|--help
250.RS 3n
251Print a summary of command line options.
252.RE
253.SH "EXIT STATUS"
254.PP
255The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed. If the
256\fBwinbindd\fR(8)
257daemon is not working
258wbinfo
259will always return failure.
260.SH "VERSION"
261.PP
262This man page is correct for version 3.0 of the Samba suite.
263.SH "SEE ALSO"
264.PP
265\fBwinbindd\fR(8)
266and
267\fBntlm_auth\fR(1)
268.SH "AUTHOR"
269.PP
270The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
271.PP
272wbinfo
273and
274winbindd
275were written by Tim Potter.
276.PP
277The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
278
Note: See TracBrowser for help on using the repository browser.