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

Thread: Active Directory sync with zimbra-dap

  1. #11
    sepehr912's Avatar
    sepehr912 is offline Junior Member
    Join Date
    Oct 2010
    Posts
    6
    Rep Power
    4

    Default

    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"
    BASEDN="dc=rm,dc=bf"
    BINDDN="CN=admin username@rm.bf,DC=rm,DC=bf"
    BINDPW="Admin Password"
    FILTER="(&(sAMAccountName=*)(objectClass=user)(giv enName=*))"
    FIELDS="mail"
    # ( 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 zsync_ad.sh
    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
    sepehr912's Avatar
    sepehr912 is offline Junior Member
    Join Date
    Oct 2010
    Posts
    6
    Rep Power
    4

    Default

    my problem not solved
    please help me

  3. #13
    the9tail_demon is offline Starter Member
    Join Date
    May 2013
    Posts
    1
    Rep Power
    1

    Default

    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"
    BASEDN="dc=example,dc=com"
    BINDDN="CN=zimbra,CN=Users,DC=example,DC=com"
    BINDPW="P@ssw0rd"
    FILTER="(&(sAMAccountName=*)(objectClass=user)(giv enName=*))"
    FIELDS="mail"

    after run this script , this the result:
    root@mail:~# sh zcs-sync-ad.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 aad@example.com ERROR: ldap.INVALID_ATTR_VALUE (invalid attr value - unable to create entry: some attributes not unique)
    zcs-sync-ad.sh: 51: [: 2: unexpected operator
    [Err]

    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
    Raunaq's Avatar
    Raunaq is offline Zimbra Employee
    Join Date
    Nov 2012
    Location
    Bangalore
    Posts
    163
    Rep Power
    2

    Default

    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.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 09:05 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11: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
  •