Open topic with navigation

# Configure the OmniGroupServer Repository

This section describes how to create a new repository for retrieving group information from a Google Directory.

To retrieve security information from Google Directory

1. Open the OmniGroupServer configuration file.

2. In the `[Repositories]` section, create a repository. For example:

       [Repositories]
       Number=1
       0=GoogleDirectory

       [GoogleDirectory]

3. Include the OAuth configuration parameters necessary to authenticate with the Google Directory. For example:

       [GoogleDirectory] < "oauth.cfg" [OAUTH]

   For information about how to generate this file, see Configure Authentication (with a service account).

4. Set the following configuration parameters:

   `GroupServerLibrary` | The path (including the file name) to the library file that allows the group server to access the repository. Use the library `ogs_google`.
   `SSLMethod` | The SSL method to use for communicating with the Google Directory. To use the latest method that is supported by both Google Directory and OGS, set this parameter to `Negotiate`.
   `ProxyHost` | The host name or IP address of the proxy server to use to access the Google Directory.
   `ProxyPort` | The port of the proxy server to use to access the Google Directory.
   `UserAgent` | The value to use for the `User-Agent` header in requests sent to the repository. Micro Focus recommends that you include the string "gzip" in the user agent name.
   `AdminEmail` | An administrator account email address to use for authorizing the API calls.
   `CustomerId` or `DomainName` | To synchronize groups from only one domain, set `DomainName` to the name of your Google Apps domain. To synchronize groups from multi-domain accounts, set `CustomerId` to the customer ID for the Google Apps account. If you set both parameters, `CustomerId` is ignored.

   For example:

       [GoogleDirectory] < "oauth.cfg" [OAUTH]
       GroupServerLibrary=ogs_google
       SSLMethod=Negotiate
       ProxyHost=10.0.0.1
       ProxyPort=8080
       UserAgent=autn:netlib/2.0 gzip
       AdminEmail=admin@example.com
       // CustomerId=x01y34z45
       DomainName=example.com

   For a complete list of configuration parameters that you can use, refer to the OmniGroupServer Reference.

5. Save and close the OmniGroupServer configuration file.

© 2018 EntIT Software LLC, a Micro Focus company | 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