Error with disclaimer when 'ldap url' contains more than one LDAP server

Revision as of 07:12, 16 August 2017 by Nbhagwat (talk | contribs) (Created page with "===<h1>Unable to configure domain disclaimer if "ldap_url" has more than one ldap server entries in ZCS v8.5 and v8.6</h1>=== <hr> <br> <h2>Problem:</h2> Unable to configure...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Unable to configure domain disclaimer if "ldap_url" has more than one ldap server entries in ZCS v8.5 and v8.6



Problem:

Unable to configure domain disclaimer if more than one ldap server entries exist in the ldap_url.

Altermime giving following error while generating disclaimer files :

./libexec/zmaltermimeconfig -e DOMAIN.COM
Error connecting to LDAP server: ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389 at ./libexec/zmaltermimeconfig line 63,  line 751.

Solution:

See the following steps to fix this problem, and using these steps there is no need to restart any service.

1). Check LDAP server entries in localconfig:-

      zmlocalconfig ldap_url    
      Output:-
      ldap_url = ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389   


2). Remove second LDAP server entry from ldap_url:-

      zmlocalconfig -e ldap_url="ldap://ldap1.DOMAIN.COM:389"   


3). Now generate domain disclaimer files for altermime:-

      ./libexec/zmaltermimeconfig -e DOMAIN.COM  

4). After generating domain disclaimer files revert ldap_url entries:-

      zmlocalconfig -e ldap_url="ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389"

Note :

These steps are verified against ZCS v8.5 and v8.6.

There is an existing bug which is fixed in ZCS v8.7. (https://bugzilla.zimbra.com/show_bug.cgi?id=84003)


Heera Singh Koranga

"Heera Singh" <hsingh@zimbra.com>

Jump to: navigation, search