ie.ldap.managerPw is the property that Windchill uses for the Ldap Manager's password. But, the rehost utility doesn't use this property by default. Instead, it uses rehost.target.ldap.password. This property is specific to the rehost utility and isn't managed by xconfmanager. The only way to set this property is by using the setAuth utility. Try running the below command to reset/re-encrypt this password:
setAuth conf\rehost.properties --setAuth target.ldap.password -t conf\rehost.properties
When prompted for the password, give it the password of the cn=Manager user. If the rehost utility still fails with the LDAP error code 49, then you could try pointing the utility at the ie.ldap.managerPw property instead. To do that, open up rehost.properties and change the line:
target.ldap.password=encrypted.rehost.target.ldap.password
to:
target.ldap.password=encrypted.ie.ldap.managerPw
Then, you can reset/re-encrypt the ie.ldap.managerPw property with the below xconfmanager command, replacing <Password> with the password of your cn=Manager user:
xconfmanager -s ie.ldap.managerPw=<Password> -t codebase/WEB-INF/ieStructProperties.txt -p