Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-2011, 06:02 AM
Active Member
 
Posts: 28
Default Ldap error after migrating from 5.x to 6.x

Hi,

After migrating from Zimbra Opensource Edition 5.x to 6.x (which went well), I have a problem when querying OpenLdap with Java (tomcat6/java6). The query fails with the following Ldap error :

LDAP Error 2 : [LDAP: error code 2 - manageDSAit control value not absent]

It only concerns Java/JNDI applications.

Do you have some ideas ?

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 09-19-2011, 04:15 AM
Active Member
 
Posts: 28
Default

Sorry to ask again but is there someone to help ?

If I use an Openldap server from Debian Squeeze, my JNDI apps authenticate well.

It appears to be related to OpenLDAP from Zimbra 6...

Thanks for your help.
Reply With Quote
  #3 (permalink)  
Old 09-19-2011, 07:03 AM
Intermediate Member
 
Posts: 15
Default

Did you make any configuration file customization?
Do you have any ACLs applied to RootDSE entry?
Did you try connecting without SSL?
Reply With Quote
  #4 (permalink)  
Old 09-19-2011, 07:15 AM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by dhape View Post
Did you make any configuration file customization?
Not at all.
Quote:
Originally Posted by dhape View Post
Do you have any ACLs applied to RootDSE entry?
There are 10 ACLs applied for the whole Zimbra HDB Database :
Code:
olcAccess: {0}to attrs=userPassword  by anonymous auth  by dn.children="cn=ad
 mins,cn=zimbra" write
olcAccess: {1}to dn.subtree="cn=zimbra"  by dn.children="cn=admins,cn=zimbra"
 write
olcAccess: {2}to attrs=zimbraZimletUserProperties,zimbraGalLdapBindPassword,z
 imbraGalLdapBindDn,zimbraAuthTokenKey,zimbraPreAuthKey,zimbraPasswordHistory
 ,zimbraIsAdminAccount,zimbraAuthLdapSearchBindPassword  by dn.children="cn=a
 dmins,cn=zimbra" write  by * none
olcAccess: {3}to attrs=objectclass  by dn.children="cn=admins,cn=zimbra" writ
 e by dn.base="uid=zmpostfix,cn=appaccts,cn=zimbra" read  by dn.base="uid=zma
 mavis,cn=appaccts,cn=zimbra" read  by * read
olcAccess: {4}to attrs=@amavisAccount  by dn.children="cn=admins,cn=zimbra" w
 rite  by dn.base="uid=zmamavis,cn=appaccts,cn=zimbra" read  by * +0 break
olcAccess: {5}to attrs=mail  by dn.children="cn=admins,cn=zimbra" write  by d
 n.base="uid=zmamavis,cn=appaccts,cn=zimbra" read  by * +0 break
olcAccess: {6}to attrs=zimbraAllowFromAddress  by dn.children="cn=admins,cn=z
 imbra" write  by dn.base="uid=zmpostfix,cn=appaccts,cn=zimbra" read  by * no
 ne
olcAccess: {7}to filter="(!(zimbraHideInGal=TRUE))"  attrs=cn,co,company,dc,d
 isplayName,givenName,gn,initials,l,mail,o,ou,physicalDeliveryOfficeName,post
 alCode,sn,st,street,streetAddress,telephoneNumber,title,uid  by dn.children=
 "cn=admins,cn=zimbra" write  by dn.base="uid=zmpostfix,cn=appaccts,cn=zimbra
 " read  by * read
olcAccess: {8}to attrs=zimbraId,zimbraMailAddress,zimbraMailAlias,zimbraMailC
 anonicalAddress,zimbraMailCatchAllAddress,zimbraMailCatchAllCanonicalAddress
 ,zimbraMailCatchAllForwardingAddress,zimbraMailDeliveryAddress,zimbraMailFor
 wardingAddress,zimbraPrefMailForwardingAddress,zimbraMailHost,zimbraMailStat
 us,zimbraMailTransport,zimbraDomainName,zimbraDomainType,zimbraPrefMailLocal
 DeliveryDisabled  by dn.children="cn=admins,cn=zimbra" write  by dn.base="ui
 d=zmpostfix,cn=appaccts,cn=zimbra" read  by * read
olcAccess: {9}to attrs=entry  by dn.children="cn=admins,cn=zimbra" write  by 
 * read
olcAccess: {10}to dn.base=""  by * read
Quote:
Originally Posted by dhape View Post
Did you try connecting without SSL?
For testing purpose, I don't use SSL nor TLS.

I heard somewhere that this may be related to security contexts in OpenLdap 2.4. Could it be a Zimbra customization of OpenLdap building ?

Thanks for your help. Really appreciated.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.