user.ldif.sh uses basedn

This commit is contained in:
Denis Knauf 2018-03-29 21:52:10 +02:00
parent ab4db6e676
commit bd54b6b916

View file

@ -11,7 +11,7 @@ pw=`pwgen 8 1`
echo "# Password: $pw" >&2
cat <<EOF
dn: cn=$1,ou=People,o=denkn,c=at
dn: cn=$1,ou=People,`cat basedn`
objectClass: top
objectClass: simpleSecurityObject
objectClass: organizationalPerson