Secure access of AD using Bridge in Qntrl | Qntrl | Bridge | Online Help

Active Directory(AD)

Active Directory(AD) is a service developed by Microsoft that provides a centralized way to manage all your network machines, users, and resources in one place.


Active Directory stores data as Objects, which include users, groups, applications, and devices. These objects are categorized based on their names and other attributes and they can be accessed by administrators in an organization. The objects can be organized as an independent group under an Organization Unit(OU). If your organization contains several domains, you can create Organizational Unit structures in each domain that are independent of the structures in other domains.


Qntrl can synchronize with Active Directory services through Bridge and can perform operations securely.

 

Use Case

If you want to add a user to the AD, you can create a job request in Qntrl and execute the job. Through Bridge, Qntrl connects to AD, adds the user, and returns a success response.

 

Prerequisite

  1. Organization Unit should be created in the AD server.
  2. While creating Credentials, select Type as Active Directory and provide the User DN and Password of the AD. Click here to learn how to create a credential.
  1. If you are unable to connect with the Bridge AD server, check your hostname and network. 
  2. Make sure that the LDAPS port is enabled on the AD server. Refer here to set up LDAPS on Windows Server.       
The following section explains the tasks associated with the AD Engine module and the request data for various operations performed in Active Directory using Bridge,

 

Common keys in Request data,

Keys
Description
  task_details
  A JSON object that contains details of the task.
  ad_host
  Location of the AD.
  ad_dn
  Distinguished Name of AD.
  activity_name
  Name of the activity performed in AD.
  task_name
  A system-defined name for the respective modules. 'ad_task' is the task name for Active n   Directory.
  credential
  A JSON object that contains the name of the AD server credential.
  name
  Name of the AD server credential.
  object_name
  Name of the object.
  object_type
  Type of the object.
  organization_unit
  Name of the OU.
  properties
  A JSON object that contains additional information related to the user.
  objectClass
  Category/type of the object.
  givenName
  Display name of the user.
  user_name
  Login name of the user in AD.
  password
  Password of the user.

Add AD User  

To add a new user to the Active Directory in a private network.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "create_object",
      "object_name": "<OBJECT_NAME>",
      "organization_unit": "<ORGANIZATION_UNIT_NAME>",
      "object_type": "user",
      "properties": {
       "ObjectClass": "user",
       "givenName": "<DISPLAY NAME OF THE USER>"
      }
},
"task_name": "ad_task",
"credential": {
      "name": "<CREDENTIAL_NAME>"
}
}

Add AD Computer  

To add a new computer to the Active Directory of the client's network.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "create_object",
      "object_name": "<OBJECT_NAME>",
      "organization_unit": "<ORGANIZATION_UNIT_NAME>",
      "object_type": "computer",
      "properties": {
       "ObjectClass": "computer",
       "givenName": "<DISPLAY NAME OF THE OBJECT>"
      }
},
"task_name": "ad_task",
"credential": {
      "name": "<CREDENTIAL_NAME>"
}
}

Add AD Group  

To add a new group to the Active Directory of the client's network.


Request data  

{
"task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "create_object",
      "object_name": "<OBJECT_NAME>",
      "organization_unit": "<ORGANIZATION_UNIT_NAME>",
      "object_type": "group",
      "properties": {
       "ObjectClass": "group",
       "givenName": "<DISPLAY NAME OF THE GROUP>"
      }
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}
Add User To Group  

To add a user under a group in the Active Directory of the client's network.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "add_user_in_group",
      "user_name": "<USER_NAME>",
      "group_name": "<NAME OF THE GROUP>"
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}

where,

group_name - name of the group in AD. 

Disable AD User 

To disable an existing user in the Active Directory.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "disable_user",
      "user_name": "<USER_NAME>"
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}

Enable AD User  

To enable a disabled user in the Active Directory.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "enable_user",
      "user_name": "<USER_NAME>"
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}

Unlock AD User  

To unlock the user, who has been locked due to multiple incorrect password entries.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "unlock_account",
      "user_name": "<USER_NAME>"
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}

Reset AD Password  

If the password has been forgotten or if it requires to reset the password.


Request data  

{
    "task_details": {
      "ad_host": "<HOST_NAME>",
      "ad_dn": "<DN OF THE AD MACHINE>",
      "activity_name": "reset_password",
      "user_name": "<USER_NAME>",
      "password": "<PASSWORD>",
      "is_unlock_account": true,
      "is_user_reset_password_next_logon": true
    },
    "task_name": "ad_task",
    "credential": {
      "name": "<CREDENTIAL_NAME>"
    }
}

where,

is_unlock_account - If the user account is locked, whether to unlock it while resetting the password.

  • true - to unlock the account

  • false - to not unlock the account

is_user_reset_password_next_logon - After resetting the password, whether to make it mandatory for the user to reset the password during his next login.

  • true - Password has to be reset during the next logon

  • false - not necessary to reset the password again during the next logon


 


    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          Zoho Sheet Resources

                                           

                                              Zoho Forms Resources


                                                Secure your business
                                                communication with Zoho Mail


                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times


                                                  Carry your calendar with you
                                                  Anytime, anywhere




                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now




                                                                  Zoho TeamInbox Resources



                                                                          Zoho DataPrep Resources



                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW


                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • Zoho Directory in Qntrl

                                                                                                    What is Active Directory?  Active Directory (AD) by Microsoft is a domain management system for centralized networks. Using AD, you can add users, define their privilege, store and manage information, and authorize and authenticate user accounts.  ...
                                                                                                  • What is Zoho Directory?

                                                                                                    Zoho Directory (ZD) is a centralized user directory that synchronizes user accounts and passwords stored in your Microsoft's Active Directory (AD) account. Once you configure Orchestly with ZD, all the user data stored in your organization will be ...
                                                                                                  • AD task

                                                                                                    The AD task is used to connect to the Active Directory of the client's network and perform AD operations securely there. There are eleven states in AD Task, Add AD User Add AD Group Add User to Group Add AD Computer Enable AD User Disable AD User ...
                                                                                                  • Who are active users?

                                                                                                    Every user who is added to the organization is an active user . Note that even if a user has not accepted your invitation, they are considered an active user.  
                                                                                                  • Overview of Bridge

                                                                                                    What is a Bridge? Bridge is an installable, lightweight independent agent that can be deployed on the customer’s local network. It is compatible both on Windows and Linux machines with 32 and 64-bit OS. Its role is to facilitate communication between ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace

                                                                                                      Resources

                                                                                                      Videos

                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                      eBooks

                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                      Webinars

                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                        Zoho Show Resources