总览 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. 

最新文章

  1. Replication的犄角旮旯(八)-- 订阅与发布异构的问题
  2. css多行文本省略号问题
  3. Localizing Astah – Chinese version(simplified) is now available!
  4. to disable the entity lazy load, The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.
  5. NOI2015 Day2
  6. 在SrollView中嵌套GridView或ListView(转)
  7. 【MySQL疑难杂症】如何将树形结构存储在数据库中(方案一、Adjacency List)
  8. [cf453e]Little Pony and Lord Tirek
  9. MFC常见问题总结
  10. .NET Core Community 第三个千星项目诞生:爬虫 DotnetSpider
  11. ssh连接报错server responded”algorithm negotiation failed”
  12. 使用 libjpeg 库解压数据示例
  13. Java:传值还是传引用?
  14. 【图数据结构的遍历】java实现广度优先和深度优先遍历
  15. Hadoop框架
  16. 演示一下:rm -rf /
  17. template.js的使用心得
  18. bzoj 2784 时间流逝 —— 树上高斯消元
  19. 各种网站,app的手机号绑定真坑爹
  20. nginx发布的nginScript

热门文章

  1. pyhon if分支
  2. Pytest使用自定义标记mark只执行部分用例
  3. 使用Condition实现顺序执行
  4. fetch bulk collect into 进行批量、快速提取数据的方式
  5. mybatis 多表查询sql
  6. python 获取淘宝商品信息
  7. loadrunner自定义函数
  8. 使用 @Log4j2 log.error() 打印异常日志
  9. cf期望概率专题
  10. BZOJ 3238: [Ahoi2013]差异((单调栈+后缀数组)/(后缀树))