Difference between revisions of "Unable to configure domain disclaimer if ldap url has more than one ldap server entries in ZCS v8.5 and v8.6"

(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...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===<h1>Unable to configure domain disclaimer if "ldap_url" has more than one ldap server entries in ZCS v8.5 and v8.6</h1>===
+
{{BC|Certified}}
<hr>
+
__FORCETOC__
<br>
+
<div class="col-md-12 ibox-content">
<h2>Problem:</h2>
+
=Unable to configure domain disclaimer if "ldap_url" has more than one ldap server entries in ZCS v8.5 and v8.6=
 +
{{KB|{{ZC}}||||}}
 +
{{WIP}}
  
 +
====Problem====
 
Unable to configure domain disclaimer if more than one ldap server entries exist in the ldap_url.
 
Unable to configure domain disclaimer if more than one ldap server entries exist in the ldap_url.
 
+
Altermime throwing below error while generating disclaimer files :
Altermime giving following error while generating disclaimer files :
 
 
 
 
  ./libexec/zmaltermimeconfig -e DOMAIN.COM
 
  ./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, <DATA> line 751.
 
  Error connecting to LDAP server: ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389 at ./libexec/zmaltermimeconfig line 63, <DATA> line 751.
  
<h2>Solution:</h2>
+
====Solution====
 
 
 
See the following steps to fix this problem, and using these steps there is no need to restart any service.
 
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:-   
+
=====Step 1=====
 
+
Check LDAP server entries in localconfig:-   
      zmlocalconfig ldap_url     
+
  zmlocalconfig ldap_url     
 
 
      Output:-
 
      ldap_url = ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389 
 
  
 +
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"   
+
=====Step 2=====
 +
Remove second LDAP server entry from ldap_url.  There is no need to restart any service for this change. 
 +
  zmlocalconfig -e ldap_url="ldap://ldap1.DOMAIN.COM:389"   
  
  
3). Now generate domain disclaimer files for altermime:-   
+
=====Step 3=====
 +
Now generate domain disclaimer files for altermime:-
 +
  ./libexec/zmaltermimeconfig -e DOMAIN.COM  
  
      ./libexec/zmaltermimeconfig -e DOMAIN.COM 
 
  
4). After generating domain disclaimer files revert ldap_url entries:-  
+
=====Step 4=====
 +
After generating domain disclaimer files revert ldap_url entries:-  
 +
  zmlocalconfig -e ldap_url="ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389"
  
      zmlocalconfig -e ldap_url="ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389"
 
  
 
'''Note :'''
 
'''Note :'''
 
+
There is a bug for this issue, which affecting v8.0.x, v8.5.x and v8.6.   https://bugzilla.zimbra.com/show_bug.cgi?id=84003 <br>
These steps are verified against ZCS v8.5 and v8.6.
+
This bug fixed on v8.7.0.
 
There is an existing bug which is fixed in ZCS v8.7.  (https://bugzilla.zimbra.com/show_bug.cgi?id=84003)
 
  
  
Heera Singh Koranga
+
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10"
 +
|'''Submitted by''':  Heera Singh Koranga  
 +
|}
  
"Heera Singh" <hsingh@zimbra.com>
+
{{Article Footer||}}

Latest revision as of 23:53, 20 August 2018

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

   KB 23340        Last updated on 2018-08-20  




0.00
(0 votes)


Problem

Unable to configure domain disclaimer if more than one ldap server entries exist in the ldap_url. Altermime throwing below 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.

Step 1

Check LDAP server entries in localconfig:-

 zmlocalconfig ldap_url    

Output:-

 ldap_url = ldap://ldap1.DOMAIN.COM:389 ldap://ldap2.DOMAIN.COM:389   


Step 2

Remove second LDAP server entry from ldap_url. There is no need to restart any service for this change.

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


Step 3

Now generate domain disclaimer files for altermime:-

 ./libexec/zmaltermimeconfig -e DOMAIN.COM  


Step 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 : There is a bug for this issue, which affecting v8.0.x, v8.5.x and v8.6. https://bugzilla.zimbra.com/show_bug.cgi?id=84003
This bug fixed on v8.7.0.


Submitted by: Heera Singh Koranga
Verified Against: Date Created:
Article ID: https://wiki.zimbra.com/index.php?title=Unable_to_configure_domain_disclaimer_if_ldap_url_has_more_than_one_ldap_server_entries_in_ZCS_v8.5_and_v8.6 Date Modified: 2018-08-20



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search