I have around 10 users who have been given access to one specific application which uses AD authentication.
ldapsearch -p xxx -LLL -x -w test -h abc.com -D abc -b dc=abc,dc=com sAMAccountName=xyz | grep displayName
Can sAMAccountName be made to refer to my entire list of users (which is a seperate text file) at once?
If not, Can we just put this command into a script and let the user enter their sAMAccountName and check if they exist in AD?
Any thoughts on this...