OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: mircsicz on July 16, 2019, 05:49:19 pm

Title: External User DB from LDAP not authenticating if user exists locally
Post by: mircsicz on July 16, 2019, 05:49:19 pm
Hi all,

I've added an LDAP server and can successfully test the passwd of a locally non existing user. But as soon as the user exists on the OPNsense local User-DB (even if I set a scrambled Passwd) I get the following error:

(https://snag.gy/obLfC9.jpg)

Hope one of you has hint?
Title: Re: External User DB from LDAP not authenticating if user exists locally
Post by: franco on July 17, 2019, 12:54:48 am
Exists as in created? Or exists as in imported from LDAP? There is an important difference which would explain what you see when you did not import the user from LDAP but instead created it manually.


Cheers,
Franco
Title: Re: External User DB from LDAP not authenticating if user exists locally
Post by: mircsicz on July 19, 2019, 02:16:18 am
Hi Franco,

wasn't aware of an ability for a user import...

Just checked in Sys > Admin, didn't find an expected "import button" but found a menu to choose a database. Changed it to my preferred LDAP server, but using the test again gave me the same experience...

Also had a brief google search, found and read this (https://forum.opnsense.org/index.php?topic=9801.0)...

As mine are created and not imported, can you please let me know how to import users?