Results 1 to 4 of 4

Thread: Connect to ldapserver with Privileged Account

  1. #1
    korablikovas is offline New Member
    Join Date
    Sep 2009
    Posts
    4
    Rep Power
    5

    Default Connect to ldapserver with Privileged Account

    Hello,

    i'm doing some synchronization tests with my AD Server and Zimbra. Read about syncing scripts, and the common usage is to extract data from AD via ldapsearch, and insert into zimbra with zmprov.
    If possible, i'd like to sync users with ldap command-lines. But the only way i can connect to zimbra ldapserver is anonymous. I tried to make a ldapmodify but i need an user to authenticate:

    ldapmodify -x -h 192.168.5.91 -f file.ldif
    modifying entry "uid=testuser,ou=people,dc=domain,dc=com"
    ldapmodify: Strong(er) authentication required (8)
    additional info: modifications require authentication

    I tried to authenticate as many ways, '-D uid=admin', '-D uid=admin,ou=people,dc=domain,dc=com', '-D admin@domain' etc...

    There's a way to authenticate with the admin user? Or to create an user to connect directly to the ldapserver with write permissions?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by korablikovas View Post
    There's a way to authenticate with the admin user? Or to create an user to connect directly to the ldapserver with write permissions?
    You don't say which version of Zimbra you're using (nor if it's a new install or update), if it's 6.x then read the Release Notes about anonymous bind.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    korablikovas is offline New Member
    Join Date
    Sep 2009
    Posts
    4
    Rep Power
    5

    Default

    Ah sorry about that..
    I'm running a new install of the zcs-5.0.16_GA_2921.UBUNTU8_64 version.

    Cheers,

  4. #4
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    You can authenticate as the root ldap user using "uid=zimbra,cn=admins,cn=zimbra" and the root password which can be found from `zmlocalconfig -s zimbra_ldap_password`.

    Be warned though that this user has write access to the entire LDAP database...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 09:10 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Can't send or receive mails from Zimbra
    By ppurama in forum Administrators
    Replies: 4
    Last Post: 11-14-2005, 10:17 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
  •