Configuring GAL via SOAP

Revision as of 22:22, 13 September 2010 by Greg (talk | contribs) (initial page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Intro

Global Address List (GAL) is configured on per-domain basis. GALs are configured via special system accounts (aka galsync accounts). A galsync account has a special "galsync" datasource which stores configuration information for connecting to GAL and stores contacts from GAL. In other words, GAL is accessed as an address book of a special system account. For legacy reasons, configuration properties for accessing GAL are also stored in zimbraDomain object and serve as default fallback values for GAL datasources. If these values are not defined in the datasource object, the values in the zimbraDomain object are used by the datasource.

Attributes

The following attributes are used for configuring GAL:

  • zimbraDomain object
    • zimbraGalMaxResults
    • zimbraGalMode
    • zimbraGalLdapURL
    • zimbraGalLdapSearchBase
    • zimbraGalLdapBindDn
    • zimbraGalLdapBindPassword
    • zimbraGalLdapBindPasswordConfirm
    • zimbraGalLdapFilter
    • zimbraGalAutoCompleteLdapFilter
    • zimbraGalSyncLdapURL
    • zimbraGalSyncLdapSearchBase
    • zimbraGalSyncLdapFilter
    • zimbraGalSyncLdapAuthMech
    • zimbraGalSyncLdapBindDn
    • zimbraGalSyncLdapBindPassword
    • zimbraGalAccountId
  • galDataSource
    • zimbraGalSyncLdapURL
    • zimbraGalSyncLdapSearchBase
    • zimbraGalSyncLdapFilter
    • zimbraGalSyncLdapAuthMech
    • zimbraGalSyncLdapBindDn
    • zimbraGalSyncLdapBindPassword

SOAP Requests

The following SOAP requests are used when configuring GAL

  • admin-space SOAP requests
    • ModifyDomainRequest - use to modify any attribute of zimbraDomain object
    • CreateGalSyncAccountRequest - use to create galsync account with galDataSource
  • user-space SOAP requests
    • ModifyDataSourceRequest - use to modify any attribute of a galDataSource of a galsync account. The request has to be sent on behalf of the galsync account that owns the galDataSource

ModifyDomainRequest

<ModifyDomainRequest>
  <id>{value-of-zimbraId}</id>
  <a n="...">...</a>+
</ModifyDomainRequest>

<ModifyDomainResponse>
  <domain name="{name}" id="{id}">
    <a n="...">...</a>+
  </domain>
</ModifyDomainResponse>
</ModifyDomainRequest>
Sample request/response:


Jump to: navigation, search