ldapsearch query
Hi,
I'm poor in ldapsearch queries.I refer some sites for writing ldapsearch .But Ican't get a clear idea.I'm using RHEL4. I want to take the users who all are belongs tp passwordExpirtaion time is to july'27'2009. /usr/ldaptools/bin/ldapsearch -h <hostname> -S attr uid -b "ou=users,o=novell" "passwordExpirationTime=20090727*" >>ids.txt But its not working,Anyone helps appreciated. |
Remove the attr from your command:
Code:
/usr/ldaptools/bin/ldapsearch -h <hostname> -S uid -b "ou=users,o=novell" "passwordExpirationTime=20090727*" >>ids.txt |
All times are GMT -5. The time now is 02:53 AM. |