Provided by: manpages-zh_1.6.3.3-2_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)