| 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.
|  | | 
01-28-2008, 08:11 AM
| | | iCal attendee lookup using Zimbra directory Hi,
A disclaimer first: I am not really a Zimbra user yet... We currently only have one(1) test account at a "Zimbra service provider" to verify that it may meet our demands. :-)
As the company's only Mac user (so far), I have had to do my own testing using our test account, and for the most part it seems to be working really nice (including iCal two-way sync, the alpha version of the Desktop AJAX client etc.).
However, I'm having one problem that we have only been able to get our service provider to say "should be working", and that is to get the attendee availability lookup to work in iCal 3.0 (Leopard). Let me describe what I have done, and what does and does not work: - I have added the account in iCal for the Zimbra calender server - works great
- I have added the Zimbra server in Directory Utility (had to do it manually), and this makes it possible to search and find any user in the Global Address List (GAL) on "our" instance of the Zimbra server, using the Apple Address Book (when in the Directories group, at least)
- It seems that outside the Address Book, searching for - or autocompleting - a user in the GAL, does not work however. E.g. when composing an email, it doesn't search (or at least it doesn't find any results) in the GAL. This applies to Mail.app, and iCal.
- However, if I also add the Zimbra server to the LDAP tab of the Preferences for the Address Book (even with an empty search base!), the email recipient auto-completion works perfectly.
- Still, in iCal the following actions don't work satisfactory:
- Click on the Zimbra calendar in the calendar list, to make it the active calendar
- Double click on a day/time to add a new appointment, and name it
- Click on the appointment and click Edit.
- Click on "Add attendees...".
- Select Window -> Address Panel to open the address panel
- Select Window -> Availability Panel to open the availability panel
- Search for a known user in the address panel, or start writing a Zimbra user's name in the Attendees: field.
The result of these actions is this: - In my experience, "0 users" is the permanent message in the Availability Panel, and searching for known users doesn't return any records either.
- Similarily, none of the known user addresses on "our" test Zimbra server will resolve/auto-complete in the Attendees: field.
- If I enter a complete, known-to-be-valid email address for a user in the GAL, iCal thinks it's ok (just as with any other email address), but in the availability panel (where both our test account and the other attendee is now listed) no availability information is seen (it seems that both users' calendars are completely blank).
And what I expected was this: - That, at least when searching in the Address Panel, but possibly also just upon opening it, all the users in the GAL are available.
- That when a valid user account that is in the GAL is entered as an attendee (at least when dragged-and-dropped from the Address Panel, but possibly also when just written/auto-completed in the Attendees field), the user's availability information is seen in the Availability Panel.
- Optionally, that when writing an address that is in the GAL into the Attendees field, it auto-completes, just like in Mail.app.
One final note: The same thing (scheduling a meeting by searching for attendees' availability) works in Outlook using the Outlook Connector, and in the web interface, so I believe that the other users' calendars are "suffienctly public" for this to be working.
So, my questions are: - Did I miss any settings or preferences?
- Is this a known bug (didn't find anything directly related in my bugzilla search), a known not-to-be-implemented feature or otherwise something known?
- Are there any other workarounds beside the obvious, "just use the web client and/or Desktop AJAX client"?
Oh, and the server is Zimbra 5.0.1, while I'm on Mac OS X 10.5.1.
Thanks for your help, and sorry for the long first post... :-)
- Erik | 
05-27-2008, 10:43 AM
| | | Quote:
Originally Posted by Erik T [*] I have added the Zimbra server in Directory Utility (had to do it manually), and this makes it possible to search and find any user in the Global Address List (GAL) on "our" instance of the Zimbra server, using the Apple Address Book (when in the Directories group, at least) | What setting did you use while setting this part up? | 
06-05-2008, 01:18 PM
| | | Quote:
Originally Posted by danielfarrelly What setting did you use while setting this part up? | I'm also interested in knowing! | 
06-10-2008, 07:37 AM
| | | Sorry for being a bit late in the response here - Zimbra just works so fine most of the time, I seldom have to come back here to look for troubleshooting help... Directory Utility
As for the Directory Utility setup, I can't recall where I got the info -- if from anywhere in particular, but I'll try to retrace my steps (as I don't really want to mess up my system by removing and re-adding the Zimbra LDAP entry from the directory list, sorry): - Open Directory Utility (in /Applications/Utilities/)
- Click the padlock, if locked, to enable editing
- Click Show Advanved Settings
Here is the part I am sorry I don't really remember how I got to... I'll describe how it looks for me now, and first list how I believe I got it to work: - Click on the Services tab/button
- Click on LDAPv3
- Click the pencil icon
- Click on Show options triangle
- Click the New... button
- Enter the URL to your Zimbra installation (rather, just the server FQDN)
- Select/Deselect options according to your needs [size="1"](I use SSL; I don't use LDAP for authentication, but I do use it for contacts)
- Click on Continue
- Ensure that LDAP Mappings are set to Open Directory Server, and that you enable authentication with appropriate username/password
- I made no changes in Search Base suffix or mappings, I think...
Ok, that's about it. If there are steps I've forgotten, they can't be all that important, as they at least haven't made any impact on the settings I can see in the Directory Utility now. If you have any trouble, I'd just do the first six steps above, and then go to the manual mode, and edit the rest there:
In the Edit... window, ensure that the Connection settings are according to your needs, that in the Search & Mappings tab it tells LDAP to access Zimbra using Open Directory Server, and that the user account settings in the Security tab is correct. Re: Original post
As for my original question, the most basic features kind of work now. When I now enter my colleague's complete email address and click Available Meeting Times..., I do get his (only guys working here, so far) busy/free calender alongside my own. And this works great for scheduling meetings.
What is still missing is a working auto-completion of valid email addresses in the attendees field of the edit-an-appointment in iCal, and (I guess completely correlated) searching for users (or anything, really) in the Address Panel of iCal. The first of these shows signs of trying to do some searching/lookup/auto-completion, but fails to give me any response. The Address Panel says Open Directory Lookup, but after spending amillisecond (ca.) searching, it just says 0 people...
Auto-completion of email addresses from the GAL works just fine when composing an email in Mail.app , and the Directory lookup works great in the Address Book, so this seems to be an iCal-thing.
I guess I'll be submitting a feature request/bug report to Apple on this when I get some spare time on my hands, as it seems this is related to how the lookup in iCal works. Unless someone can tell me that this is a Zimbra hickup? Oh, and we have now been using Zimbra hosted by Telsys, since right after that first post of mine, and it works for the most part just great. I had a problem with CalDAV syncing when one of the calendars had a space in its name, and iCal doesn't always(?) show the events in the calendars that are shared with me. But, other than that, it's solid.
And I'm sorry that I obviously have never learned to write short and concisely... | 
08-19-2008, 04:28 AM
| | | Address Book search Hello, I have some question for this topic.
While the iCal works quite well I have problem searching with the Address book.
1) the connection does not work, how can I debug the LDAP client connections- and requests ? (I followed your step by step suggestions)
2) May I have all the GAL from the GAL or just results from the query ? I want to send the GAL to a mobile via address book.
Thanks in advance. | 
08-19-2008, 05:16 AM
| | | @rabati:
Just a few questions for you:
What sort of errors do you get in Address Book? Are you hosting Zimbra yourself, or using a hosted service? Are you getting any errors in the Directory Utility?
If you want to be bold about it, you may be able to glean some useful information about the LDAP connection (at least if it's unencrypted - which I'd usually discourage) using tcpdump (from a Terminal window). Otherwise, have you checked your Console log to see if either Address Book or the Directory Utility have output any messages there? | 
08-19-2008, 05:53 AM
| | | Feedback from Directory utility or addressbook, nothing.
Addressbook says No Matches found
We have our internal zimbra server 5.0.*
I have Leopard 10.5.4 on a MacBook
LDAp ports seems OK, telnet says the port is alive.+
Any log file available before tcpdump (I use Wireshark)
Thanks | 
12-12-2008, 05:19 PM
| | | Quote:
Originally Posted by Erik T Auto-completion of email addresses from the GAL works just fine when composing an email in Mail.app , and the Directory lookup works great in the Address Book, so this seems to be an iCal-thing. | I am seeing the exact same thing, and I can add that this result occcurs regardless of the settings in Directory Utility.
In other words as long as the LDAP part of Address Book preferences is configured to access the Zimbra server, both Address Book and Mail can do lookups from the GAL. For the benefit of rabati, the settings in Address Book are:
Name: anything you like
Server: fully qualified domain name of zimbra server
Port: 389
Use SSL NOT checked (at least for test purposes)
Searchbase: ou=people,o=company
Scope: subtree
Authentication: none (at least for test purposes)
However iCal doesn't find anything in the Addresses Panel, and the application /Applications/Utilities/Directory also doesn't find anything. | 
12-15-2008, 09:39 AM
| | | I would be really happy to see this start working too. It's almost the only thing I get complaints about anymore... but that's probably because Zimbra is working so well in other aspects.
Anyhow, I managed to get Zimbra entries to show up in /Applications/Utility/Directory by making a few changes to the RFC 2307 settings in Directory Utility: - Added "ou=people" to the "Search base" for People and switched it to search in "first level only"
- Added "organizationalPerson" to the "map to" list for People
This does ignore the zimbraHideInGal attribute though, so there are some funny looking entries for the ham/spam/admin users. However, there is still a piece missing! The Addresses box in iCal is still empty.
As best I can tell, iCal not only needs people in the Directory, it needs them to have specific attributes and for there to be a record for the calendar server. The best description of the missing bits that I can find is in the mysterious ical-schema.txt file. It was linked to by Rich Graves, but has been removed from recent revisions as "no longer relevant," so here's a link to a revision right before it got removed: https://trac.calendarserver.org/brow...a.txt?rev=3389.
Anyhow, I don't totally understand the "variable interpolation" option suggested by Rich. (Explanations welcome!) For the moment, the most straightforward approach seems to me to add the necessary attributes and computer record through a zimlet (like the zimbra_posixaccount and zimbra_samba ones do). However, I'm not quite sure where to start with these files. I'm quite new to Zimbra and some of the JS in zimbra_posixaccount makes my head swim. | | Thread Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |