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 01-09-2008, 10:58 AM
Active Member
 
Posts: 45
Default Installing ZCS 5 with external OpenLdap Database

Hi, I'm trying to install ZCS 5 with an external LDAP Database, it's because my company already have an LDAP database for users. How do i can set it on install? its because at first configuration i have only ldap hostname, ldap admin user and password. Where i can specify my DN ?

My LDAP are structured to be an Domain controller with SAMBA. Today i have the following structure at my ldap database and users:

Directory Structure:

Code:
dn: dc=my-company,dc=com,dc=br
objectClass: dcObject
objectClass: organization
o: mycompany
dc: mycompany
Users and Groups OU:

Code:
dn: ou=Usuarios,dc=my-company,dc=com,dc=br
objectClass: top
objectClass: organizationalUnit
ou: Usuarios

dn: ou=Grupos,dc=my-company,dc=com,dc=br
objectClass: top
objectClass: organizationalUnit
ou: Grupos
Users Objects:

Code:
dn: uid=username,ou=Usuarios,dc=my-company,dc=com,dc=br
uid: username
objectClass: top
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: person
loginShell: /bin/bash
uidNumber: 1504
gidNumber: 513
homeDirectory: /home/username
mail: username@mycompany.com.br
title: Estagiaria
o: mycompany
ou: Financeiro
sn: username complete name
cn: username complete name
l: Matriz

How do i use this users, that already exists at my LDAP database to be Zimbra users?

Can i create an Posix group and zimbra allow only group users to have zimbra account?
Reply With Quote
  #2 (permalink)  
Old 01-09-2008, 11:01 AM
Zimbra Employee
 
Posts: 604
Default

ZCS isn't designed to be used with the primary ldap being external to ZCS. You'll need to install the zimbra ldap, and then setup external authentication.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 01-09-2008, 11:02 AM
Moderator
 
Posts: 6,237
Default

Don't change anything on install, after you get it setup in the admin console go to domains > external authentication & GAL buttons.
Reply With Quote
  #4 (permalink)  
Old 01-10-2008, 02:18 AM
Active Member
 
Posts: 45
Default

OK, i understand how do i can authenticate with an external Openldap Database . Thanks.

and if i have an existent Zimbra (with internal authentication) with some users, can i put it to authenticate at external openldap database without lost existents users? i need to have the same users at ldap database, right? only this?
Reply With Quote
  #5 (permalink)  
Old 01-10-2008, 02:26 AM
Moderator
 
Posts: 2,207
Default

AFAIK, you can only choose the auth type (internal or external) on a domain base.
Reply With Quote
  #6 (permalink)  
Old 01-10-2008, 02:52 AM
Active Member
 
Posts: 45
Default

Ok Ok, but i already have an existent domain and users at this domain. This zimbra server was running at least 7 months and now i want to put then to authenticate at an external LDAP database. Can i do thi chage for an existent domain?
Reply With Quote
  #7 (permalink)  
Old 01-10-2008, 03:13 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by Grejao View Post
Can i do thi chage for an existent domain?
Yes, you can.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 01-10-2008, 05:02 AM
Active Member
 
Posts: 45
Default

Ok.
to do this i need to have the same user object at external ldap database, right?

what attribute zimbra will go get at user object at external ldap database to authenticate user?
"UID" and "userPassword" ?

can zimbra authenticate users by "mail" and "userPassword" attributes?
Reply With Quote
  #9 (permalink)  
Old 01-10-2008, 05:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Details for External Authentication are here in the wiki.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 01-11-2008, 06:09 AM
Active Member
 
Posts: 45
Default

Ok, i do all steps and now my ZCS can authenticate at my external ldap database .

The problem now are that all users can login with 2 passwords, from zimbra internal database and password from external database.

its normal? how do i correct this???
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.