base64 oneline

This commit is contained in:
Denis Knauf 2018-03-29 23:59:59 +02:00
parent 28c0465ca1
commit 52f3274f41
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: root
description: LDAP administrator
userPassword:: `slappasswd -h '{CRYPT}' -c '$5$rounds=8000$%.16s' -s "$pw" | base64`
userPassword:: `slappasswd -h '{CRYPT}' -c '$5$rounds=8000$%.16s' -s "$pw" | base64 -w0`
structuralObjectClass: organizationalRole
dn: ou=People,$basedn

View file

@ -21,5 +21,5 @@ uid: $1
givenName:: `echo "$2" | base64`
sn:: `echo "$3" | base64`
mail:: `echo "$4" | base64`
userPassword:: `slappasswd -h '{CRYPT}' -c '$5$rounds=8000$%.16s' -s "$pw" | base64`
userPassword:: `slappasswd -h '{CRYPT}' -c '$5$rounds=8000$%.16s' -s "$pw" | base64 -w0`
EOF