Conf de ldap.

* Acces a la base
* Conf de pam pour ldap
* Conf de nss pour ldap

darcs-hash:20080209021350-af139-0dd9ab0a07fd64c38d18efc94d7c82b130d6df17.gz
This commit is contained in:
Jeremie Dimino 2008-02-09 03:13:50 +01:00
parent 5d6f9722bb
commit 1bb9fac1e4
20 changed files with 363 additions and 49 deletions

15
Python/etc/ldap/ldap.conf Normal file
View file

@ -0,0 +1,15 @@
# -*- mode: python; coding: utf-8 -*-
include("ip")
header("Acces a la base ldap")
@# See ldap.conf(5) for details
@# This file should be world readable but not world writable.
@BASE dc=crans, dc=org
if has("db-server"):
%URI "ldapi://%2fvar%2frun%2fslapd%2fldapi/"
%TLS_CACERT "/etc/ssl/certs/CAcrans.pem"
else:
%URI "ldap://%s/" % admipof("ldap")