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 08-24-2011, 11:23 PM
Active Member
 
Posts: 27
Default Zimbra, phpLDAPadmin, Google Apps

How does one go about connecting to the Zimbra-installed LDAP server via phpLDAPadmin? I want to look at the OU structure for the purposes of synchronizing select objects to Google via the Google Directory Sync utility.

I've tried Login CN = cn=Manager, dc=my-domain, dc=com and password = the one that I set while running install.sh, but this doesn't seem to be working.
Reply With Quote
  #2 (permalink)  
Old 08-25-2011, 05:36 AM
Moderator
 
Posts: 1,554
Default

try using

uid=zimbra,cn=admins,cn=zimbra

the password you can get by running

zmlocalconfig -s | grep zimbra_ldap_password
Reply With Quote
  #3 (permalink)  
Old 08-25-2011, 05:44 AM
Active Member
 
Posts: 27
Default

where does zmlocalconfig reside? It's location doesn't appear to have been added to my path my the installer, because I get "command not found" when I try to run it.

Also, the UI for phpLDAPadmin seems to be expecting a user name of format

cn=Manager, dc=my-domain, dc=com

So, I'm not sure how to read/use "uid=zimbra,cn=admins,cn=zimbra"
Reply With Quote
  #4 (permalink)  
Old 08-25-2011, 06:08 AM
Moderator
 
Posts: 1,554
Default

you need to su to the user zimbra, then it should be in your path. it's in /opt/zimbra/bin/zmlocalconfig though

i don't know much about phpldapadmin but i don't believe there is a user named Manager in zimbra
Reply With Quote
  #5 (permalink)  
Old 08-25-2011, 06:37 AM
Active Member
 
Posts: 27
Default

Thanks, that got me the password, but I'm still stuck. I have no idea what to enter in the "local DN" field (see attached screen-shot).

I'm hoping that someone who's used phpldapadmin sees this thread.
Attached Images
File Type: jpg Screen Shot 2011-08-25 at 6.36.26 AM.jpg (25.0 KB, 33 views)
Reply With Quote
  #6 (permalink)  
Old 08-25-2011, 11:38 PM
Special Member
 
Posts: 113
Default

Login DN: "uid=zimbra,cn=admins,cn=zimbra"

Do not append your domain name.
Reply With Quote
  #7 (permalink)  
Old 08-26-2011, 01:15 AM
Active Member
 
Posts: 27
Default

Thanks, but that didn't work. I'm still getting

Unable to connect to LDAP server My LDAP Server
Error: Can't contact LDAP server (-1) for user
error Failed to Authenticate to server
Invalid Username or Password.
Reply With Quote
  #8 (permalink)  
Old 08-26-2011, 02:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by agenerette View Post
Thanks, but that didn't work. I'm still getting

Unable to connect to LDAP server My LDAP Server
Error: Can't contact LDAP server (-1) for user
error Failed to Authenticate to server
Invalid Username or Password.
Then you're using the wrong credentials.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 08-26-2011, 03:34 AM
Active Member
 
Posts: 27
Default

I actually found that though I couldn't connect with phpldapadmin, I could with LDAPManager.
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.