Skip to content

DarrinC/puppet-authconfig

 
 

Repository files navigation

#Authconfig

Build Status

A Puppet module that installs and configure authconfig on EL distribution

Note: For this first version it only manages LDAP, NIS, and Kerberos related authentication specifics. It also handles enable/disable of cacheing (nscd). SMB, Winbind, will come in later version. PRs are welcome.

Usage

Simple Usage

include authconfig

This will install the authconfig package if necessary and set ldap, ldapauth and ldaptls to disable by default.

Custom Usage

class { 'authconfig' :
  ldap        => true,
  ldapauth    => true,
  ldaptls     => false,
  ldapserver  => '192.168.42.42',
  ldapbasedn  => 'dc=example,dc=com',
  krb5        => true,
  krb5realm   => 'example.com',
  krb5kdc     => ['kdc1.example.com', 'kdc2.example.com'],
  krb5kadmin  => 'kadmin.example.com',
  cache       => true,
}

This will install the authconfig package if necessary and set ldap and ldapauth to enable. It will query the LDAP server located at ldapserver address at ldapbasedn. In the mean time it will set ldaptls to disable. The you can simply do the same for NIS.

In general, if the option is of type --enableoption/--disableoption simply set true if you want to enable it, false otherwise.

Parameters

ldap

Whether to enable LDAP for user information.

ldapauth

Whether to enable LDAP for user authentication.

ldaptls

Whether to enable use of TLS with LDAP.

ldapserver

LDAP server address to connect to.

ldapbasedn

LDAP base dn to connet to.

krb5

Whether to enable Kerberos.

krb5realm

Specify Kerberos realm.

krb5kdc

Specify Kerberos KDC

krb5kadmin

Specify Kerberos administration server

cache

Whether to use naming services caches

License

Apache License v2

Contact

Yanis Guenane - [email protected]

About

A Puppet module that installs and configure authconfig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 70.0%
  • Ruby 30.0%