Generate a Base64 Encoded Password
See Generating Base64 Encoded Strings
Update Service Principal Passwords
- Create LDIF:
dn: CN=PRINCIPAL_NAME,OU=OU0,DC=DC2,DC=DC1,DC=DC0 changetype: modify replace: unicodePwd unicodePwd:: BASE64_ENCODED_PRINCIPAL_PASSWORD
- Apply LDIF:
ldapmodify -Z -D BIND_USER@REALM -h HOST -p PORT -W -f LDIF.ldif