Integrate AD

From Secure Web Gateway

Overview

          After successfully installing AD on the machine we need to set up our AD. In this document we will  show you how to set up Active Directory and add new users/ groups/ computers in our AD. After that we will have to link our LDAPAdmin with Active Directory. Now finally we need to integrate our LDAP with SafeSquid and we will be able to see all the created users and user groups in our SafeSquid dashboard.

Prerequisite

  1. Need to have SafeSquid installed in your system.
  2. Install LDAP Admin in your machine link to download: http://www.ldapadmin.org/download/ldapadmin.html .
  3. Need to have the windows Server up and running on a VM or any machine and must be connected to the internet.
  4. AD needs to be installed, activated and running on the server.
  5. Follow this link to install AD and activate AD in windows server: http://pc-addicts.com/setup-active-directory-server-2016/ or
    this link: https://dinika-15.medium.com/installing-active-directory-on-windows-server-2012-r2-e9e614770588

Client Scenario

          Here we will create a Active Directory named mann-ad.safesquid. Then we will create a new user who's First Name is 'Mann' and Last Name is 'Prajapati'. This user's directory will be mann-ad.safesquid and his Logon name will be 'Mann'. After this while linking LDAPAdmin with AD we will give the Connection Name as 'SafeSquid AD' and the Host IP as 192.168.0.108. In the Base section we'll enter 'DC=mann-ad, DC=safesquid'. Now while creating account at the end set the Username as Administrator@mann-ad.safesquid and put a strong password. Next step is to integrate LDAP with SafeSquid. So in Ldap Basedn enter 'dc=mann, dc=safesquid' and in Ldap Domain enter mann.safesquid.

Procedure

Step 1: To add or view the users

  1. Click on Active Directory Users and Computers.
    RTENOTITLE
  2. You will see your AD.
    RTENOTITLE
  3. You can add new users, groups, computers etc. by right clicking on the user icon and select the required choice.
    RTENOTITLE
  4. For example to create user select the user option and enter required information.
    RTENOTITLE
  5. Enter your password. Then click on finish.
    RTENOTITLE

Step 2: Linking LDAPAdmin with AD

  1. Click on the connect Icon on the top left corner.
    RTENOTITLE
  2. Click on new connection.
    RTENOTITLE
  3. Enter the required details in the fields.
    RTENOTITLE
  4. Enter the Username and the password of the Account of the Windows Server. And click on test connection. If anything goes wrong, then check whether you have provided correct details or not.
    RTENOTITLE
  5. Click on Ok.
    RTENOTITLE
  6. Double click on the connection you will see something like this.
    RTENOTITLE
  7. But we don’t want this so go back and right click on the connection and click on properties.
    RTENOTITLE
  8. Now click on Fetch DNs and select the first one.
    RTENOTITLE
  9. Now you will see the list of all the users.
    RTENOTITLE
     

Step 3: Integration with  SafeSquid

  1. Now go to http://safesquid.cfg/ and click on configure.
    RTENOTITLE
  2. Click on Application Setup and then click on Integrate LDAP.
    RTENOTITLE
  3. Click on add new ‘+’ icon on the bottom right corner.
    RTENOTITLE
  4. Enter the following details
    For password click on the black arrow.
    RTENOTITLE
    And enter the Windows Server password and confirm it.
    RTENOTITLE
    Fill the following details according to your Configuration.
    RTENOTITLE
  5. Click on Blue tick mark and then save it.
  6. Now select the LDAP Entities.
    RTENOTITLE
  7. And You will see the list of all the users.
    Integrate ad listofusers.png