Tracking the Creation of User Objects

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 6 Dec 2002

The Setup
Is there a way of tracking when user objects were created? We want to find out what user accounts were created in the last year.

The Solution
You can query against the creation time stamp attribute. Calculate the NDS time of the date you want to use as your search criterion, then do a comparative search. Here is an example of dumping out the admin object's creation time stamp via LDAP:

ldapsearch -h -D "cn=admin,o=org" -w n0v3ll 
-b "cn=admin,o=org" objectClass=* createTimeStamp

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© Micro Focus