#6409 [RFE] extend ipa-getkeytab to support other LDAP bind methods
Closed: Fixed None Opened 8 years ago by mbabinsk.

Currently ipa-getkeytab supports only two bind methods: simple bind using ldaps://$server, or GSSAPI bind to ldap://$server which precludes the use of this command as an universal interface to request service keytabs in various contexts (e.g. installers).

It would be nice if other bind methods, like LDAPI autobind, are supported. For this we propose to extend the utility as follows:

-s, -D, -w options will be kept for backward compatibility

-H <LDAP_URI> option will be added to specify full LDAP uri. By default the URI will be constructed from retrieved server name as is done now. Specifying this options precludes use of -s.

-Y <MECH> to specify SASL bind mechanism (EXTERNAL, GSSAPI, etc.)

Exact options/behavior are of course open to discussion, but this nicely mirrors the interface of openldap client utilities.


moving to 4.5 because it will simplify installer refactoring

master:

  • 294fc3d ipa-getkeytab: expose CA cert path as option
  • 0c68c27 extend ipa-getkeytab to support other LDAP bind methods
  • 8480d0e Modernize ipa-getkeytab test suite
  • 2725e44 Extend keytab retrieval test suite to cover new options

Test fix:

master:

  • 3ecda74 test_ipagetkeytab: use system-wide IPA CA cert location in tests

Metadata Update from @mbabinsk:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.5

8 years ago

Log in to comment on this ticket.

Metadata