Quote:
Originally Posted by Latitude
Hello LQ,
Can anyone advise on an ldapsearch query that will show users created between two dates? I need to query ldap to find out which users were created between 1 OCT 2017 and 15 August 2018 AND belong to a specific group. Thanks in advance.
|
Look at the documentation on LDAP, and read the man pages on the ldapsearch command. You should be able to include the "modifytimestamp" directive, and enter something...two directives will give you a range. Add more criteria as necessary.
Code:
(&(modifytimestamp>=<some time stamp>))"