Sign inSign up

simplesteph/docker-kerberos-get-keytab

By simplesteph

•Updated almost 8 years ago

Get a Kerberos Keytab from a User / Password combination

Image
0

1.9K

simplesteph/docker-kerberos-get-keytab repository overview

⁠Docker Kerberos Keytab Generator

This docker image allows you to automate the creation of a keytab file using only your username and password

⁠Environment variables

  • PRINCIPAL: Your username, should be of the form [email protected]
  • KEYTAB_SECURITY: Optional security level for your keytab (default is rc4-hmac)

⁠Running

Please replace the < > blocks by the appropriate values

Linux / Mac

docker run -it --rm \
            -v $(pwd):/output \
            -e PRINCIPAL=<[email protected]> \
            simplesteph/docker-kerberos-get-keytab

Windows

docker run -it --rm ^
            -v %cd%:/output ^
            -e PRINCIPAL=<[email protected]> ^
            simplesteph/docker-kerberos-get-keytab

You may have to reboot your machine after running this command to reset the logins (see https://github.com/simplesteph/docker-kerberos-get-keytab/issues/1⁠)

⁠Providing your own krb5.conf

If you wish, you can provide your own krb5.conf to find the login servers Locations could be

  • /etc/krb5.conf (Linux / Mac)
  • C:\windows\krb5.ini (older Windows)
  • C:\winnt\krb5.ini (older Windows)

Then in your docker run command, add the following: -v /location/of/krb5.conf:/etc/krb5:ro

Tag summary

Content type

Image

Digest

Size

117.2 MB

Last updated

almost 8 years ago

docker pull simplesteph/docker-kerberos-get-keytab