This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository lib389.
commit d0fbf04d05da5968bd3ca11211b545df3806fdc4
Author: William Brown <firstyear(a)redhat.com>
Date: Mon May 8 08:25:31 2017 +1000
Ticket 28 - Change default objectClasses for users and groups
Bug Description: Previously we had to use inetUser on users
for memberOf, and no option existed for groups.
Fix Description: With the addition of nsMemberOf we can support users
and groups with this objectClass. As well, it allows us to remove
inetUser because it's attributes are supplied by the other classes
on the object.
https://pagure.io/lib389/issue/28
Author: wibrown
Review by: mreynolds (Thanks!)
---
lib389/idm/group.py | 1 +
lib389/idm/user.py | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib389/idm/group.py b/lib389/idm/group.py
index eabebfb..df123aa 100644
--- a/lib389/idm/group.py
+++ b/lib389/idm/group.py
@@ -22,6 +22,7 @@ class Group(DSLdapObject):
self._create_objectclasses = [
'top',
'groupOfNames',
+ 'nsMemberOf',
]
self._protected = False
diff --git a/lib389/idm/user.py b/lib389/idm/user.py
index 40d3dfd..990cdaf 100644
--- a/lib389/idm/user.py
+++ b/lib389/idm/user.py
@@ -31,8 +31,7 @@ class UserAccount(DSLdapObject):
'account',
'posixaccount',
'inetOrgPerson',
- 'person',
- 'inetUser',
+ 'nsMemberOf',
'organizationalPerson',
# This may not always work at sites?
# Can we get this into core?
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.