#4868 idoverrideuser-add option --sshpubkey does not work
Closed: Fixed None Opened 8 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1185410

Description of problem:
A ssh key cannot be added with idoverrideuser-add:

[root@sideswipe ~]# ipa idoverrideuser-add 'default trust view'
aduser1@adtest.qe --uid 960600030 --sshpubkey 'ssh-rsa AAAAAAAAAAAXXXXXXXX
root@sideswipe.ipasync.test'
ipa: ERROR: attribute "ipaSshPubKey" not allowed

Nevertheless it is working as expected with idoverrideuser-mod

Version-Release number of selected component (if applicable):
ipa-4.1.0-15.el7

See https://bugzilla.redhat.com/show_bug.cgi?id=1185410#c2. This one is requested by downstream build, bumping priority.

master:

  • 3b87302 idviews: Allow setting ssh public key on ipauseroverride-add

ipa-4-1:

  • 0dc7448 idviews: Allow setting ssh public key on ipauseroverride-add

test coverage:

ipa-4-1:

  • bfef4d2 ipatests: add missing ssh object classes to idoverrideuser
  • 6667701 ipatests: Add coverage for adding and removing sshpubkeys in ID overrides

master:

  • 25f5ee0 ipatests: add missing ssh object classes to idoverrideuser
  • a34ff7f ipatests: Add coverage for adding and removing sshpubkeys in ID overrides

Metadata Update from @mkosek:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.1.3

6 years ago

Login to comment on this ticket.

Metadata