Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ldapsearch -h atlas.dcu.ie -b ou=students,o=dcu -x cn=_________
- while read p; do arr=($p); echo ${arr[0]}; ldapsearch -h atlas.dcu.ie -x -LLL -b ou=students,o=dcu cn=${arr[1]} gecos | grep gecos | sed -e 's/gecos: //g'; done < results.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement