base64 oneline
This commit is contained in:
parent
28c0465ca1
commit
52f3274f41
|
@ -20,7 +20,7 @@ objectClass: simpleSecurityObject
|
||||||
objectClass: organizationalRole
|
objectClass: organizationalRole
|
||||||
cn: root
|
cn: root
|
||||||
description: LDAP administrator
|
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
|
structuralObjectClass: organizationalRole
|
||||||
|
|
||||||
dn: ou=People,$basedn
|
dn: ou=People,$basedn
|
||||||
|
|
|
@ -21,5 +21,5 @@ uid: $1
|
||||||
givenName:: `echo "$2" | base64`
|
givenName:: `echo "$2" | base64`
|
||||||
sn:: `echo "$3" | base64`
|
sn:: `echo "$3" | base64`
|
||||||
mail:: `echo "$4" | 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
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue