Integrate AD

Integrate AD

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

Need to have SafeSquid installed in your system.
Install LDAP Admin in your machine link to download: https://sourceforge.net/projects/ldapadmin/.
Need to have the windows Server up and running on a VM or any machine and must be connected to the internet.
AD needs to be installed, activated and running on the server.
Follow this link to install AD and activate AD in windows server: http://pc-addicts.com/setup-active-directory-server-2016/ or

Client Scenario

Here we will create an 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

Click on Active Directory Users and Computers.
in tools section of AD server, going to active directory users and computers
You will see your AD.
you will see your AD
You can add new users, groups, computers etc. by right clicking on the user icon and select the required choice.
right clicking on users and selecting new the selecting user
For example to create user select the user option and enter required information.
entering the required information
Enter your password. Then click on finish.
setting up a strong password

Step 2: Linking LDAPAdmin with AD

Click on the connect Icon on the top left corner.
in LDAPadmin clicking on connect icon
Click on new connection.
clicking on new connection
Enter the required details in the fields.
entering the IP address of the windows server
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.
entering the username and password in username password field
Click on Ok.
after connection is successful clicking on ok
Double click on the connection you will see something like this.
by double clicking on new connection you will the list
But we don’t want this so go back and right click on the connection and click on properties.
right clicking on created connection and selecting properties
Now click on Fetch DNs and select the first one.
clicking on fetch DNs and selecting the the basedn
Now you will see the list of all the users.
showing the list of all users

Step 3: Integration with  SafeSquid

Now go to http://safesquid.cfg/ and click on configure.
clicking on configure in safesquid interface
Click on Application Setup and then click on Integrate LDAP.
selecting integrate LDAP in application setup
Click on add new ‘+’ icon on the bottom right corner.
clickng on add new button to add
Enter the following details
For password click on the black arrow.
clicking on arrow icon in ldap password field
And enter the Windows Server password and confirm it.
entering and confirming your password
Fill the following details according to your Configuration.
filling the required fields as per the configuration
Click on Blue tick mark and then save it.
Now select the LDAP Entities.
going to LDAP entries
And You will see the list of all the users.
seeing the list of all the users from the AD


    • Related Articles

    • Integrate AD or OpenLDAP with SafeSquid

      Overview Active directory information is used to authorize/authenticate the users and computers which are part of your network. Active directory objects are mainly a set of attributes like domain, Organization Unit (OU), user, group, subnet etc. In ...
    • Integrate a Linux Host with a Windows AD for Kerberos SSO authentication

      Overview Kerberos Authentication support is particularly useful for Enterprise networks that have a Microsoft AD based Domain controller. By properly configuring the necessary Kerberos related factors, your enterprise Internet users can optionally ...
    • Integrate Active Directory For Simple Authentication

      Overview Here I am integrating my Active Directory with following information. Active Directory FQDN : ad.safesquid.test IP Address : 192.168.221.1 Domain of Active Directory : safesquid.test Base Dn : dc=safesquid,dc=test User Name : ...
    • Integrate Active Directory For SSO Authentication

      Overview In given example we are integrating an Active Directory for SSO authentication. Your Active directory (AD) FQDN: ad.safesquid.test (You should get your AD FQDN from this location : AD ( Start > Control Panel > System > Full Computer name)) ...
    • A comprehensive guide on how to integrate Windows Active directory

      Active Directory (AD) services are crucial for network security and efficient user management within an organization. High Security: Active Directory services provide layered security, encompassing various policies and permissions to ensure security ...