summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-10-08 12:55:14 +0200
committerRob Crittenden <rcritten@redhat.com>2009-10-08 10:10:01 -0400
commit0dd92f10cc9313f4126fc74efcb6be3e6273915e (patch)
tree3877cc8ee8cf339f8a8a506d7e96823d311fd925
parent5be97212921e2077df22f9b2bb11a9b3781ba771 (diff)
downloadfreeipa-0dd92f10cc9313f4126fc74efcb6be3e6273915e.tar.gz
freeipa-0dd92f10cc9313f4126fc74efcb6be3e6273915e.tar.xz
freeipa-0dd92f10cc9313f4126fc74efcb6be3e6273915e.zip
Fix bug in group plugin. Was using wrong variable for attributes.
Fix bug #527537.
-rw-r--r--ipalib/plugins/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index 33f757bb..afed5d01 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -85,7 +85,7 @@ class group_add(LDAPCreate):
def pre_callback(self, ldap, dn, entry_attrs, *keys, **options):
if options['posix'] or 'gidnumber' in options:
- options['objectclass'].append('posixgroup')
+ entry_attrs['objectclass'].append('posixgroup')
return dn
api.register(group_add)