#9433 ipa user-mod --idp-user-id fails with: attribute "ipaIdpSub" not allowed
Closed: fixed 2 years ago by rcritten. Opened 2 years ago by frenaud.

Issue

When creating a user with --idp-user-id or modifying an existing user with --idp-user-id, the operations fails if the user entry does not already contain the ipaipduser objectclass.

Steps to Reproduce

  1. Create a new user with ipa user-add idpuser --first idp --last user --idp-user-id myidpuserid
  2. or
  3. Add a new user, then update the user with ipa user-add idpuser --first idp --last user; ipa user-mod idpuser --idp-user-id myidpuserid

The operation fails with

ipa: ERROR: attribute "ipaIdpSub" not allowed

Actual behavior

(what happens)

Expected behavior

(what do you expect to happen)

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.

Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html
Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6975

2 years ago

master:

  • 0654fb3 idp: add the ipaidpuser objectclass when needed

ipa-4-11:

  • f16b6e3 idp: add the ipaidpuser objectclass when needed

ipa-4-10:

  • 1b69b0e idp: add the ipaidpuser objectclass when needed

ipa-4-9:

  • 7e5740f idp: add the ipaidpuser objectclass when needed

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Metadata Update from @abbra:
- Custom field changelog adjusted to Allow to create user accounts with external IdP reference pre-defined.

a year ago

Log in to comment on this ticket.

Metadata