From cf8261645471c8b501e06c5403242f88f8fbd963 Mon Sep 17 00:00:00 2001
From: Matthieu Lamalle <mlamalle@cadoles.com>
Date: Mon, 14 Dec 2020 10:24:17 +0100
Subject: [PATCH] correction on condition

---
 dicos/70_lemonldap_ng.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dicos/70_lemonldap_ng.xml b/dicos/70_lemonldap_ng.xml
index 49e614d..e648467 100644
--- a/dicos/70_lemonldap_ng.xml
+++ b/dicos/70_lemonldap_ng.xml
@@ -164,7 +164,7 @@
             <slave>casLDAPAttribute</slave>
         </group>
 
-        <condition name='enabled_if_in' source='lemon_user_db'>
+        <condition name='disabled_if_not_in' source='lemon_user_db'>
             <param>AD</param>
             <target type='variable'>llADPasswordMaxAge</target>
             <target type='variable'>llADPasswordExpireWarn</target>