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

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-25-2009, 02:00 PM
Intermediate Member
 
Posts: 19
Default Active Directory sync with zimbra-dap

Hi all

I've just installed zimbra and configured authentication with an AD running on Windows 2003 Server. It works fine. However, I cannot find a stable solution to maintain both directories synchronized. I've found a script, which allows zimbra to get all users in AD by means of comparing them with existing users in zimbra-ldap. However, the script does not get any attribute like name, surname, telephone, etc; only user's e-mail address, which is used as zimbra user name.

This is the url where you can find the script: Linalco: Especialistas en Linux y Software Libre - Detalles del documento

We have paid for Network Edition License, but I cannot find any section in the support page which provides a solution for this. Is there any reliable and stable way of maintaining the servers in sync without having to write a script by myself?

Thank you ver much
Reply With Quote
  #2 (permalink)  
Old 03-20-2009, 08:31 AM
Active Member
 
Posts: 30
Default

I hope you liked my script :-)
It can be modified to add some more fields, as someone else has asked me before.
I'm working on it right now, maybe I can publish a new version soon :-)
Reply With Quote
  #3 (permalink)  
Old 09-29-2010, 03:04 AM
Junior Member
 
Posts: 9
Default Zimbra users sync to AD

Can you please publish the script that can add ZImbra users to Active Directory..
Reply With Quote
  #4 (permalink)  
Old 09-29-2010, 03:41 AM
Active Member
 
Posts: 30
Default

Quote:
Originally Posted by sidhurana View Post
Can you please publish the script that can add ZImbra users to Active Directory..
I'm uploading it, but:
- this is a very old script, some modifications will be needed for latest windows 2008 anz zimbra versions
- This script creates zimbra users from AD users, it won't touch AD or create wnidows users
;-)
Attached Files
File Type: tgz zsync_ad.tgz (281 Bytes, 133 views)
Reply With Quote
  #5 (permalink)  
Old 09-29-2010, 04:09 AM
Junior Member
 
Posts: 9
Default Script

Hi,

Thanks for the quick reply.

I am able to download the script, but it's showing up an error while opening or extracting.

Please take a look..

Thanks,
Sidh
Reply With Quote
  #6 (permalink)  
Old 09-29-2010, 04:37 AM
Active Member
 
Posts: 30
Default

Hmm.. permission problems in that hosting didn't let the download go right.
Let's try again with this attached file ;-)
Attached Files
File Type: tgz re_zsync_ad.tgz (1,015 Bytes, 180 views)
Reply With Quote
  #7 (permalink)  
Old 10-13-2010, 06:09 PM
Starter Member
 
Posts: 1
Default

Quote:
Originally Posted by egrueda View Post
I hope you liked my script :-)
It can be modified to add some more fields, as someone else has asked me before.
I'm working on it right now, maybe I can publish a new version soon :-)
hola, gracias por tu aporte me podrias colaborar con las modificaciones para windows 2008?
Reply With Quote
  #8 (permalink)  
Old 10-13-2010, 11:58 PM
Active Member
 
Posts: 30
Default

Hil diegolave. Please, keep the original post language so all users can follow it.
You may change whatever you need, just edit the script and adjust your own AD settins, like this (line 16):

Code:
# Server values
LDAP_SERVER="ldap://111.1.1.150"
BASEDN="dc=example,dc=com"
BINDDN="CN=username,DC=example,DC=com"
BINDPW="secret"
FILTER="(&(sAMAccountName=*)(objectClass=user)(givenName=*))"
FIELDS="mail"
Just adjust it to fit your needs ;-)
Reply With Quote
  #9 (permalink)  
Old 10-21-2010, 11:03 AM
Junior Member
 
Posts: 6
Default

looks like the file was corrupted could someone repost?
Reply With Quote
  #10 (permalink)  
Old 10-21-2010, 11:39 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Quote:
Originally Posted by sepehr912 View Post
looks like the file was corrupted could someone repost?
It's not corrupt, you did notice that there are two files (and downloaded the correct one) in this thread didn't you?
__________________
Regards


Bill
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.