#7814 fix automountlocation-tofiles output
Closed: fixed by rcritten. Opened by fcami.

[root@f29-idm0 ~]# ipa automountkey-find default auto.test
------------------------
2 automount keys matched
------------------------
  Key: /test
  Mount information: nfs.example.com:/exports/test
  Key: /test2
  Mount information: nfs.example.com:/exports/test2
----------------------------
Number of entries returned 2
----------------------------
[root@f29-idm0 ~]# ipa automountlocation-tofiles default
/etc/auto.master:
/-  /etc/auto.direct
/home   /etc/auto.home
---------------------------
/etc/auto.direct:
---------------------------
/etc/auto.home:
maps not connected to /etc/auto.master:
---------------------------
/etc/auto.test:
/test   nfs.example.com:/exports/test

Reproducer:

ipa automountmap-add default auto.test
ipa automountkey-add default auto.test --key /test --info nfs.example.com:/exports/test
ipa automountkey-add default auto.test --key /test2 --info nfs.example.com:/exports/test2
ipa automountlocation-tofiles default

Metadata Update from @rcritten:
- Issue assigned to rcritten

https://github.com/freeipa/freeipa/pull/5920

master:

  • 3e9bb606b4050fe9feb359e4cc038a0ac4e671e3 Display all orphaned keys in automountlocation-tofiles
  • 14062c774b00ade4fba4f8493c2ae519dba9298f ipatests: Add test for ipa automountlocation-tofiles
  • f470f64908bec1bded5d6c2d538cdda6eb4979aa Fix automountlocation-tofiles expected output in xmlrpc test

Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1986052

Issue linked to Bugzilla: Bug 1986052

Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1986052 https://bugzilla.redhat.com/show_bug.cgi?id=1986054 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1986052)

ipa-4-9:

  • 89ca5c8836333aece9caf2ac433ccab1140f909a Display all orphaned keys in automountlocation-tofiles
  • dbe4159e27d44550085cb3ce0629d1e525c9b30e ipatests: Add test for ipa automountlocation-tofiles
  • ded3cd3fc8490561e44310e8f89efc3e13e82884 Fix automountlocation-tofiles expected output in xmlrpc test

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

Metadata