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.
wbinfo - 向winbind服务查询信息的更多相关文章
- 域名解析服务查询工具dnstracer
域名解析服务查询工具dnstracer 在访问网站过程中,当用户输入网址后,通常是先解析域名,获取该网站的IP地址.然后,根据IP地址访问对应的网站服务器.所以,域名解析服务器保证域名指向正确的网 ...
- 人人都是 DBA(XII)查询信息收集脚本汇编
什么?有个 SQL 执行了 8 秒! 哪里出了问题?臣妾不知道啊,得找 DBA 啊. DBA 人呢?离职了!!擦!!! 程序员在无处寻求帮助时,就得想办法自救,努力让自己变成 "伪 DBA& ...
- 分页查询信息(使用jdbc连接mysql数据库实现分页查询任务)
分页查询信息 使用jdbc连接mysql数据库实现分页查询任务 通过mysql数据库提供的分页机制,实现商品信息的分页查询功能,将查询到的信息显示到jsp页面上. 本项目 ...
- Rest数据服务查询类-根据sql查询
Rest数据服务查询类 需要iserver data服务支持,但请求的时候,不依赖SuperMap js lib包. 构造函数:QueryById=function(p_params): p_para ...
- Rest数据服务查询类-根据id查询
Rest数据服务查询类 需要iserver data服务支持,但请求的时候,不依赖SuperMap js lib包. 构造函数:QueryById=function(p_params): p_para ...
- 第三章 consul服务注册与服务查询
1.定义一个服务 https://www.consul.io/docs/agent/services.html 该方法是服务注册中提供服务的最常用的方法. 关于服务的定义:服务的属性我们会在后边每出现 ...
- 跨服务器查询信息的sql
--跨服务器查询信息的sql: select * from openrowset( 'SQLOLEDB', '192.168.1.104'; 'sa'; '123.com',[AutoMonitorD ...
- dig - 发送域名查询信息包到域名服务器
SYNOPSIS(总览) dig [@ server ] domain [Aq query-type ] [Aq query-class ] [+ Aq query-option ] [-Aq dig ...
- JDBC连接数据库查询信息的步骤(提取成配置文件方式)
硬编码格式的弊端:数据库发生改变时,要重新修改代码,重新编译和部署 解决方法:将数据库信息写在配置文件当中,让程序通过读取配置文件来获得这些信息 jdbc.driver.class=com.mysql ...
随机推荐
- 挂载时出现mount: RPC: Unable to receive; errno = Connection refused错误的解决方法
当我们在做NFS开发板下挂载时,经常会出现mount: RPC: Unable to receive; errno = Connection refused的错误,连接被拒绝了,到底是什么原因呢? 这 ...
- vue provide/inject 父组件如何给孙子组件传值
一般情况下我们父子组件之间的传值用的是props,这个就不多说了,但是如果想让父组件给子组件的组件传值怎么办呢,如果还用props的话肯能会比较复杂,这里我们就可以用到 provide 和 injec ...
- 笔记61 Spring Boot快速入门(一)
IDEA+Spring Boot快速搭建 一.IDEA创建项目 略 项目创建成功后在resources包下,属性文件application.properties中,把数据库连接属性加上,同时可以设置服 ...
- SpringMVC整合Freemarker(含Demo源码)(转)
转自:http://blog.csdn.net/sinat_27535209/article/details/61199452 整合过程如下: 1.新建一个maven web工程,使用maven依赖s ...
- Tomcat 在IE中下载rar文件直接以乱码方式打开解决方案
这几天一直很纳闷,在Tomcat部署的网站中的下载文件中,如果文件是rar类型的,一点击下载rar文件就直接打开,并且出现乱码,右键另存为浏览器也是默认为html格式,一直以为是浏览器IE的问题,后来 ...
- Linux编译C语言程序
1.首先安装gcc包,运行C++程序,安装gcc-c++ 包 如果没有安装的自行进行安装 2.编辑C语言程序, 打印乘法口诀表 [root@Db1 c]# vim chengfa.c 在编辑界面中,输 ...
- model字段对象和forms字段对象的区别和联系
一.model字段对象 (一)_meta _meta是django.db.models.options.Options的实例,获取字段对象可通过模型类来进行获取,而_meta可提供如下功能: 获取模型 ...
- nodejs模块——fs模块 WriteFile写入文件
WriteFile写入文件 使用fs.writeFile(filename,data,[options],callback)写入内容到文件. 参数说明: filename String 文件名 dat ...
- OVR工厂简介
最近在写分布式架构的应用,顺便写了一个轻量级的集群批量创建影像金字塔的软件,在遥感影像生产中能提升不少效率.以下是软件简介: 由于32位ArcGIS在批量创建影像金字塔中计算力不足和易中断的缺点,在创 ...
- Python爬虫实战—— Request对象之header伪装策略
在header当中,我们经常会添加两个参数--cookie 和 User-Agent,来模拟浏览器登录,以此提高绕过后台服务器反爬策略的可能性. User-Agent获取 User-Agent可通过随 ...