add files back
Deploy Package / Explore-Gitea-Actions (push) Successful in 7s Details

This commit is contained in:
Carneiro 2024-11-17 20:55:17 -03:00
parent baf16e913d
commit 07bb42ee56
3 changed files with 25 additions and 0 deletions

9
DEBIAN/config Executable 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

11
DEBIAN/postinst Executable file
View File

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

5
DEBIAN/templates Normal file
View File

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