Provided by:
manpages-zh_1.5.1-2_all 
NAME
wbinfo - 向winbind服務查詢信息
` SYNOPSIS
wbinfo [-a user%password] [-c username] [-C groupname] [--domain
domain] [-I ip] [-s sid] [-u] [-U uid] [-g] [--get-auth-user] [-G gid]
[-m] [-n name] [-N netbios-name] [-o user:group] [-O user:group] [-p]
[-r user] [--set-auth-user user%password] [--sequence] [-S sid] [-t]
[-x username] [-X groupname] [-Y sid]
yz DESCRIPTION
此工具是 Samba(7) 套件的一部分。
wbinfo程式查詢並返回由winbindd(8)服務建立和使用的那些信息。
winbindd(8)進程必須為wbinfo程式而進行配置及運行,以便可以返回信息。
OPTIONS
-a username%password
Attempt to authenticate a user via winbindd. This checks both
authenticaion methods and reports its results.
-c user
Create a local winbind user.
-C group
Create a local winbindd group.
--domain name
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
--sequence, -u, and -g options honor this parameter.
-g 該選項可以列出winbindd(8)服務所運行的那Windows
NT域中所有可以獲得的使用者組。所有受托域中的使用者組也將被列出。注意該操作並不為任何winbindd(8)還未獲悉的使用者組分配組ID。
--get-auth-user
Print username and password used by winbindd during session
setup to a domain controller. Username and password can be set
using '-A'. Only available for root.
-G gid 該選項試圖把一紖NIX組ID轉換為一Windows
NT的SID。如果指定的GID無法對應到idmap的GIDS圍中,則操作失敗。
-I ip The -I option queries winbindd(8) to send a node status request
to get the NetBIOS name associated with the IP address specified
by the ip parameter.
-m 該選項產生一份當winbindd(8)在進行名字解析時所聯系的Windows
NT伺服器信任的域列表。該列表不含主域控制器所在的那粍T域。
-n name
該選項向winbindd(8)查詢指定名字所分配的SID。使用winbind分隔字符可以在使用者名前指定域名。例如CWDOM1/Administrator就是引用域CWDOM1中的管理-
。如不指定域,則使用smb.conf(5)中workgroup參數所指定的-
@為域名。[譯者注:SID義為安全標識]
-N name
The -N option queries winbindd(8) to query the WINS server for
the IP address associated with the NetBIOS name specified by the
name parameter.
-o user:group
Add a winbindd local group as a secondary group for the
specified winbindd local user.
-O user:group
Remove a winbindd local group as a secondary group for the
specified winbindd local user.
-p Check whether winbindd is still alive. Prints out either
'succeeded' or 'failed'.
-r username
Try to obtain the list of UNIX group ids to which the user
belongs. This only works for users defined on a Domain
Controller.
-s sid 用-s可以把一紎ID解析為一茼W字。這正好與上惆-
-n選項相反。SID必須按傳統的Ln,
用ASCII字串來指定。例如S-1-5-21-1455342024-3071081365-2475485837-500。
--set-auth-user username%password
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).
--sequence
Show sequence numbers of all known domains
-S sid 該選項把一紎ID轉換為一-
紖NIX使用者ID。如果SID與winbindd(8)所映射的UNIX使用者不符合則操作失敗。
-t 該選項對samba伺服器加入到NT域中時所建立的工作站信任賬號進行校驗。
-u 該選項可以列出winbindd(8)服務所在的那Windows
NT域中所有可以得到的使用者。所有受托域中的使用者也將被列出。注意該操作並不為任何winbindd(8)尚未獲悉的使用者分配使用者ID。
-U uid 該選項試圖把一紖NIX使用者ID轉換為一Windows
NT的SID。如果指定的UID無法對應到winbind的UIDS圍中,則操作失敗。
-x user
Delete an existing local winbind user.
-X group
Delete an existing local winbindd group.
-Y sid 該選項把一紎ID轉換為一-
紖NIX組ID。如果SID與winbindd(8)所映射的UNIX組不符合則操作失敗。
-V Prints the program version number.
-h|--help
Print a summary of command line options.
hXA EXIT STATUS
wbinfo程式在操作成幼阞藀^0,否則返回1。如果winbindd(8)當前不在運行,則wbinfo總是返回失敗信號。
VERSION
這份手冊隋bSamba套件三中經過了校正。
SEE ALSO
winbindd(8)
@ AUTHOR
samba軟體和相關工具最初由Andrew Tridgell創建。samba現在由Samba Team
作為開源軟體來發展,類似linux核心的開發方式。
最初的samba手冊隄O Karl Auer寫的。 手冊-
鴝l碼已經轉換為YODL格式(另一種很好的開源軟體,可以在ftp://ftp.ice.rug.nl/pub/unix找到),由Jeremy
Sllison 更新到Samba2.0 版本。 Gerald Carter
在Samba2.2中將它轉化為DocBook 格式。 Alexander Bokovoy 在Samba
3.0中實現了DocBook XML4.2 格式的轉換。
[]
meaculpa <meaculpa@21cn.com>
[]
2000/12/08
mlinuxan:
http://cmpp.linuxforum.net
WBINFO(1)