Open topic with navigation

# Retrieve Security Group Information

To retrieve security groups from Active Directory, follow these steps.

To retrieve security groups from Active Directory

1. Open the OmniGroupServer configuration file.

2. In the `[Repositories]` section, create a repository to store the Active Directory groups. For example:

       [Repositories]
       Number=1
       0=NT

3. In the new section, configure a task to extract the information from the directory using LDAP. You can use the following configuration parameters (for a complete list of configuration parameters, refer to the OmniGroupServer Reference).

   `GroupServerLibrary` | The path (including the file name) to the library file that allows the group server to access the repository. Use the LDAP group server library.
   `LDAPServer` | The host name or IP address of the machine that hosts the LDAP directory.
   `LDAPPort` | The port to use to access the LDAP directory.
   `LDAPBase` | The distinguished name of the search base.
   `LDAPType` | The type of LDAP server (for example, Microsoft Active Directory).
   `LDAPSecurityType` | The type of security to use when communicating with the LDAP server (for example, `SSL` or `TLS`).
   `LDAPBindMethod` | The type of authentication to use to access the LDAP directory. To log on as the same user that is running OmniGroupServer, set this parameter to `NEGOTIATE`.

   For example:

       [NT]
       GroupServerLibrary=ogs_ldap.dll
       LDAPServer=myLDAPserver
       LDAPPort=636
       LDAPBase=DC=DOMAIN,DC=COM
       LDAPType=MAD
       LDAPSecurityType=SSL
       LDAPBindMethod=NEGOTIATE

4. (Optional) You can set further parameters to define the schedule for the task. You can set these parameters in the task section (to schedule only the current task), or in the `[Default]` section (to provide a default schedule for all OmniGroupServer tasks).

   `GroupServerStartTime` | The time when a task starts.
   `GroupServerRepeatSecs` | The number of seconds that elapse before the Group Server repeats a task.

   For example:

       [NT]
       GroupServerLibrary=ogs_ldap.dll
       LDAPServer=myLDAPserver
       LDAPPort=636
       LDAPBase=DC=DOMAIN,DC=COM
       LDAPType=MAD
       LDAPSecurityType=SSL
       LDAPBindMethod=NEGOTIATE
       GroupServerStartTime=12:00
       GroupServerRepeatSecs=3600

5. Save and close the OmniGroupServer configuration file.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm