References: In-Reply-To: X-RT-Original-Encoding: utf-8 Content-Type: text/html; charset="utf-8" X-Mailer: MIME-tools 5.509 (Entity 5.509) Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: binary Content-Disposition: inline X-RT-Interface: Web RT-Send-CC: Content-Length: 723 The service stash file should contain:
cn=kdc-srv,cn=krbContainer,dc=example,dc=local#{HEX}...
cn=adm-srv,cn=krbContainer,dc=example,dc=local#{HEX}...
where the "..."s are the hex encoding of the supplied passwords.  In what way is the file malformed?  libkdb5_util is able to read a password from it, or you would see an error about reading the stash file instead of an error about the LDAP server rejecting the credentials.  If I run the given commands, the resulting file does not seem amiss.

(As an aside, the -D and -w options to these kdb5_ldap_util invocations should be unnecessary, as this subcommand does not need to authenticate to the LDAP server.)