Changing Domain/LDAP server on a previous working installation

Hello, I’m also interested is there a way all SIDs to be remapped.
Is not an option for us to lose the shares.