integrate-distro.sh: Add generation of /etc/openldap/ldap.conf

This commit is contained in:
Jan Lindemann 2011-06-19 10:31:24 +00:00 committed by Jan Lindemann
commit b75c7f084f

View file

@ -32,6 +32,7 @@ payload_pkgs="
splashy
kbd
sensors
db-utils
@ -406,6 +407,14 @@ make_etc_hosts()
EOT
}
make_etc_openldap_ldap_conf()
{
_cat << EOT
TLS_CACERT /etc/certs/root-ca-1.pem
TLS_REQCERT allow
EOT
}
make_netboot_etc_hosts()
{
cat /etc/hosts
@ -639,6 +648,9 @@ cmd_install()
make_netboot_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf.netboot
make_netboot_etc_hosts > $root/etc/hosts.netboot
make_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf
chmod 644 $root/etc/openldap/ldap.conf
make_etc_hosts > $root/etc/hosts
make_etc_fstab > $root/etc/fstab