Giter Site home page Giter Site logo

puppet-krb5's Introduction

puppet-krb5

Overview

This is the kerberos module, you can use this to manage a krb5.keytab and the krb5.conf file

Module Description

This puppet module manages the configuration files required for using kerberos as the authentication mechanism for things like cifs mounts.

To this end, this module has been designed to compliment the puppet-fstab module.

Setup

What Krb5 affects

  • Manages the /etc/krb5.conf file
  • Deploys a /etc/krb5.keytab file

Usage

To create an insance of tomcat

class { 'krb5':
    default_realm => 'AD.NERC.AC.UK',
    keytab        => 'puppet:///puppet_share/keytab.file',
}

krb5::realm { 'AD.NERC.AC.UK':
   kdc            => 'some.ip.address',
   admin_server   => 'some.ip.address',
   default_domain => 'ad.nerc.ac.uk'
}

Generating a .keytab file for use with the fstab module

You can use ktutil in order to generate a keytab file. On Ubuntu, ktutil is available by:

apt-get install krb5-user

Assuming that you have configured this module to point to your krb5 realm (see usage), you will be able to generate a ticket granting ticket for a particular user.

ktutil
addent -password -p [email protected] -k 1 -e aes256-cts # This will prompt for your password
wkt /etc/krb5.keytab

You can now use this keytab file for authentication. For example, you can mount a windows shared drive using the puppet-fstab module. This will require that you use the cifs fstype and specify the mount option sec=krb5.

Limitations

This module has been tested on ubuntu 14.04 lts

Contributors

Christopher Johnson - [email protected]

puppet-krb5's People

Contributors

chrisjohnson1988 avatar

Stargazers

Mr.E-Fog avatar

Watchers

James Cloos avatar Jonathan Cooper avatar Rod Scott avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.