ansible-pfsense icon indicating copy to clipboard operation
ansible-pfsense copied to clipboard

Problem with pfsense_authserver_ldap module - automatically change LDAP config ?

Open LaMagouille98 opened this issue 3 years ago • 1 comments

Hello,

I have problem with pfsense_authserver_ldap module. When I run the script I made from this module for automatic LDAP configuration, everything is fine without any errors. But the problem is that the configuration does not apply and is still set to Local Database.

Is there a way to change this setting without going through the web GUI manually?

I have tried making changes directly to the /cf/conf/config.xml file but the configuration still does not apply.

Thank you in advance for your feedback

LaMagouille98 avatar Jun 02 '21 11:06 LaMagouille98

This is done via GUI on System->User Manager->Settings by the Dropdown Authentication Server.

This can be done via Ansible (after my pull request has been merged) with pfsense_setup:

pfsensible.core.pfsense_setup:
  authmode: "my ldap server"

coffeelover avatar Jun 21 '21 14:06 coffeelover

This should be fixed now with https://github.com/pfsensible/core/commit/e8cda05664306b3b926d373b8c16c7bf9aca311f

opoplawski avatar Jan 06 '23 04:01 opoplawski