#1714 host-mod doesn't return has_password and has_keytab
Closed: Fixed None Opened 12 years ago by edewata.

In ticket #1538 the has_password and has_keytab attributes were added into the result of some host operations but not host-mod. The UI needs that in order to update the status of the Kerberos Key after setting the OTP (ticket #1710).

Here's the output of host-mod:

# ipa host-mod test.example.com --password=12345
--------------------------------
Modified host "test.example.com"
--------------------------------
  Host name: test.example.com
  Principal name: host/test.example.com@IDM.LAB.BOS.REDHAT.COM
  Managed by: test.example.com

It should include the has_password and has_keytab attributes as in other host operations:

# ipa host-show test.example.com
  Host name: test.example.com
  Principal name: host/test.example.com@IDM.LAB.BOS.REDHAT.COM
  Keytab: False
  Password: True
  Managed by: test.example.com

- master: 6dfd7c8242c564faae9f74a86cdc12e7f58d08ca
- ipa-2-1: 4a9319a2a90861101d6775498d194d14cfc20cf6

Metadata Update from @edewata:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata