s3-pdb_ldap: fix crash bug in ldapsam_set_trusteddom_pw().