source: trunk/server/docs/manpages/wbinfo.1@ 752

Last change on this file since 752 was 752, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.9 2nd part

File size: 10.2 KB
Line 
1'\" t
2.\" Title: wbinfo
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 10/29/2012
6.\" Manual: User Commands
7.\" Source: Samba 3.6
8.\" Language: English
9.\"
10.TH "WBINFO" "1" "10/29/2012" "Samba 3\&.6" "User Commands"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22wbinfo \- Query information from winbind daemon
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-c] [\-\-ccache\-save] [\-\-change\-user\-password] [\-D\ domain] [\-\-domain\ domain] [\-\-dsgetdcname\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-\-gid\-info] [\-\-group\-info] [\-\-help|\-?] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-\-lanman] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-ntlmv2] [\-\-online\-status] [\-\-own\-domain] [\-p] [\-P|\-\-ping\-dc] [\-r\ user] [\-R|\-\-lookup\-rids] [\-s\ sid] [\-\-separator] [\-\-set\-auth\-user\ user%password] [\-S\ sid] [\-\-sid\-aliases] [\-\-sid\-to\-fullname] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-usage] [\-\-user\-domgroups\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-\-verbose] [\-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 \fIusername%password\fR
46.RS 4
47Attempt to authenticate a user via
48\fBwinbindd\fR(8)\&. This checks both authentication methods and reports its results\&.
49.if n \{\
50.sp
51.\}
52.RS 4
53.it 1 an-trap
54.nr an-no-space-flag 1
55.nr an-break-flag 1
56.br
57.ps +1
58\fBNote\fR
59.ps -1
60.br
61Do not be tempted to use this functionality for authentication in third\-party applications\&. Instead use
62\fBntlm_auth\fR(1)\&.
63.sp .5v
64.RE
65.RE
66.PP
67\-\-allocate\-gid
68.RS 4
69Get a new GID out of idmap
70.RE
71.PP
72\-\-allocate\-uid
73.RS 4
74Get a new UID out of idmap
75.RE
76.PP
77\-\-all\-domains
78.RS 4
79List all domains (trusted and own domain)\&.
80.RE
81.PP
82\-c|\-\-change\-secret
83.RS 4
84Change the trust account password\&. May be used in conjunction with
85\fBdomain\fR
86in order to change interdomain trust account passwords\&.
87.RE
88.PP
89\-\-ccache\-save \fIusername%password\fR
90.RS 4
91Store user and password for ccache\&.
92.RE
93.PP
94\-\-change\-user\-password \fIusername\fR
95.RS 4
96Change the password of a user\&. The old and new password will be prompted\&.
97.RE
98.PP
99\-\-domain \fIname\fR
100.RS 4
101This parameter sets the domain on which any specified operations will performed\&. If special domain name \'\&.\' is used to represent the current domain to which
102\fBwinbindd\fR(8)
103belongs\&. Currently only the
104\fB\-u\fR, and
105\fB\-g\fR
106options honor this parameter\&.
107.RE
108.PP
109\-D|\-\-domain\-info \fIdomain\fR
110.RS 4
111Show most of the info we have about the specified domain\&.
112.RE
113.PP
114\-\-dsgetdcname \fIdomain\fR
115.RS 4
116Find a DC for a domain\&.
117.RE
118.PP
119\-\-gid\-info \fIgid\fR
120.RS 4
121Get group info from gid\&.
122.RE
123.PP
124\-\-group\-info \fIuser\fR
125.RS 4
126Get group info for user\&.
127.RE
128.PP
129\-g|\-\-domain\-groups
130.RS 4
131This option will list all groups available in the Windows NT domain for which the
132\fBsamba\fR(7)
133daemon 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
134\fBwinbindd\fR(8)\&.
135.RE
136.PP
137\-\-get\-auth\-user
138.RS 4
139Print username and password used by
140\fBwinbindd\fR(8)
141during session setup to a domain controller\&. Username and password can be set using
142\fB\-\-set\-auth\-user\fR\&. Only available for root\&.
143.RE
144.PP
145\-\-getdcname \fIdomain\fR
146.RS 4
147Get the DC name for the specified domain\&.
148.RE
149.PP
150\-G|\-\-gid\-to\-sid \fIgid\fR
151.RS 4
152Try 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\&.
153.RE
154.PP
155\-?
156.RS 4
157Print brief help overview\&.
158.RE
159.PP
160\-i|\-\-user\-info \fIuser\fR
161.RS 4
162Get user info\&.
163.RE
164.PP
165\-I|\-\-WINS\-by\-ip \fIip\fR
166.RS 4
167The
168\fI\-I\fR
169option queries
170\fBwinbindd\fR(8)
171to send a node status request to get the NetBIOS name associated with the IP address specified by the
172\fIip\fR
173parameter\&.
174.RE
175.PP
176\-K|\-\-krb5auth \fIusername%password\fR
177.RS 4
178Attempt to authenticate a user via Kerberos\&.
179.RE
180.PP
181\-\-lanman
182.RS 4
183Use lanman cryptography for user authentication\&.
184.RE
185.PP
186\-m|\-\-trusted\-domains
187.RS 4
188Produce a list of domains trusted by the Windows NT server
189\fBwinbindd\fR(8)
190contacts when resolving names\&. This list does not include the Windows NT domain the server is a Primary Domain Controller for\&.
191.RE
192.PP
193\-n|\-\-name\-to\-sid \fIname\fR
194.RS 4
195The
196\fI\-n\fR
197option queries
198\fBwinbindd\fR(8)
199for 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
200\fBsmb.conf\fR(5)
201\fIworkgroup \fR
202parameter\&.
203.RE
204.PP
205\-N|\-\-WINS\-by\-name \fIname\fR
206.RS 4
207The
208\fI\-N\fR
209option queries
210\fBwinbindd\fR(8)
211to query the WINS server for the IP address associated with the NetBIOS name specified by the
212\fIname\fR
213parameter\&.
214.RE
215.PP
216\-\-ntlmv2
217.RS 4
218Use NTLMv2 cryptography for user authentication\&.
219.RE
220.PP
221\-\-online\-status \fIdomain\fR
222.RS 4
223Show whether domains are marked as online or offline\&. An optional domain argument limits the output to the online status of a given domain\&.
224.RE
225.PP
226\-\-own\-domain
227.RS 4
228List own domain\&.
229.RE
230.PP
231\-p|\-\-ping
232.RS 4
233Check whether
234\fBwinbindd\fR(8)
235is still alive\&. Prints out either \'succeeded\' or \'failed\'\&.
236.RE
237.PP
238\-P|\-\-ping\-dc
239.RS 4
240Issue a no\-effect command to our DC\&. This checks if our secure channel connection to our domain controller is still alive\&. It has much less impact than wbinfo \-t\&.
241.RE
242.PP
243\-r|\-\-user\-groups \fIusername\fR
244.RS 4
245Try to obtain the list of UNIX group ids to which the user belongs\&. This only works for users defined on a Domain Controller\&.
246.RE
247.PP
248\-R|\-\-lookup\-rids \fIrid1, rid2, rid3\&.\&.\&.\fR
249.RS 4
250Converts RIDs to names\&. Uses a comma separated list of rids\&.
251.RE
252.PP
253\-s|\-\-sid\-to\-name \fIsid\fR
254.RS 4
255Use
256\fI\-s\fR
257to resolve a SID to a name\&. This is the inverse of the
258\fI\-n \fR
259option above\&. SIDs must be specified as ASCII strings in the traditional Microsoft format\&. For example, S\-1\-5\-21\-1455342024\-3071081365\-2475485837\-500\&.
260.RE
261.PP
262\-\-separator
263.RS 4
264Get the active winbind separator\&.
265.RE
266.PP
267\-\-set\-auth\-user \fIusername%password\fR
268.RS 4
269Store username and password used by
270\fBwinbindd\fR(8)
271during 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 compatible with Windows 2000 servers only)\&.
272.RE
273.PP
274\-S|\-\-sid\-to\-uid \fIsid\fR
275.RS 4
276Convert a SID to a UNIX user id\&. If the SID does not correspond to a UNIX user mapped by
277\fBwinbindd\fR(8)
278then the operation will fail\&.
279.RE
280.PP
281\-\-sid\-aliases \fIsid\fR
282.RS 4
283Get SID aliases for a given SID\&.
284.RE
285.PP
286\-\-sid\-to\-fullname \fIsid\fR
287.RS 4
288Converts a SID to a full username (DOMAIN\eusername)\&.
289.RE
290.PP
291\-t|\-\-check\-secret
292.RS 4
293Verify that the workstation trust account created when the Samba server is added to the Windows NT domain is working\&. May be used in conjunction with
294\fBdomain\fR
295in order to verify interdomain trust accounts\&.
296.RE
297.PP
298\-u|\-\-domain\-users
299.RS 4
300This option will list all users available in the Windows NT domain for which the
301\fBwinbindd\fR(8)
302daemon 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
303\fBwinbindd\fR(8)
304\&.
305.RE
306.PP
307\-\-uid\-info \fIuid\fR
308.RS 4
309Get user info for the user connected to user id UID\&.
310.RE
311.PP
312\-\-usage
313.RS 4
314Print brief help overview\&.
315.RE
316.PP
317\-\-user\-domgroups \fIsid\fR
318.RS 4
319Get user domain groups\&.
320.RE
321.PP
322\-\-user\-sids \fIsid\fR
323.RS 4
324Get user group SIDs for user\&.
325.RE
326.PP
327\-U|\-\-uid\-to\-sid \fIuid\fR
328.RS 4
329Try to convert a UNIX user id to a Windows NT SID\&. If the uid specified does not refer to one within the idmap range then the operation will fail\&.
330.RE
331.PP
332\-\-verbose
333.RS 4
334Print additional information about the query results\&.
335.RE
336.PP
337\-Y|\-\-sid\-to\-gid \fIsid\fR
338.RS 4
339Convert a SID to a UNIX group id\&. If the SID does not correspond to a UNIX group mapped by
340\fBwinbindd\fR(8)
341then the operation will fail\&.
342.RE
343.PP
344\-V|\-\-version
345.RS 4
346Prints the program version number\&.
347.RE
348.PP
349\-h|\-\-help
350.RS 4
351Print a summary of command line options\&.
352.RE
353.SH "EXIT STATUS"
354.PP
355The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed\&. If the
356\fBwinbindd\fR(8)
357daemon is not working
358wbinfo
359will always return failure\&.
360.SH "VERSION"
361.PP
362This man page is correct for version 3 of the Samba suite\&.
363.SH "SEE ALSO"
364.PP
365\fBwinbindd\fR(8)
366and
367\fBntlm_auth\fR(1)
368.SH "AUTHOR"
369.PP
370The 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\&.
371.PP
372wbinfo
373and
374winbindd
375were written by Tim Potter\&.
376.PP
377The 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\&.
Note: See TracBrowser for help on using the repository browser.