From 2c51eeb450e890f012b4dab67b39baadac5c93cc Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: May 16 2019 10:44:48 +0000 Subject: Issue - 50374 dsdim posixgroup create fails with ERROR Bug Description: dsidm posixgroup create passes a wrong parameter to _get_attributes. Fix Description: Fix the parameter name. Fixes https://pagure.io/389-ds-base/issue/50374 Reviewed by: mreynolds (Thanks!) --- diff --git a/src/lib389/lib389/cli_idm/posixgroup.py b/src/lib389/lib389/cli_idm/posixgroup.py index 87c951a..5213985 100644 --- a/src/lib389/lib389/cli_idm/posixgroup.py +++ b/src/lib389/lib389/cli_idm/posixgroup.py @@ -39,7 +39,7 @@ def get_dn(inst, basedn, log, args): _generic_get_dn(inst, basedn, log.getChild('_generic_get_dn'), MANY, dn, args) def create(inst, basedn, log, args): - kwargs = _get_attributes(args.extra, MUST_ATTRIBUTES) + kwargs = _get_attributes(args, MUST_ATTRIBUTES) _generic_create(inst, basedn, log.getChild('_generic_create'), MANY, kwargs, args) def delete(inst, basedn, log, args):