Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
ModifySMIMEConfig SOAP Command

Modify a configuration for SMIME public key lookup via external LDAP on a domain or globalconfig.
Notes: if <domain> is present, modify the config on the domain, otherwise modify the config on globalconfig.

Attributes:

zimbraSMIMELdapURL * required LDAL URL - Multiple space-separated URLs can be specified for fallback purpose
zimbraSMIMELdapStartTlsEnabled * optional - TRUE/FALSE [default] Whether startTLS is enabled for the LDAP connection
zimbraSMIMELdapBindDn optional - default value is empty Bind DN. ZCS will do anonymous bind if this attribute is not set
zimbraSMIMELdapBindPassword optional - default value is empty Bind password. Ignored if zimbraSMIMELdapBindDn is not set
zimbraSMIMELdapSearchBase * optional - default is LDAP DIT root LDAP search base DN
zimbraSMIMELdapFilter required LDAP search filter template
Can contain the following conversion variables:
%n - search key with @ (or without, if no @ was specified)
%u - with @ removed

e.g. (mail=%n)
zimbraSMIMELdapAttribute required LDAP attributes for SMIME certificates

Network edition only API TRUE
Authorization token required true
Admin Authorization token required true

ModifySMIMEConfigRequest

    <ModifySMIMEConfigRequest> ## ModifySMIMEConfigRequest
        <config name="{config-name}" op="{operation}"> ## SMIMEConfigModifications
            (<a n="{key}" /> ## Attr)*
        </config>
        <domain [by="{domain-selector-by} (id|name|virtualHostname|krb5Realm|foreignName)"]>{key}</domain> ## DomainSelector
    </ModifySMIMEConfigRequest>

The following table describes elements and attributes you can define within a <ModifySMIMEConfigRequest> element:

XPath Required / Optional Description
/config Required (only 1) SMIME Config Modifications
/config@name Required (only 1) Type:String
Config name
/config@op Required (only 1) Type:String
Operation
modify [default] modify the SMIME config: modify/add/remove specified attributes of the config.
remove remove the SMIME config: remove all attributes of the config. Must not include an attr map under the <config> element.
/config/a Optional (0 or more) Attributes
/config/a@n Required (only 1) Type:String
Key
/domain Optional (0 or 1) Type:{key}
Domain selector
Description for element text content:The key used to identify the domain. Meaning determined by {domain-selector-by}
/domain@by Optional (0 or 1) Type:id|name|virtualHostname|krb5Realm|foreignName
Select the meaning of {domain-selector-key}

ModifySMIMEConfigResponse

    <ModifySMIMEConfigResponse /> ## ModifySMIMEConfigResponse