base64 oneline
This commit is contained in:
parent
28c0465ca1
commit
52f3274f41
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue