mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix service ldap_disable()
Fix comparison bug that prevents ldap_disable to actually disable a service. Fixes: https://pagure.io/freeipa/issue/8143 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
44b3791bc3
commit
3cae7f4ee6
@ -691,7 +691,7 @@ class Service:
|
||||
|
||||
# case insensitive
|
||||
for value in entry.get('ipaConfigString', []):
|
||||
if value.lower() == ENABLED_SERVICE:
|
||||
if value.lower() == ENABLED_SERVICE.lower():
|
||||
entry['ipaConfigString'].remove(value)
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user