OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: marceloengecom on October 21, 2016, 08:55:41 am

Title: LDAP Issue - Could not connect to the LDAP server
Post by: marceloengecom on October 21, 2016, 08:55:41 am
Hello,

I'am a new user and I am setting up OPNsense 16.7.6-amd64 (OpenSSL) hosted on Xenserver 7.

I am trying to set up an LDAP authentication server against a local Active Directory domain controller (SAMBA 4) to use proxy.

I was on "System" -> "Access" -> "Servers" and put the following configs:

Hostname or IP address: <AD_IPADDRESS>
Port: 389
Transport: TCP-Standard
Protocol version: 3
User DN: CN=Administrator, CN=Users, DC=domain, DC=local
Password: <ADMINISTRATOR_PASSWORD>
Level: One Level
Base DN:DC=domain, DC=local


When I click the Select button in the Containers section, I get the informative message:
"Could not connect to the LDAP server. Please check your LDAP configuration."

I appreciate any help.


Marcelo Costa
Porto Alegre - Brazil
Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: marceloengecom on November 04, 2016, 02:06:28 pm
noone?
Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: franco on November 07, 2016, 07:28:16 am
Hi Marcelo,

Is there any traffic reaching the server or are we looking at an authentication issue?


Cheers,
Franco
Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: marceloengecom on November 16, 2016, 03:46:02 am
Hi Franco,

I want use Proxy/Squid of the OpnSense, authenticated with AD (SAMBA4).

Following read a few tutorials, they talk that the first action is create a connection with LDAP server, but when I try create the connection, I get the informative message:

"Could not connect to the LDAP server. Please check your LDAP configuration."


Thanks,
Marcelo Costa

Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: franco on November 16, 2016, 07:27:02 am
Hi Marcelo,

We're currently discussing this in the German forum as well. Could it be that Samba wants LDAPS, which we do not support at this point?

People said that Microsoft AD works ok so that is a clue.


Cheers,
Franco
Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: marceloengecom on November 22, 2016, 02:45:19 am
Hi Franco,

Thanks for notice.

On This moment, OpnSense is not work with samba4? There is not a workaround?

Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: franco on November 22, 2016, 09:36:06 am
I'm afraid the matter is inconclusive at this point. :/
Title: Re: LDAP Issue - Could not connect to the LDAP server
Post by: marceloengecom on November 22, 2016, 04:20:02 pm
Ok...

thanks