Supported method to rename JNDI Adapter
If you happen to create a JNDI adapter that references the hostname and at some stage upgrade Windchill, the hostname is migrated to the new system. That can cause confusion as it may seem that the upgraded system is referencing the source, allowing cross-talk.
What is the supported method to rename the JNDI Adapter?
It would need to at least address the name in Info*Engine and the wt.federation.org.directoryServices property. This article asks the question, but does not answer it:
Article - CS361116 - Is it possible to change JNDI AD Adapter name or URL for the upgrading in Windchill 12.0 (ptc.com)

