Hello,
I am using Lizmap, specifically the ability to authenticate with a local AD by modifying the profiles.ini.php file. This works very well.
However, I can no longer create users on the fly, and to be honest, I don’t really know why, as I haven’t changed anything else.
Would you know how to combine both types of authentication? That is, authentication via my AD while still being able to create “external” users from the LWC admin console?
Hello,thanks for your help.
Yes the button to create new users disappeared in the Administration/Users Lizmap web interface.
I have just modified [ldap:lizmapldap] section in profiles.ini.php
Then in localconfig.ini.php, you have to change the coordplugin_auth section to set driver=multiauth and to add
[multiauth]
providers[]="ldap:multiauth_ldap"
providers[]=dbaccounts
;------- parameters for the multiauth ldap plugin
[multiauth_ldap]
; profile to use for ldap
ldapprofile = "lizmapldap"