generated from alice-meta-packages/alice-meta-template
update postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s
Details
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s
Details
This commit is contained in:
parent
580b7586cc
commit
1b2905fa45
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
Template: alice-auth/ldap-bind-password
|
||||
Type: password
|
||||
Default:
|
||||
Description: Digite a senha do LDAP.
|
||||
Senha do user Alice.
|
||||
|
||||
|
|
Loading…
Reference in New Issue