Created attachment 15203 [details]
Also copy pw_comment in tcopy_passwd()
All fields of the passwd structure are copied in tcopy_passwd() except for pw_comment, and I needed pw_comment to be copied and here is the patch for the change.
That looks clean to me. Can you either submit it to samba-technical or on the gitlab-CI and create a merge request once it passes ?