Files
CD73/etabs_with_individus.sh

14 lines
237 B
Bash
Raw Normal View History

2025-07-31 16:03:18 +02:00
#!/bin/bash
for etab in $(python3 find_individus.py -t current_etabs)
do
ldapsearch -LLL -x -b "ou=$etab,ou=tst-colleges,ou=education,o=gouv,c=fr" uid | grep -q uid
res=$?
if [ $res -eq 0 ]
then
echo $etab
fi
done
exit 0