Fix passwd ldif for modifying all attributes

This commit is contained in:
Rechner Fox 2021-05-03 00:40:19 -07:00 committed by GitHub
parent 8d2ee1c404
commit 0b559160ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,10 @@ changetype: delete" | ldapmodify -H "$prefix""://""$ldapserver" -D "$binduser" -
echo -E "\
dn: uid=$uid,cn=sysaccounts,cn=etc,$ldapdomain
changetype: modify
replace: userPassword
userPassword: $password
-
replace: passwordExpirationTime
passwordExpirationTime: ${expire}031407Z" | ldapmodify -H "$prefix""://""$ldapserver" -D "$binduser" -w "$bindpass" && results="Submitted." || results="Error."
;;
exit)