mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 00:26:33 -06:00
Fix bug in group plugin. Was using wrong variable for attributes.
Fix bug #527537.
This commit is contained in:
parent
5be9721292
commit
0dd92f10cc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user