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 05-18-2006, 02:03 PM
Advanced Member
 
Posts: 232
Default GAL Question

I have deployed Zimbra as a mail server, but I still allow users to use Outlook via POP.

There are some using the web interface and we have question about the GAL.

I run two mail Domains: maildomain1.ca and maildomain2.ca

If you have an address that belongs to domain1 and you search via a period (.) in the GAL, you only see the accounts belonging to domain1.

Obviously vice-versa with domain2.

Is there a way to get the GAL to encompass all mail domains for all users, regardless of which domain their account was created under?

Cheers,

Travis
Reply With Quote
  #2 (permalink)  
Old 05-18-2006, 02:19 PM
Elite Member & Volunteer
 
Posts: 255
Default

Could you not just configure the GAL to lookup on both the internal as well as external... your external being the same ldap server, but different ldap search query.
Reply With Quote
  #3 (permalink)  
Old 05-23-2006, 02:42 PM
Advanced Member
 
Posts: 232
Default

I don't know....that is why I am asking...lol
Reply With Quote
  #4 (permalink)  
Old 05-23-2006, 02:53 PM
Advanced Member
 
Posts: 232
Default

Actually I don't have an external LDAP server. The domains I am discussing are all local e-mail domains that exist on the Zimbra server. So if I am a user whose e-mail address ends with @domain1.com and I use the GAL all I see are the @domain1.com users. I cannot see the @domain2.com users and vice-versa.

What I want is for all mail domain users to be able to see all of my mail domains in the GAL.

I do not see a place to change the LDAP query, unless I was to specify "External" on configuration. As I am not running LDAP externally of Zimbra, this is not an option.

Can I change the queries any other way?
Reply With Quote
  #5 (permalink)  
Old 05-24-2006, 10:49 AM
Elite Member & Volunteer
 
Posts: 255
Default

You should still be able to specify it as external, you will just be pointing it back to the same server, and requesting a different branch of the same tree.
Reply With Quote
  #6 (permalink)  
Old 05-24-2006, 03:05 PM
Zimbra Employee
 
Posts: 228
Default

As mentioned, just configure your GAL as external, but point it at your Zimbra LDAP server. Set the search base to "dc=ca". You'll need to set the search filter to either "zimbra" or "zimbraAccounts", depending on what version you are using.

To figure out which one, run this:
Code:
/opt/zimbra/bin/zmprov gacf|grep zimbraGalLdapFilterDef
And see if you get:
Code:
zimbraGalLdapFilterDef: zimbraAccounts:(...long ldap filter)
...
Or:

And see if you get:
Code:
zimbraGalLdapFilterDef: zimbra:(...long ldap filter)
...
I just fixed bug 7426 and added a new config option to control the search base for internal GAL searches, This should be in the next major release (i.e., 3.2).
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 05-26-2006, 08:58 AM
Advanced Member
 
Posts: 232
Default

I see:

[root@webmail bin]# ./zmprov gacf | grep zimbraGalLdapFilterDef
zimbraGalLdapFilterDef: ad&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(mail=*%s*))(!(m sExchHideFromAddressLists=TRUE))(mailnickname=*)(| (&(objectCategory=person)(objectClass=user)(!(home MDB=*))(!(msExchHomeServerName=*)))(&(objectCatego ry=person)(objectClass=user)(|(homeMDB=*)(msExchHo meServerName=*)))(&(objectCategory=person)(objectC lass=contact))(objectCategory=group)(objectCategor y=publicFolder)(objectCategory=msExchDynamicDistri butionList)))
zimbraGalLdapFilterDef: zimbraAccounts&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(mai l=*%s*)(zimbraMailDeliveryAddress=*%s*)(zimbraMail Alias=*%s*)(zimbraMailAddress=*%s*))(|(objectclass =zimbraAccount)(objectclass=zimbraDistributionList ))(!(objectclass=zimbraCalendarResource)))
zimbraGalLdapFilterDef: zimbraResources&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(ma il=*%s*)(zimbraMailDeliveryAddress=*%s*)(zimbraMai lAlias=*%s*)(zimbraMailAddress=*%s*))(objectclass= zimbraCalendarResource))

Do I just add that entire string to the LDAP Filter* section in the GAL Wizard when configuring for external LDAP? Would I change the "Search Base" as well?

For example change it from: dc=avmax, dc=ca

TO: dc=ca, dc=com

??
Reply With Quote
  #8 (permalink)  
Old 05-26-2006, 09:37 AM
Zimbra Employee
 
Posts: 228
Default

If you see "zimbraAccounts" then you can set the gal filter to be "zimbraAccounts". The GAL code will check to see if there a filter def with that name and use it if so.

If you have a domain called "foo.ca" and "bar.ca" you want the base to be "dc=ca". If they are "foo.com" and "bar.com", you'd want it to be "dc=com".
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #9 (permalink)  
Old 05-26-2006, 09:43 AM
Advanced Member
 
Posts: 232
Default

Quote:
Originally Posted by schemers
If you see "zimbraAccounts" then you can set the gal filter to be "zimbraAccounts". The GAL code will check to see if there a filter def with that name and use it if so.

If you have a domain called "foo.ca" and "bar.ca" you want the base to be "dc=ca". If they are "foo.com" and "bar.com", you'd want it to be "dc=com".
OK. I do see ZimbraAccounts. But I don't know what to paste into the 'LDAP Filter*' section of the GAL configuration Wizard.

Also, I have both .ca and .com domains.....so can I use both, dc=ca and dc=com in the search base section?

Cheers,

Travis
Reply With Quote
  #10 (permalink)  
Old 05-26-2006, 12:00 PM
Advanced Member
 
Posts: 232
Default

I have done a search in the Forum for a history on this, but can't seem to find anything in regards to setting up the external LDAP.

Is there a HOWTO I could read that would explain the GAL Wizard? And specifically, what it is expecting in the "LDAP Filter*" field?
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.