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 mkinitcpio -P
" | arch-chroot /mnt " | arch-chroot /mnt
if ["$ENABLE_LDAP_MODULE" = true]; then if [$ENABLE_LDAP_MODULE]; then
modules/ldap.sh modules/ldap.sh
fi fi

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

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

View File

@ -28,7 +28,7 @@ ROOT_PASSWORD="root"
# LDAP Module # # LDAP Module #
############### ###############
# This is an optional module to setup the system to use ldap for user authentication. # 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_HOST="ldap.example.com"
LDAP_SEARCH_BASE="dc=ldap,dc=example,dc=com" LDAP_SEARCH_BASE="dc=ldap,dc=example,dc=com"