Combination Module shouldn't force "Same"
When using combination module, you are obliged to use "Same" for the UserDB module in /usr/share/perl5/Lemonldap/NG/Manager/Conf/Tests.pm
# Check Combination parameters
combinationParameters => sub {
return 1 unless ( $conf->{authentication} eq "Combination" );
return ( 0, "Combination rule must be defined" )
unless ( $conf->{combination} );
return ( 0, 'userDB must be set to "Same" to enable Combination' )
unless ( $conf->{userDB} eq "Same" );
# Return
return 1;
},
but in case of OpenIdc, Kerberos you may use LDAP, in case of REST you may use 'None' as described in https://manager.diod.orange.com/doc/pages/documentation/current/authrest.html : To have just one call, you can only set REST authentication, set datas in “info” key response and set Null as User Database.
When I comment
return ( 0, 'userDB must be set to "Same" to enable Combination' )
unless ( $conf->{userDB} eq "Same" );
Everythings works fine for me, I think the test should force "Same" only in proper cases:
- Should allow LDAP, for OpenIdc, Kerberos, REST authentication modules
- Should allow None, for REST authentication module
Cheers