Unable to set ipaUserAuthType when creating a new stageuser
ipaUserAuthType
Run ipa stageuser-add --first=$FIRST --last=$LAST $USERNAME --user-auth-type='password'
ipa stageuser-add --first=$FIRST --last=$LAST $USERNAME --user-auth-type='password'
[root@idm-server ~]$ ipa stageuser-add hpotter --first=Harry --last=Potter --user-auth-type='password' ipa: ERROR: attribute "ipaUserAuthType" not allowed [root@idm-server ~]$
Stageuser is created successfully with an ipaUserAuthType of password
password
[root@idm-server ~]$ rpm -q ipa-server ipa-client 389-ds-base pki-ca krb5-server ipa-server-4.8.7-16.module+el8.3.0+10289+b6566038.x86_64 ipa-client-4.8.7-16.module+el8.3.0+10289+b6566038.x86_64 389-ds-base-1.4.3.8-7.module+el8.3.0+10310+6e88d919.x86_64 pki-ca-10.9.4-3.module+el8.3.0+10353+73f6df5b.noarch krb5-server-1.18.2-5.el8.x86_64 [root@idm-server ~]$ cat /etc/redhat-release Red Hat Enterprise Linux release 8.3 (Ootpa) [root@idm-server ~]$
Metadata Update from @frenaud: - Issue assigned to frenaud
This can easily be reproduced and needs a fix. In the meantime, there is an easy workaround: first create the stageuser (without user-auth-type), the modify the stageuser:
ipa stageuser-add hpotter --first=Harry --last=Potter ipa stageuser-mod hpotter --user-auth-type='password'
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/5871
master:
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1979605
Issue linked to Bugzilla: Bug 1979605
Issue linked to Bugzilla: Bug 1979609
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1979605, https://bugzilla.redhat.com/show_bug.cgi?id=1979609 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1979605)
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.