jelix / multiauth-module

Module providing a plugin for jAuth that allows multiple authentication providers
MIT License
0 stars 1 forks source link

[error] The module ldapdao is in conflict with multiauth #11

Open cfsgarcia opened 1 month ago

cfsgarcia commented 1 month ago

Web server: NGINX & PHP 8.2 Lizmap Web Client: 3.7.8 multiauth 1.2.2

Starting out the localconfig.ini.php is set as follow:

[modules]
[coordplugins]
lizmap=lizmapConfig.ini.php
[jcommunity]
resetAdminPasswordEnabled=off
[coordplugin_auth]

I follow the installation guide to install multiauth with composer. It goes well as expected. Configurator runs smoothly as well: php lizmap/install/configurator.php multiauth

Configuration migration is starting
Configuration migration is finished
Configuration is starting
All modules dependencies are ok
Configuration starts
Modules are configured
Configuration is finished

This populates localconfig.ini.php as follow:

[modules]
multiauth.enabled=on
multiauth.installparam[eps]="[index,admin]"
multiauth.localconf=1
[coordplugin_auth]
driver=multiauth

Problem occurs in the next step when running php lizmap/install/installer.php:

Installation is starting
[error] The module ldapdao is in conflict with multiauth. Only one of them can be installed.
Installation/upgrade is aborted

No clue how I can disable ldapdao.

Any idea?

laurentj commented 3 weeks ago

Hi,

it seems the ldapdao is enabled somewhere or is still installed. Did you install it before trying to install multiauth ? If yes, you should restore the localconfig.ini.php as before the configuration of mulitauth, then you should uninstall it with php lizmap/install/configurator.php --remove ldapdao then launch php lizmap/install/installer.php.

You can then install multiauth.