mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Update objectclasses for groups, by default not posix groups.
This change depends on DS bugs 487574 and 487725. Groups cannot be promoted properly without these fixed. It will fail with an Object Class violation because gidNumber isn't set.
This commit is contained in:
@@ -202,7 +202,7 @@ class ldap(CrudBackend):
|
||||
if attribute == "uid": # User
|
||||
object_type = "posixAccount"
|
||||
elif attribute == "cn": # Group
|
||||
object_type = "posixGroup"
|
||||
object_type = "ipaUserGroup"
|
||||
elif attribute == "krbprincipalname": # Service
|
||||
object_type = "krbPrincipal"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user