Difference between revisions of "Steps to update LDAP URL and Bind Password on Domain configuration for Autoprovisioning"

(Created page with "===<h1>Steps to update LDAP URL and Bind Password on Domain configuration for Autoprovisioning</h1>=== <hr> <br> <h2>Problem:</h2> Auto-provisioning not working and mailbox.l...")
 
(Update LDAP URL and Bind Password on Domain configuration for Auto-Provisioning)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
===<h1>Steps to update LDAP URL and Bind Password on Domain configuration for Autoprovisioning</h1>===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Update LDAP URL and Bind Password on Domain configuration for Auto-Provisioning=  
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}
<h2>Problem:</h2>
+
  
Auto-provisioning not working and mailbox.log showing following entries.     
+
 
<pre>
+
====Problem====
2016-07-05 08:05:04,409 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM  
+
Auto-provisioning not working and mailbox.log shows following entries.     
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: An error occurred while attempting to connect to server 192.168.0.134:3268:  java.io.IOException: Unable to establish a connection to server 192.168.0.134:3268 within the configured timeout of 30000 milliseconds.
+
 
ExceptionId:AutoProvision:1467723904380:2e38d9864676d9a6
+
2016-07-05 08:05:04,409 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM  
Code:ldap.LDAP_ERROR
+
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: An error occurred while attempting to connect to server 192.168.0.134:3268:
 +
  java.io.IOException: Unable to establish a connection to server 192.168.0.134:3268 within the configured timeout of 30000 milliseconds.
 +
ExceptionId:AutoProvision:1467723904380:2e38d9864676d9a6
 +
Code:ldap.LDAP_ERROR
 
         at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
 
         at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72)
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72)
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToExternalLdapException(UBIDLdapException.java:82)   
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToExternalLdapException(UBIDLdapException.java:82)   
===================================================================
+
.......
2016-07-05 17:22:11,582 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM
+
.......
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: 80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580
+
2016-07-05 17:22:11,582 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM
ExceptionId:AutoProvision:1467757331570:2e38d9864676d9a6
+
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: 80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580
Code:ldap.LDAP_ERROR
+
ExceptionId:AutoProvision:1467757331570:2e38d9864676d9a6
 +
Code:ldap.LDAP_ERROR
 
         at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
 
         at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72
 
         at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72
</pre>
 
  
<h2>Solution:</h2>
 
  
 +
====Solution====
 
With the help of following steps we can update auto-provision LDAP URL and Bind password.   
 
With the help of following steps we can update auto-provision LDAP URL and Bind password.   
  
'''[Run all commands as zimbra user]''' 
 
 
1) Command to check currently configured value:- 
 
  
    zmprov gd DOMAIN.COM zimbraAutoProvLdapURL zimbraAutoProvLdapAdminBindPassword   
+
'''1).''' Command to check currently configured value:- 
 +
zmprov gd DOMAIN.COM zimbraAutoProvLdapURL zimbraAutoProvLdapAdminBindPassword   
  
  
2) Command to update attribute's value:-   
+
'''2).''' Commands to update attribute's value:-   
 +
zmprov md DOMAIN.COM zimbraAutoProvLdapURL "ldap://AD-SERVER-IP:PORT" 
 +
zmprov md DOMAIN.COM zimbraAutoProvLdapAdminBindPassword "ENTER-BIND-PASSWORD-HERE"   
 +
zmprov fc -a all
  
    zmprov md DOMAIN.COM zimbraAutoProvLdapURL "ldap://AD-SERVER-IPORT" 
 
    zmprov md DOMAIN.COM zimbraAutoProvLdapAdminBindPassword "ENTER-BIND-PASSWORD-HERE"   
 
    zmprov fc -a all
 
  
  
Heera Singh Koranga
+
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10"
 +
|'''Submitted by''':  Heera Singh Koranga
 +
|}
  
"Heera Singh" <hsingh@zimbra.com>
+
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.5, 8.0.x, 7.x|2017-08-23}}

Latest revision as of 07:48, 23 May 2020

Update LDAP URL and Bind Password on Domain configuration for Auto-Provisioning


   KB 23369        Last updated on 2020-05-23  




0.00
(0 votes)


Problem

Auto-provisioning not working and mailbox.log shows following entries.

2016-07-05 08:05:04,409 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM 
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: An error occurred while attempting to connect to server 192.168.0.134:3268:  
java.io.IOException: Unable to establish a connection to server 192.168.0.134:3268 within the configured timeout of 30000 milliseconds.
ExceptionId:AutoProvision:1467723904380:2e38d9864676d9a6
Code:ldap.LDAP_ERROR
       at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
       at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72)
       at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToExternalLdapException(UBIDLdapException.java:82)  
.......
.......
2016-07-05 17:22:11,582 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain DOMAIN.COM
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: 80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580
ExceptionId:AutoProvision:1467757331570:2e38d9864676d9a6
Code:ldap.LDAP_ERROR
       at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
       at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72


Solution

With the help of following steps we can update auto-provision LDAP URL and Bind password.


1). Command to check currently configured value:-

zmprov gd DOMAIN.COM zimbraAutoProvLdapURL zimbraAutoProvLdapAdminBindPassword   


2). Commands to update attribute's value:-

zmprov md DOMAIN.COM zimbraAutoProvLdapURL "ldap://AD-SERVER-IP:PORT"   
zmprov md DOMAIN.COM zimbraAutoProvLdapAdminBindPassword "ENTER-BIND-PASSWORD-HERE"    
zmprov fc -a all


Submitted by: Heera Singh Koranga
Verified Against: ZCS 8.8, 8.7, 8.6, 8.5, 8.0.x, 7.x Date Created: 2017-08-23
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_update_LDAP_URL_and_Bind_Password_on_Domain_configuration_for_Autoprovisioning Date Modified: 2020-05-23



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