Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our specialty !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LDAP Query for Users with Expiring Accounts

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> windows
Author Message
digital8
Second Lieutenant


Joined: 29 Sep 2005
Posts: 1002

PostPosted: Fri Oct 07, 2005 12:00 pm    Post subject: LDAP Query for Users with Expiring Accounts Reply with quote

Want to query AD for Remote Access Users or Non-Expiring Accounts or even Disabled accounts?

You can download the file 10252Accountswithexpiringdate.zip

To import the query to the root of the Save Queries folder follow the few steps below:

1. Download the above zip file and uncompress it. Or use the one that you just created

2. Right Click on Saved Queries

3. Choose Import Query Definition...

4. Browse to find the xml file you want to import

5. Now you should see these queries.

Repeat until all three queries have been added to your Saved Queries.

For the ones that want to cut and paste, here are the LDAP Queries.


Expiring Accounts---> (&(&(objectCategory=person)(objectClass=user)(!AccountExpires=0)(!AccountExpires=9223372036854775807)))



***Note**** These was ran against Windows Server 2003 Domain Controller

I have other Active Directory Query articles, so search all my articles or visit my blog and search my blog:
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> windows All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group