Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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-02-2006, 04:09 AM
Junior Member
 
Posts: 8
Default Stuck while trying to use ZCS LDAP for external authentication

Hi,

First off, I'm an OpenLDAP newbie. I'm test-running zimbra 3.1.4 on FC4. Zimbra itself is running nicely. Having said that I tried using the following link - http://wiki.zimbra.com/index.php?title=LDAP_Apache.
I was successful in applying having .htaccess authentication against my ZCS Directory

So, excited with the initial success, I tried my hand at another webapp (using php_ldap) that has the provision of authentication against an LDAP server.

This app is asking for the following fields:

1. LDAP Host (this is in my case meghnad.wbut.ac.in)
2. LDAP Port (default=389)
3. Basedn
4. rootdn (for non anonymous binds)
5. Pass (for non-anonymous binds)
5. Connection filter
6. Login Field
7. Use TLS

in case of the .htaccess file (incidentally) I had simply specified the AuthLDAPURL as ldap://meghnad.wbut.ac.in/dc=wbut,dc=ac,dc=in
and that had worked.

I'n the other case, my trails have led me to errors like "invalid credentials" and "too many users found". What am I missing here???

-indra
Reply With Quote
  #2 (permalink)  
Old 08-02-2006, 04:52 AM
Junior Member
 
Posts: 8
Default Issue closed!

err... the solution was amazing simple! all I needed to do was to point to the host, the basedn *and* the "Login Field" parameter as "uid" and it worked!!
Reply With Quote
  #3 (permalink)  
Old 08-02-2006, 12:56 PM
Special Member
 
Posts: 108
Default

I'm having problems with apache authentication with ldap myself...

So what did your .htaccess file end up looking like?
Reply With Quote
  #4 (permalink)  
Old 08-02-2006, 09:23 PM
Junior Member
 
Posts: 8
Default

hi,
Quote:
Originally Posted by jimbo
So what did your .htaccess file end up looking like?
my .htaccess looks like -
Code:
   
AuthType Basic
AuthName DDInternal
AuthLDAPURL ldap://meghnad.wbut.ac.in/dc=wbut,dc=ac,dc=in
require valid-user
In my installation the Zimbra was originally installed with the domain "meghnad.wbut.ac.in" which is really the MX for the domain wbut.ac.in, I added "wbut.ac.in as the second domain and then set as the default.

FWIW, the .htaccess file is deployed on another server (http://phpmyadmin.wbut.ac.in ) where I needed to restrict the Login Screen access to my phpmyadmin installation.
Reply With Quote
  #5 (permalink)  
Old 08-03-2006, 11:04 AM
Special Member
 
Posts: 108
Smile

indradg,

Thank you! I modified my AuthLDAPURL string to be:
Code:
AuthLDAPURL ldap://mail.example.com/dc=example,dc=com
and it worked!

Thank you so much... have been scratching my head on this one for a while.

jimbo
Reply With Quote
  #6 (permalink)  
Old 08-03-2006, 02:21 PM
Moderator
 
Posts: 451
Default

Quote:
Originally Posted by jimbo
indradg,

Thank you! I modified my AuthLDAPURL string to be:
Code:
AuthLDAPURL ldap://mail.example.com/dc=example,dc=com
and it worked!

Thank you so much... have been scratching my head on this one for a while.

jimbo
Anyway to search multiple domains at one time?
__________________
http://perceiva.com
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.