Untitled

 avatar
unknown
plain_text
5 months ago
183 B
4
Indexable
#!/bin/bash
input="users"

while read -r users; do
	user=$(echo $users | awk -F, '{ print $1 }')
	echo "$users" >> output.txt
	ldapsearch "(cn=$users)" + >> output.txt
done < "$input"
Editor is loading...
Leave a Comment