Untitled

Anonymous
plain_text
12/10/2024 2:36 AM
244 B
17
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