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 10-21-2009, 09:39 AM
New Member
 
Posts: 4
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?
Reply With Quote
  #2 (permalink)  
Old 10-21-2009, 10:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
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
Reply With Quote
  #3 (permalink)  
Old 10-21-2009, 10:45 AM
New Member
 
Posts: 4
Default

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

Cheers,
Reply With Quote
  #4 (permalink)  
Old 10-21-2009, 11:49 AM
Moderator
 
Posts: 1,147
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...
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.