dmzconf/docs/slapd/generateacl.sh

8 lines
187 B
Bash
Raw Normal View History

2024-01-05 11:33:19 +00:00
#!/bin/bash
READUSERS=""
for i in $(cat servicesaccounts.txt); do READUSERS="$READUSERS by dn=\"$i\" read" ; done
2024-01-22 17:56:17 +00:00
sed 's/READUSERS/'"$READUSERS"'/g' acladd-template.ldif > acladd.ldif
2024-01-05 11:33:19 +00:00