ejabberd: Fix LDAP server entry in config file during setup.

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Johannes Keyser 2017-10-28 18:05:17 +02:00 committed by James Valleroy
parent 3bed804f72
commit 2ca5cd8043
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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')