The Samba-Bugzilla – Bug 6353
renaming users in usrmgr requires rename script for ldapsam:editposix=yes
Last modified: 2011-01-14 01:43:12 UTC
renaming users in usrmgr requires rename script for ldapsam:editposix=yes which it shouldn't in that case
Created attachment 4146 [details]
rename users w/o scripts for ldapsam:editposix=yes
This does not handle changes in group membership though.
Ack, looks correct.
Thanks for catching this one.
*** Bug 4335 has been marked as a duplicate of this bug. ***
Looks correct. Just one little stylistic remark: We have the routine talloc_autofree_ldapmsg which might help here.
I think the handling of group memberships really should be added before. Hyena allows renaming of user accounts and if group memberships are lost this is a bad thing.
It's even a security risk if later on a new account is created who has the same name as the old (renamed) account and if the group memberships are not checked by the account creation tool. The new user then has the old group memberships of the other renamed user.
Simo agreed on patch.
What about this one?
Should we pick that for 3.4.0?
*** Bug 6587 has been marked as a duplicate of this bug. ***
*** Bug 7895 has been marked as a duplicate of this bug. ***
Gregor is working on a fix that includes the group membership handling.
This might also be useful