update postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s Details

This commit is contained in:
Carneiro 2024-11-17 20:22:37 -03:00
parent 888d29dcd9
commit 1ef4bcc602
1 changed files with 5 additions and 0 deletions

View File

@ -7,4 +7,9 @@ set -e
db_get alice-auth/ldap-bind-password
CONFIG=/etc/sssd/sssd.conf
if [ ! -f "$CONFIG" ]; then
echo "Error: Configuration file $CONFIG does not exist."
exit 10
fi
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG