Files
freeipa/ipaserver
Florence Blanc-Renaud 19cd960387 ipa user-add: add optional objectclass for radius-username
The command "ipa user-add --radius-username" fails with
ipa: ERROR: attribute "ipatokenRadiusUserName" not allowed
because it does not add the objectclass ipatokenradiusproxyuser
that is required by the attribute ipatokenradiususername.

The issue happens with ipa user-add / stageuser-add / user-mod / stageuser-mod.

The fix adds the objectclass when needed in the pre_common_callback method
of baseuser_add and baseuser_mod (ensuring that user and stageuser commands
are fixed).

Fixes https://pagure.io/freeipa/issue/7569

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-11-13 12:40:44 +01:00
..
2018-10-05 12:06:19 +02:00
2010-12-20 17:19:53 -05:00
2018-09-27 11:49:04 +02:00
2018-10-05 12:06:19 +02:00
2016-10-20 18:43:37 +02:00
2018-07-05 19:46:42 +02:00