Error with disclaimer when 'ldap url' contains more than one LDAP server: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Unable to configure domain disclaimer if "ldap_url" has more than one ldap server entries in ZCS v8.5 and v8.6= | |||
{{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 throwing below 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. | ||
====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. | ||
=====Step 1===== | |||
Check LDAP server entries in localconfig:- | |||
zmlocalconfig ldap_url | |||
Output:- | 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" | |||
Line 44: | Line 43: | ||
This [https://www.mediawiki.org/wiki/Help:Formatting external link] contains more information about formatting. | |||
Submitted by: Heera Singh Koranga | Submitted by: Heera Singh Koranga |
Revision as of 00:50, 31 July 2018
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 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.
This external link contains more information about formatting.
Submitted by: Heera Singh Koranga