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 02-27-2010, 02:55 AM
Senior Member
 
Posts: 71
Default [SOLVED] Export LDAP and merge...

Hi,
I have a requirement to mix two different resources into a single LDAP directory:

1. Zimbra LDAP (internal users)
2. MySQL DB (external users)

-> 1+2=Apache Directory Server (all users)

As I already create the ApacheDS from MySQL nightly with a PHP script (excluding "userPassword" so far). I ask myself how I could transfer the SSHA encrypted Zimbra "userPassword"? Also I will need to restructure some attributes to match the requirements of the new LDAP - therefore a simple replica will not do the job.

I also thought of using the ApacheDS as external authentication source for Zimbra, but do neither like the idea of managing internal users on different places nor will I try again to customize the Zimbra LDAP itself.

Somebody has already done a similar thing or ideas how such a concept could be best handled?
Reply With Quote
  #2 (permalink)  
Old 02-27-2010, 03:05 AM
Senior Member
 
Posts: 71
Default

Quote:
Originally Posted by catnipper View Post
]I ask myself how I could transfer the SSHA encrypted Zimbra "userPassword"?
Just found the simplest solution ever:
As the Zimbra "userPassword" will always be SSHA encrypted, adding the attribute using something like $ldap[id]['userPassword']='{SSHA}H+hJ0vXkSZuMxR/1h1u3ax6oZUky/VhM'
should do it. I was afraid I would have to get the cleartext password...
Reply With Quote
  #3 (permalink)  
Old 02-27-2010, 03:57 AM
Loyal Member
 
Posts: 79
Default

Maybe You need Virtual Directory like Penrose (Home - Safehaus) or MyVirtualDirectory (MyVD Virtual Directory - MyVD LDAP Virtual Directory) ?
Reply With Quote
  #4 (permalink)  
Old 02-27-2010, 04:06 AM
Senior Member
 
Posts: 71
Default

Thanks ChaSer - I did not know those products, but both look pretty promising!
Certainly this is much more flexible than any other "home brewed" solution.

You may have saved me lot of typing
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.