Yes it’s been asked before… and yes It is incredibly messy…
since we cannot rename a UCS/Samba LDAP setup easily…
would it be workable to take a renamed backup of the existing samba portion of an existing UCS AD setup
do the rename into a secondary “new” domain.
as per:
https://wiki.samba.org/index.php/Domain_rename_tool
finally bind a new UCS “takeover” mode against the renamed Samba AD
to endup with a “renamed” UCS instance, finally take all old systems off line and change the new system to the ip address of the old UCS instance.
I have a company merge to test… and no we cannot just re enter the users, there are millions of files & NAS that rely on the existing user/group ID’s
simply re-entering the users & groups changes the ID & disconnects any associations.