diff --git a/debian/authd.gdm-authd.pam b/debian/authd.gdm-authd.pam.in similarity index 93% rename from debian/authd.gdm-authd.pam rename to debian/authd.gdm-authd.pam.in index 4f3f4ce52..2e1d29c81 100644 --- a/debian/authd.gdm-authd.pam +++ b/debian/authd.gdm-authd.pam.in @@ -1,6 +1,6 @@ #%PAM-1.0 auth [success=ok user_unknown=ignore default=bad] pam_succeed_if.so user != root quiet_success -auth [success=1 ignore=ignore default=die] pam_authd.so +auth [success=1 ignore=ignore default=die] pam_authd_exec.so @AUTHD_DAEMONS_PATH@/authd-pam # If authd ignored the request => local broker is selected, # then we continue with normal stack auth substack common-auth diff --git a/debian/install b/debian/install index a3c3f6117..3cdd87123 100755 --- a/debian/install +++ b/debian/install @@ -10,8 +10,6 @@ usr/bin/pam => ${env:AUTHD_DAEMONS_PATH}/authd-pam debian/pam-configs/authd /usr/share/pam-configs # PAM libraries -${env:BUILT_PAM_LIBS_PATH}/pam_authd.so ${env:AUTHD_PAM_MODULES_PATH} -${env:BUILT_PAM_LIBS_PATH}/go-loader/pam_authd_loader.so ${env:AUTHD_PAM_MODULES_PATH} ${env:BUILT_PAM_LIBS_PATH}/go-exec/pam_authd_exec.so ${env:AUTHD_PAM_MODULES_PATH} # Install NSS library with right soname diff --git a/debian/rules b/debian/rules index 0fffdbfac..35831a087 100755 --- a/debian/rules +++ b/debian/rules @@ -79,7 +79,7 @@ override_dh_auto_configure: touch debian/cargo-checksum.json dh_auto_configure --buildsystem=cargo - for i in debian/*.service.in debian/pam-configs/*.in; do \ + for i in debian/*.service.in debian/pam-configs/*.in *.pam.in; do \ sed s,@AUTHD_DAEMONS_PATH@,$(AUTHD_DAEMONS_PATH),g $$i > $${i%.*}; \ done