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

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

No files matched your search

+3 -2
View File
@@ -1,10 +1,11 @@
#!/bin/bash #!/bin/bash
set -e set -e
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
db_get alice-auth/ldap-bind-password db_get alice-auth/ldap-bind-password
LDAP_BIND_PASSWORD="$RET"
CONFIG=/etc/sssd/sssd.conf 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
-1
View File
@@ -1,6 +1,5 @@
Template: alice-auth/ldap-bind-password Template: alice-auth/ldap-bind-password
Type: password Type: password
Default:
Description: Digite a senha do LDAP. Description: Digite a senha do LDAP.
Senha do user Alice. Senha do user Alice.