Fix typos

master
kalle 2021-10-23 13:44:25 +02:00
parent 2c41893f5e
commit 9929ff8cce
3 changed files with 4 additions and 4 deletions

View File

@ -150,6 +150,6 @@ systemctl enable NetworkManager.service
mkinitcpio -P
" | arch-chroot /mnt
if ["$ENABLE_LDAP_MODULE" = true]; then
if [$ENABLE_LDAP_MODULE]; then
modules/ldap.sh
fi

4
modules/ldap.sh Normal file → Executable file
View File

@ -4,8 +4,8 @@
echo "[?] Starting installation of LDAP module"
# Run commands inside of the chroot
ecbo "
pacman -Sy --noconfirm openldp sssd
echo "
pacman -Sy --noconfirm openldap sssd
echo \"[sssd]
config_file_version = 2
services = nss, pam, sudo

View File

@ -28,7 +28,7 @@ ROOT_PASSWORD="root"
# LDAP Module #
###############
# This is an optional module to setup the system to use ldap for user authentication.
ENABLE_LDAP_MODULE=true
ENABLE_LDAP_MODULE=1
LDAP_HOST="ldap.example.com"
LDAP_SEARCH_BASE="dc=ldap,dc=example,dc=com"