Fix bug in group plugin. Was using wrong variable for attributes.

Fix bug #527537.
This commit is contained in:
Pavel Zuna authored and Rob Crittenden committed 2009-10-08 10:10:01 -04:00
1 parent 5be9721292
commit 0dd92f10cc
1 file changed
+1 -1
+1 -1
View File
@@ -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)