Automate ldap and smtp Settings

Does anyone know how to configure the ldap and smtp settings without using the UI. I am trying to automate our appliance deployments through Ansible and these are two settings I have not been able to find.

1 Like

Hi @cmpgkgrl

These settings can be configured from advanced config yaml:

But this file is stored in database and you can use rails console knife to edit these settings. The exapmle for “:server => {:role …” section:

In this way you can change :authentication: and :smtp: sections.

Be careful I have no such experience.

Also pay attention to this PR

1 Like