瀏覽代碼

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!)
Viktor Ashirov 6 年之前
父節點
當前提交
2c51eeb450
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib389/lib389/cli_idm/posixgroup.py

+ 1 - 1
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):