add config file
Deploy Package / Explore-Gitea-Actions (push) Successful in 8s Details

This commit is contained in:
Carneiro 2024-11-17 20:13:35 -03:00
parent 1b2905fa45
commit b55f0cfdd5
2 changed files with 9 additions and 1 deletions

9
DEBIAN/config Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -e
. /usr/share/debconf/confmodule
db_input high alice-auth/ldap-bind-password || true
db_go
exit 0

View File

@ -8,4 +8,3 @@ db_get alice-auth/ldap-bind-password
CONFIG=/etc/sssd/sssd.conf
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG
db_go || true