From 2ca5cd80436e6ccee33e43a43cece0d39f839734 Mon Sep 17 00:00:00 2001 From: Johannes Keyser Date: Sat, 28 Oct 2017 18:05:17 +0200 Subject: [PATCH] ejabberd: Fix LDAP server entry in config file during setup. Signed-off-by: Johannes Keyser Reviewed-by: James Valleroy --- actions/ejabberd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/ejabberd b/actions/ejabberd index 70d1acfa0..d3abbf3b1 100755 --- a/actions/ejabberd +++ b/actions/ejabberd @@ -121,7 +121,8 @@ def subcommand_setup(_): listen_port['tls'] = False conf['auth_method'] = 'ldap' - conf['ldap_servers'] = ['localhost'] + conf['ldap_servers'] = [ruamel.yaml.scalarstring.DoubleQuotedScalarString( + 'localhost')] conf['ldap_base'] = ruamel.yaml.scalarstring.DoubleQuotedScalarString( 'ou=users,dc=thisbox')