crans_bcfg2/Python/etc/pam.d/common-auth
Jeremie Dimino 1bb9fac1e4 Conf de ldap.
* Acces a la base
* Conf de pam pour ldap
* Conf de nss pour ldap

darcs-hash:20080209021350-af139-0dd9ab0a07fd64c38d18efc94d7c82b130d6df17.gz
2008-02-09 03:13:50 +01:00

16 lines
556 B
Python

# -*- mode: python; coding: utf-8 -*-
include("pam")
header("""
/etc/pam.d/common-auth - authentication settings common to all services
This file is included from other service-specific PAM config files,
and should contain a list of the authentication modules that define
the central authentication scheme for use on the system
(e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
traditional Unix authentication mechanisms.
""")
print "auth sufficient %s" % pam_module
print "auth required pam_unix.so nullok_secure use_first_pass"