when a domain user from ldap is being renamed (hyena can do that for examplevery easy) the user's groupmemberships are lost becuase the memberUid attributes of the user's groups are not modified
on the other hand this should maybe be one of the things the rename user script has to take care of, too.
I really think this is outside of the scope of Samba. If you rename the Unix account, you are responsible for responsible for renaming the entries in the groups as well. So yes, I would agree that this should be done by the defined "rename user script".
Now it's me who re-opens a bug :-). Jerry, you're right that this belongs to the scripts, but we now have ldapsam:editposix. There we need to fix it. Volker
*** This bug has been marked as a duplicate of bug 6353 ***