Skip to main content

Integrate OpenLDAP for Simple Authentication

Overview

Here i am integrating my Active Directory with following information.

IP Address: 192.168.247.10

Domain of Active Directory: safesquid.net

Base Dn: dc=safesquid,dc=net

User Name: cn=admin,dc=safesquid,dc=net

Prerequisites

Make sure that all the values (LDAP server FQDN, LDAP server IP, Username, password, base dn, domain) in configuration are correct. If any value is wrong SafeSquid will fail to fetch the entries.

Access the SafeSquid User Interface

Go to configure Page

clicking on configure in safesquid interface

Go to Application Setup

clicking on application setup

Go to Integrate LDAP

going to integrate LDAP in application setup section

Enable Integrate LDAP

ensuring the LDAP section is enabled. by default it is set as false

clicking on the global edit

selecting true from the drop down menu

clicking on save policy

Go to LDAP servers

going to LAP servers tab

Add a new entry

creating a new entry by clicking add new button

some default values are set to some options. leaving enabled as true and writing comment for future reference

leaving host name field blank

entering your LDAP server IP

entring admin details as for example cn=admin,dc=safesquid,dc=test

clicking on encrypt password icon

entering admin password and confirming the password by entering in respective field

clicking on encrypt to encrypt the password

showing that the password is now encrypted

entering your basedn as dc=safesquid,dc=test ( example)

entering your ldap domain name. example: safesquid.test

clicking on save policy

clicking on ldap entries tab to check for entries

Test User extraction

showing all the users from LDAP server in ldap entries tab

Save Configuration

clicking on save config to save it

When you click on Save config, it will give a prompt for asking the confirmation to store your configuration into the cloud.

Select Yes only in below cases:

  1. if you want to use this same configuration in other SafeSquid instances.
  2. if your total configuration in all sections is completed and validated.

Otherwise select No and click on submit.

Feedback