Amélioration
Ignore-this: 444973fde1b658a75a7659f316b1292c darcs-hash:20121206032605-b6762-3bd8e5b03f8717fe18d239c7099907964c119061.gz
This commit is contained in:
parent
e00c869c2f
commit
f0ef97bcaa
6 changed files with 9 additions and 91 deletions
|
@ -1,18 +0,0 @@
|
||||||
<Bundle name="nss">
|
|
||||||
<ConfigFile name="/etc/nsswitch.conf"/>
|
|
||||||
<Group name="ssh">
|
|
||||||
<Service name="ssh"/>
|
|
||||||
</Group>
|
|
||||||
<Group name="ldap">
|
|
||||||
<Group name="nss-ldapd" negate="true">
|
|
||||||
<Package name="libnss-ldap"/>
|
|
||||||
<ConfigFile name="/etc/libnss-ldap.conf"/>
|
|
||||||
<ConfigFile name="/etc/libnss-ldap.secret"/>
|
|
||||||
</Group>
|
|
||||||
<Group name="nss-ldapd">
|
|
||||||
<Package name="libnss-ldapd"/>
|
|
||||||
<ConfigFile name="/etc/nss-ldapd.conf"/>
|
|
||||||
<Service name="nslcd"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
</Bundle>
|
|
|
@ -6,10 +6,6 @@
|
||||||
<Group name="ssh">
|
<Group name="ssh">
|
||||||
<Service name="ssh"/>
|
<Service name="ssh"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Group name="ldap">
|
|
||||||
<Package name="libpam-ldap"/>
|
|
||||||
<ConfigFile name="/etc/pam_ldap.conf"/>
|
|
||||||
</Group>
|
|
||||||
<Group name="db-server">
|
<Group name="db-server">
|
||||||
<Package name="libpam-cracklib"/>
|
<Package name="libpam-cracklib"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
<Bundle name="portmap">
|
|
||||||
<Package name="portmap"/>
|
|
||||||
<Service name="portmap"/>
|
|
||||||
</Bundle>
|
|
|
@ -502,7 +502,6 @@
|
||||||
comment="profile minimal pour wheezy">
|
comment="profile minimal pour wheezy">
|
||||||
<Group name="crans-common"/>
|
<Group name="crans-common"/>
|
||||||
<Group name="wheezy"/>
|
<Group name="wheezy"/>
|
||||||
<Group name="nss-ldapd"/>
|
|
||||||
<Group name="ntp"/>
|
<Group name="ntp"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
@ -1140,7 +1139,7 @@
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Group name="nfs">
|
<Group name="nfs">
|
||||||
<Bundle name="portmap"/>
|
<Bundle name="rpc"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Group name="apache"
|
<Group name="apache"
|
||||||
|
|
|
@ -1,62 +0,0 @@
|
||||||
# -*- mode: python; coding: utf-8 -*-
|
|
||||||
|
|
||||||
include("mode/space")
|
|
||||||
include("secrets")
|
|
||||||
include("ldap")
|
|
||||||
|
|
||||||
header("""
|
|
||||||
Fichier de configuration pour libnss-ldapd.
|
|
||||||
|
|
||||||
Pour des informations détaillées voir nss-ldapd.conf(5)
|
|
||||||
""")
|
|
||||||
|
|
||||||
info["perms"] = 0600
|
|
||||||
|
|
||||||
@# +---------------------------------------------------+
|
|
||||||
@# | Configuration du démon nslcd |
|
|
||||||
@# +---------------------------------------------------+
|
|
||||||
@
|
|
||||||
@# Utilisateur sous lequel faire tourner le démon
|
|
||||||
@uid nslcd
|
|
||||||
@gid nslcd
|
|
||||||
@
|
|
||||||
|
|
||||||
@# +---------------------------------------------------+
|
|
||||||
@# | Configuration de la communication avec le serveur |
|
|
||||||
@# +---------------------------------------------------+
|
|
||||||
@
|
|
||||||
%uri "%s" % ldap_socket
|
|
||||||
@
|
|
||||||
@# Le distinguished name de la base de recherche
|
|
||||||
%base "dc=crans,dc=org"
|
|
||||||
@
|
|
||||||
@# Le DN avec lequel se connecter à la base.
|
|
||||||
%binddn secrets.ldap_readonly_auth_dn
|
|
||||||
@
|
|
||||||
@# Et le mot de passe associé
|
|
||||||
%bindpw secrets.ldap_readonly_password
|
|
||||||
@
|
|
||||||
@# La version de LDAP à utiliser
|
|
||||||
%ldap_version 3
|
|
||||||
@
|
|
||||||
@# Temps d'attente d'une réponse du serveur LDAP
|
|
||||||
%timelimit 5
|
|
||||||
@
|
|
||||||
@# Temps d'attente à la connexion au serveur LDAP
|
|
||||||
%bind_timelimit 5
|
|
||||||
@
|
|
||||||
@# +------------------+
|
|
||||||
@# | Bases de données |
|
|
||||||
@# +------------------+
|
|
||||||
@
|
|
||||||
# On utilise ldap pour résoudre les bases de données
|
|
||||||
# passwd, group et shadow
|
|
||||||
@# Bases de recherche
|
|
||||||
@base passwd ou=data,dc=crans,dc=org
|
|
||||||
@base shadow ou=data,dc=crans,dc=org
|
|
||||||
@base group ou=Group,dc=crans,dc=org
|
|
||||||
|
|
||||||
if ldap_filter:
|
|
||||||
@
|
|
||||||
@# Filtre de recherche
|
|
||||||
print "filter passwd (%s)" % ldap_filter
|
|
|
@ -110,8 +110,15 @@
|
||||||
<Service type="deb" name="jabber" status="on"/>
|
<Service type="deb" name="jabber" status="on"/>
|
||||||
|
|
||||||
<Service type="deb" name="ejabberd" status="on"/>
|
<Service type="deb" name="ejabberd" status="on"/>
|
||||||
|
|
||||||
|
<Group name="squeeze">
|
||||||
|
<Service type="deb" name="portmap" status="on"/>
|
||||||
|
</Group>
|
||||||
|
|
||||||
|
<Group name="wheezy">
|
||||||
|
<Service type="deb" name="rpcbind" status="on"/>
|
||||||
|
</Group>
|
||||||
|
|
||||||
<Service type="deb" name="portmap" status="on"/>
|
|
||||||
<Action name="ln-attendre-vert" timing="post" when="modified" status="check"
|
<Action name="ln-attendre-vert" timing="post" when="modified" status="check"
|
||||||
command="ln -s /etc/init.d/attendre-vert /etc/rcS.d/S41attendre-vert" />
|
command="ln -s /etc/init.d/attendre-vert /etc/rcS.d/S41attendre-vert" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue