diff --git a/DEBIAN/config b/DEBIAN/config new file mode 100644 index 0000000..a5a7bf9 --- /dev/null +++ b/DEBIAN/config @@ -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 diff --git a/DEBIAN/postinst b/DEBIAN/postinst index fdbab0c..b16fc83 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -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