crans_bcfg2/Python/etc/pam.d/common-session
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
526 B
Python

# -*- mode: python; coding: utf-8 -*-
include("pam")
header("""
/etc/pam.d/common-session - session-related modules common to all services
This file is included from other service-specific PAM config files,
and should contain a list of modules that define tasks to be performed
at the start and end of sessions of *any* kind (both interactive and
non-interactive). The default is pam_unix.
""")
print "session sufficient %s" % pam_module
print "session required pam_unix.so"
print "session required pam_mkhomedir.so"