Provided by: manpages-zh_1.6.3.6-1_all bug

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]

描述 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 該選項試圖把一個UNIX組ID轉換為一個Windows            NT的SID。如果指定的GID無法對應
              到idmap的GID範圍中,則操作失敗。

       -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伺服器信任的域列表。該
              列表不含主域控制器所在的那個NT域。

       -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可以把一個SID解析為一個名字。這正好與上面那個-n選項相反。SID必須按傳統的微軟格
              , 用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 該選項把一個SID轉換為一個UNIX使用者ID。如果SID與winbindd(8)所對映的UNIX使用者不符合
              則操作失敗。

       -t     該選項對samba伺服器加入到NT域中時所建立的工作站信任賬號進行校驗。

       -u     該選項可以列出winbindd(8)服務所在的那個Windows NT域中所有可以得到的使用者。所有受託
              域中的使用者也將被列出。注意該操作並不為任何winbindd(8)尚未獲悉的使用者分配使用
              者ID。

       -U uid 該選項試圖把一個UNIX使用者ID轉換為一個Windows        NT的SID。如果指定的UID無法對應
              到winbind的UID範圍中,則操作失敗。

       -x user
              Delete an existing local winbind user.

       -X group
              Delete an existing local winbindd group.

       -Y sid 該選項把一個SID轉換為一個UNIX組ID。如果SID與winbindd(8)所對映的UNIX組不符合則操作失
              敗。

       -V     Prints the program version number.

       -h|--help
              Print a summary of command line options.

退出狀態 EXIT STATUS

       wbinfo程式在操作成功時返回0,否則返回1。如果winbindd(8)當前不在執行,則wbinfo總是返回失敗
       訊號。

版本 VERSION

       這份手冊頁在Samba套件三中經過了校正。

參見 SEE ALSO

       winbindd(8)

作者 AUTHOR

       samba軟體和相關工具最初由Andrew Tridgell建立。samba現在由Samba Team 作為開源軟體來發展,類
       似linux核心的開發方式。

       最初的samba手冊頁是  Karl   Auer寫的。   手冊頁原始碼已經轉換為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

《中國linux論壇man手冊頁翻譯計劃》:

       http://cmpp.linuxforum.net

       本頁面中文版由中文 man 手冊頁計劃提供。
       中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh

                                                                                        WBINFO(1)