From a8b30895eea648972fb7047bc633243ae7f5895d Mon Sep 17 00:00:00 2001 From: sousaedu Date: Thu, 7 Oct 2021 14:18:51 +0100 Subject: [PATCH] Fixing LDAP variable convertion for secret population Change-Id: Ifd3371a6e456d4dd56df4f40b75e0bc441418617 Signed-off-by: sousaedu --- installers/charm/keystone/src/charm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/charm/keystone/src/charm.py b/installers/charm/keystone/src/charm.py index 4560ff52..cb5c88c5 100755 --- a/installers/charm/keystone/src/charm.py +++ b/installers/charm/keystone/src/charm.py @@ -372,12 +372,12 @@ class KeystoneCharm(CharmedOsmBase): ldap_secrets = { "authentication_domain_name": config_ldap.ldap_authentication_domain_name, "url": config_ldap.ldap_url, - "page_size": config_ldap.ldap_page_size, + "page_size": str(config_ldap.ldap_page_size), "user_objectclass": config_ldap.ldap_user_objectclass, "user_id_attribute": config_ldap.ldap_user_id_attribute, "user_name_attribute": config_ldap.ldap_user_name_attribute, "user_pass_attribute": config_ldap.ldap_user_pass_attribute, - "user_enabled_mask": config_ldap.ldap_user_enabled_mask, + "user_enabled_mask": str(config_ldap.ldap_user_enabled_mask), "user_enabled_default": config_ldap.ldap_user_enabled_default, "user_enabled_invert": config_ldap.ldap_user_enabled_invert, "group_objectclass": config_ldap.ldap_group_objectclass, -- 2.25.1