diff options
author | Simon Rettberg | 2015-04-29 17:49:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-04-29 17:49:32 +0200 |
commit | 20d652c9bd07b61744433472c1e4f3964f84984c (patch) | |
tree | 827f61ce9cf6548e211bad3142e1b8e7ebd3e5f5 /satellit_installer | |
parent | [SSPS] Bug fixed (diff) | |
download | setup-scripts-20d652c9bd07b61744433472c1e4f3964f84984c.tar.gz setup-scripts-20d652c9bd07b61744433472c1e4f3964f84984c.tar.xz setup-scripts-20d652c9bd07b61744433472c1e4f3964f84984c.zip |
[SSPS] Patch ldap.conf for ldapsearch
Diffstat (limited to 'satellit_installer')
-rw-r--r-- | satellit_installer/includes/90-patch_misc_files.inc | 6 | ||||
-rwxr-xr-x | satellit_installer/satellit_installer | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/satellit_installer/includes/90-patch_misc_files.inc b/satellit_installer/includes/90-patch_misc_files.inc index aaaceeb..4ef4ff5 100644 --- a/satellit_installer/includes/90-patch_misc_files.inc +++ b/satellit_installer/includes/90-patch_misc_files.inc @@ -20,3 +20,9 @@ patch_vim() { sed -i -r 's/" *(syntax|set background|set showmatch|set smartcase|set incsearch)/\1/' /etc/vim/vimrc } +patch_ldapsearch() { + # Make ldapsearch ignore invalid certificates + sed -i '/tls_reqcert/Id' /etc/ldap/ldap.conf + echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf +} + diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer index 8cf3d9d..34a019d 100755 --- a/satellit_installer/satellit_installer +++ b/satellit_installer/satellit_installer @@ -116,6 +116,8 @@ patch_atftpd_config patch_lighttpd_config "$WWWDIR" # $1: lighttpd http root +patch_ldapsearch + write_apt_config install_bwSuite_server "$DMSDDIR" |