Given a flat tarball of keytab files keyed by $(hostname).keytab this charm will extract the keytab and using kinit generate a credentials cache for authentication against a remote KDC or Kerberos enabled AD server.
- security ›
Provides basic functionality to join an ubuntu server to a Kerberos domain using a pregenerated keytab file.
From an existing KDC or Kerberos-enabled AD server create one or more principals for the units you wish to add to your domain.
- For each host create $HOSTNAME.keytab
- Tar the resulting files into keytab.tar
It is important to have this file created before deploying the charm. This file can then be used during application deployment:
- juju deploy kerberos-keytab --resource keytab_bundle=
- juju add-relation kerberos-keytab
This charm assumes the Kerberos domain and realm to be EXAMPLE.COM, which is likely incorrect for your environment. This should be changed before relating it to any other units.
Michael Skalka firstname.lastname@example.org
- (string) IP Address or hostname of the remote admin server.
- (string) Kerberos domain. Currently only supports a single entry.
- (string) IP Address or hostname of the remote KDC or Kerberos enabled AD server.
- (string) principal to use when adding the server, e.g. "host/HOSTNAME.example.com"
- (string) Kerberos Realm. Currently only supports a single entry.
- (string) Local user to perform domain join under, defaults to ubuntu.