#!/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