Man page - wbinfo(1)
Packages contains this manual
Available languages:
en zh_TW zh_CNManual
WBINFO
NAME总 览 SYNOPSIS
描 述 DESCRIPTION
选 项 OPTIONS
退 出 状 态 EXIT STATUS
版 本 VERSION
参 见 SEE ALSO
作 者 AUTHOR
[中 文 版 维 护 人 ]
[中 文 版 最 新 更 新 ]
《 中 国 linux论 坛 man手 册 页 翻 译 计 划 》 :
跋
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