Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/wbinfo.1

    r44 r134  
    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 "" "" ""
     1.\"     Title: wbinfo
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: User Commands
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "WBINFO" "1" "05/21/2008" "Samba 3\.0" "User Commands"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214wbinfo - Query information from winbind daemon
    2315.SH "SYNOPSIS"
    2416.HP 1
    25 wbinfo [-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]
     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]
    2618.SH "DESCRIPTION"
    2719.PP
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    3224The
     
    3426program queries and returns information created and used by the
    3527\fBwinbindd\fR(8)
    36 daemon.
     28daemon\.
    3729.PP
    3830The
     
    4032daemon must be configured and running for the
    4133wbinfo
    42 program to be able to return information.
     34program to be able to return information\.
    4335.SH "OPTIONS"
    4436.PP
    45 -a|--authenticate username%password
    46 .RS 3n
    47 Attempt to authenticate a user via winbindd. This checks both authenticaion methods and reports its results.
     37\-a|\-\-authenticate username%password
     38.RS 4
     39Attempt to authenticate a user via winbindd\. This checks both authenticaion methods and reports its results\.
    4840.sp
    4941.it 1 an-trap
     
    5143.nr an-break-flag 1
    5244.br
    53 \fBNote\fR
    54 Do 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
     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
    6052Get a new GID out of idmap
    6153.RE
    6254.PP
    63 --allocate-uid
    64 .RS 3n
     55\-\-allocate\-uid
     56.RS 4
    6557Get a new UID out of idmap
    6658.RE
    6759.PP
    68 --all-domains
    69 .RS 3n
    70 List all domains (trusted and own domain).
    71 .RE
    72 .PP
    73 --domain name
    74 .RS 3n
    75 This 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
    79 options honor this parameter.
    80 .RE
    81 .PP
    82 -D|--domain-info domain
    83 .RS 3n
    84 Show most of the info we have about the domain.
    85 .RE
    86 .PP
    87 -g|--domain-groups
    88 .RS 3n
     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
    8981This option will list all groups available in the Windows NT domain for which the
    9082\fBsamba\fR(7)
    91 daemon 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
    97 Print 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
    103 Get the DC name for the specified domain.
    104 .RE
    105 .PP
    106 -G|--gid-to-sid gid
    107 .RS 3n
    108 Try 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
    113 Get user info.
    114 .RE
    115 .PP
    116 -I|--WINS-by-ip ip
    117 .RS 3n
    118 The
    119 \fI-I\fR
     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
    120112option queries
    121113\fBwinbindd\fR(8)
    122114to send a node status request to get the NetBIOS name associated with the IP address specified by the
    123115\fIip\fR
    124 parameter.
    125 .RE
    126 .PP
    127 -K|--krb5auth username%password
    128 .RS 3n
    129 Attempt to authenticate a user via Kerberos.
    130 .RE
    131 .PP
    132 -m|--trusted-domains
    133 .RS 3n
     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
    134126Produce a list of domains trusted by the Windows NT server
    135127\fBwinbindd\fR(8)
    136 contacts 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
    141 The
    142 \fI-n\fR
     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
    143135option queries
    144136\fBwinbindd\fR(8)
    145 for 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
     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
    146138\fBsmb.conf\fR(5)
    147139\fIworkgroup \fR
    148 parameter.
    149 .RE
    150 .PP
    151 -N|--WINS-by-name name
    152 .RS 3n
    153 The
    154 \fI-N\fR
     140parameter\.
     141.RE
     142.PP
     143\-N|\-\-WINS\-by\-name name
     144.RS 4
     145The
     146\fI\-N\fR
    155147option queries
    156148\fBwinbindd\fR(8)
    157149to query the WINS server for the IP address associated with the NetBIOS name specified by the
    158150\fIname\fR
    159 parameter.
    160 .RE
    161 .PP
    162 --own-domain
    163 .RS 3n
    164 List own domain.
    165 .RE
    166 .PP
    167 -p|--ping
    168 .RS 3n
    169 Check whether winbindd is still alive. Prints out either 'succeeded' or 'failed'.
    170 .RE
    171 .PP
    172 -r|--user-groups username
    173 .RS 3n
    174 Try 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
     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
    179171Use
    180 \fI-s\fR
    181 to resolve a SID to a name. This is the inverse of the
    182 \fI-n \fR
    183 option 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
    188 Get the active winbind separator.
    189 .RE
    190 .PP
    191 --sequence
    192 .RS 3n
     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
    193185Show sequence numbers of all known domains
    194186.RE
    195187.PP
    196 --set-auth-user username%password
    197 .RS 3n
    198 Store 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
    203 Convert a SID to a UNIX user id. If the SID does not correspond to a UNIX user mapped by
    204 \fBwinbindd\fR(8)
    205 then the operation will fail.
    206 .RE
    207 .PP
    208 -t|--check-secret
    209 .RS 3n
    210 Verify 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
     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
    215207This option will list all users available in the Windows NT domain for which the
    216208\fBwinbindd\fR(8)
    217 daemon 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
    224 Get user domain groups.
    225 .RE
    226 .PP
    227 --user-sids SID
    228 .RS 3n
    229 Get user group SIDs for user.
    230 .RE
    231 .PP
    232 -U|--uid-to-sid uid
    233 .RS 3n
    234 Try 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
    239 Convert a SID to a UNIX group id. If the SID does not correspond to a UNIX group mapped by
    240 \fBwinbindd\fR(8)
    241 then the operation will fail.
    242 .RE
    243 .PP
    244 -V
    245 .RS 3n
    246 Prints the program version number.
    247 .RE
    248 .PP
    249 -h|--help
    250 .RS 3n
    251 Print a summary of command line options.
     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\.
    252254.RE
    253255.SH "EXIT STATUS"
    254256.PP
    255 The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed. If the
     257The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed\. If the
    256258\fBwinbindd\fR(8)
    257259daemon is not working
    258260wbinfo
    259 will always return failure.
     261will always return failure\.
    260262.SH "VERSION"
    261263.PP
    262 This man page is correct for version 3.0 of the Samba suite.
     264This man page is correct for version 3\.0 of the Samba suite\.
    263265.SH "SEE ALSO"
    264266.PP
     
    268270.SH "AUTHOR"
    269271.PP
    270 The 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.
     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\.
    271273.PP
    272274wbinfo
    273275and
    274276winbindd
    275 were written by Tim Potter.
    276 .PP
    277 The 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 
     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 TracChangeset for help on using the changeset viewer.