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:
Rob Crittenden
2009-02-27 15:04:46 -05:00
parent 1359618e7e
commit be0cac932a
4 changed files with 70 additions and 14 deletions

View File

@@ -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"