logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
CPBOURG  
#1 Posted : Monday, September 17, 2018 8:19:50 AM(UTC)
CPBOURG

Rank: Member

Groups: Registered
Joined: 9/13/2018(UTC)
Posts: 10
Belgium
Location: Ottignies

Hello,

I have been struggling with the LDAP authentication, but could find a way to make it work...

Can someone provide me with some example of how to configure it?

Thanks!
Thomas
epf  
#2 Posted : Monday, September 17, 2018 9:41:26 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 552
Switzerland

Thanks: 7 times
Was thanked: 78 time(s) in 76 post(s)
LDAP authentication is configured using:
Server Manager->Configuration->Configure Web Security...

Then select the Security Provider 'LDAP Authentication'

First edit the parameters to be relevant with your implementation (Port, Server Name, etc.)

If it still not work, edit the 'Custom Security Script' to understand what is going on (may depend on your server and infrastructure).

Good luck.
CPBOURG  
#3 Posted : Monday, September 17, 2018 11:15:06 AM(UTC)
CPBOURG

Rank: Member

Groups: Registered
Joined: 9/13/2018(UTC)
Posts: 10
Belgium
Location: Ottignies

Thanks, I tried that, but in our configuration, it didn't work.

When comparing to other tools communicating with LDAP, I have a few more parameters:

- LDAP version (LDAPv3 for us);
- Connection filter;
- BaseDN (to specify the Organisational Unit);
- DN account (which is a 'read' profile to send a request to the AD);
- Identification field in AD (to match with the login entered);

Is it possible to specify those ones in the connection script?

Thanks!
Thomas
epf  
#4 Posted : Monday, September 17, 2018 11:44:40 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 552
Switzerland

Thanks: 7 times
Was thanked: 78 time(s) in 76 post(s)
Sorry we have no experience for advanced LDAP configuration,
You have to check MSDN for "LdapConnection", then change the code in the "Custom Security Script" after:
Code:
var ldapConnection = new LdapConnection(new LdapDirectoryIdentifier(user.Security.GetValue("ldap_server"), user.Security.GetNumericValue("ldap_port"), false, false));

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.