source: branches/samba-3.2.x/docs/manpages/wbinfo.1@ 201

Last change on this file since 201 was 201, checked in by Herwig Bauernfeind, 16 years ago

Update to Samba 3.2.3

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