bundle agent ldapserver { # Configure LDAP server and communication with the LDAP server. # For certificate and security related details see: # /usr/share/debian-edu-config/tools/create-debian-edu-certs. files: debian.server.installation:: "/etc/ldap/slapd.conf" link_from => ln_s("/etc/ldap/slapd-debian-edu-mdb.conf"), move_obstructions => "true"; commands: debian.server.di.installation:: # Create the initial LDAP database, using the new slapd.conf. # The Kerberos KDC is set up within this script too. Needs to # run after the ssl certs are made available (cf.apache2). "/usr/bin/ldap-debian-edu-install" contain => in_shell; } bundle agent editline_ldapserver { # Configure Debian Edu specific setup. vars: "default" slist => { "SLAPD_SERVICES=\"ldap:/// ldaps:/// ldapi:///\"", "export KRB5_KTNAME=/etc/krb5.keytab.ldap", "SLAPD_OPTIONS=\"-4\"", "ulimit -n 32768" }; files: debian.server.installation:: "/etc/default/slapd" edit_line => append_if_no_line("$(default)"); }