From 87ef2179e13c95f6033f3c6f4abe25e77e08c352 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Sun, 21 May 2017 16:33:11 +0200
Subject: [PATCH] ad-auth: fix kinit for stretch hosts

---
 ad-auth/tasks/sssd.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ad-auth/tasks/sssd.yml b/ad-auth/tasks/sssd.yml
index 6148fc7..35926a7 100644
--- a/ad-auth/tasks/sssd.yml
+++ b/ad-auth/tasks/sssd.yml
@@ -37,7 +37,7 @@
       expect:
         command: kinit Administrator
         responses:
-          "Password for Administrator@{{ domain.upper() }}": "{{ lookup('passwordstore', 'samba-admin') }}"
+          "Password for Administrator.*": "{{ lookup('passwordstore', 'samba-admin') }}"
       when: debian_version == "stretch"
     - name: leave any other realm
       command: realm leave
-- 
GitLab