From 70a57924c8e265df1e97b7f0be1adf8da802fbfd Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 18 Oct 2010 14:53:32 -0400 Subject: Allow RDN changes for users, groups, rolegroups and taskgroups. To do a change right now you have to perform a setattr like: ipa user-mod --setattr uid=newuser olduser The RDN change is performed before the rest of the mods. If the RDN change is the only change done then the EmptyModlist that update_entry() throws is ignored. ticket 323 --- ipalib/plugins/group.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins/group.py') diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py index 2b8dc1af1..975915b42 100644 --- a/ipalib/plugins/group.py +++ b/ipalib/plugins/group.py @@ -90,6 +90,7 @@ class group(LDAPObject): 'member': ['user', 'group'], 'memberof': ['group', 'netgroup', 'rolegroup', 'taskgroup'], } + rdnattr = 'cn' label = _('User Groups') -- cgit