Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Active Directory sync with zimbra-dap

  1. #11
    Join Date
    Oct 2010
    Rep Power


    tanx for your helps.
    i get this file and change the parameters must be changed like:

    # Server values
    LDAP_SERVER="ldap://Ip address of My AD"
    BINDPW="Admin Password"
    FILTER="(&(sAMAccountName=*)(objectClass=user)(giv enName=*))"
    # ( My domain name is RM.BF )

    and change mode of this file +x to be executable
    and copy it to /root and run script with root user
    after run script this message be shown:

    [root@mail ~]# source
    Quering ADS... ldap_bind: Invalid credentials (49)
    additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece
    Found 0 users (/tmp/users_ads_114661000.lst)
    Quering ZCS... ERROR: service.INVALID_REQUEST (invalid request: can only be used with "zmprov -l/--ldap")
    Found 0 users (/tmp/users_zcs_114661000.lst)
    Generating diff file (/tmp/users_dif_114661000.lst)
    New users: 0
    Old users: 0
    [root@mail ~]#

    whats your idea about this problem?
    Last edited by sepehr912; 10-23-2010 at 02:07 AM.

  2. #12
    Join Date
    Oct 2010
    Rep Power


    my problem not solved
    please help me

  3. #13
    Join Date
    May 2013
    Rep Power


    hi all I got the same problem in here, when used this scripts

    change parameters what I made are:
    # Server values
    LDAP_SERVER="ldap://Ip address of My AD"
    FILTER="(&(sAMAccountName=*)(objectClass=user)(giv enName=*))"

    after run this script , this the result:
    root@mail:~# sh
    Quering ADS... Found 75 users (/tmp/users_ads_986163786.lst)
    Quering ZCS... Found 40 users (/tmp/users_zcs_986163786.lst)
    Generating diff file (/tmp/users_dif_986163786.lst)
    New users: 75
    - Adding ERROR: ldap.INVALID_ATTR_VALUE (invalid attr value - unable to create entry: some attributes not unique) 51: [: 2: unexpected operator

    can someone help me, to explain what the meaning of this error
    and solve this problem?
    because I don't have sufficient shell script knowledge
    thanks before

  4. #14
    Join Date
    Nov 2012
    Rep Power


    Quote Originally Posted by milesteg View Post
    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
    Hey Milesteg, there is a feature in Zimbra 8 for auto-provisioning of accounts from AD.You can try that if that is what you want.

Similar Threads

  1. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  2. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  3. Replies: 31
    Last Post: 12-15-2007, 08:05 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts