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

This commit is contained in:
Carneiro 2024-11-17 20:01:55 -03:00
parent 580b7586cc
commit 1b2905fa45
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,11 @@
#!/bin/bash
set -e
. /usr/share/debconf/confmodule
db_get alice-auth/ldap-bind-password
LDAP_BIND_PASSWORD="$RET"
CONFIG=/etc/sssd/sssd.conf
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $LDAP_BIND_PASSWORD/" $CONFIG
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG
db_go || true

View File

@ -1,6 +1,5 @@
Template: alice-auth/ldap-bind-password
Type: password
Default:
Description: Digite a senha do LDAP.
Senha do user Alice.