Duplicate entries using Calendar Connector Web Service

0 views
Skip to first unread message

Chad

unread,
Nov 18, 2008, 11:59:38 AM11/18/08
to google-calendar-connectors
I'm currently experiencing an issue with the Google Calendar Connector
Web Service.

When querying free/busy information for Exchange users from Calendar,
two entries are added to the attendee list.

Google Apps Domain: mycompany.com
Exchange SMTP Domain: lab.mycompany.com

Web.Config includes the following:
<add key="GoogleApps.GCal.DomainMapping"
value="mycompany.com,lab.mycompany.com"/>

When adding us...@lab.mycompany.com as an attendee, the information is
returned:
* us...@mycompany.com returns Free/Busy info for us...@lab.mycompany.com
* us...@lab.mycompany.com returns Calendar doesn't exist or isnt'
shared

Following the potential resolution on Issue 7:
http://code.google.com/p/google-calendar-connectors/issues/detail?id=7,
I've uninstalled the Calendar Connector Web Service, downloaded
version 1.2 and installed it.

The problem continues to exist.

How do I go about troubleshooting and resolving this issue?

Thank you

Darrell Kuhn

unread,
Nov 18, 2008, 12:25:09 PM11/18/08
to google-calend...@googlegroups.com
Chad,

Since you have the domain mapping option enabled you don't need to specify the user's e-mail address as user@lab.mycompany.com. This will be translated from us...@mycompany.com to us...@lab.mycompany.com when doing the lookup within the web service against Exchange. But when returned to Google Apps we will list the e-mail address as us...@mycompany.com

You should be able to just enter us...@mycompany.com and it should return the Exchange data only (unless you have an enabled Google apps user with the same e-mail address). In that case only the Google Calendar data will be returned.

Google Calendar takes the attendee request and sends a request to both Google Calendar and Exchange at the same time. I suspect what is happening here is that Exchange is translating the data and returning back data for the Exchange user as user@company since it did the translation. The other request that was sent to Google Calendar us...@lab.mycompany.com does not exist in Google Calendar so it returns Calendar does not exist.

Is there a reason why you want to perform the lookup on us...@lab.mycompany.com vs us...@mycompany.com?

Darrell Kuhn
Google Inc.

Chad

unread,
Nov 19, 2008, 8:49:54 AM11/19/08
to google-calendar-connectors
Darrell,

Thank you for the information.

"You should be able to just enter us...@mycompany.com and it should
return the Exchange data only *(unless you have an enabled Google apps
user with the same e-mail address)*. In that case only the Google
Calendar data will be returned."

When using the attendee's username, the Free/Busy is displayed as
expected.

Could you help me understand the following scenario?
Exchange Account: us...@lab.mycompany.com (Free/Busy displayed as
expected when queried via username 'user')
I created a Suspended Google Apps Account: us...@mycompany.com
Look up the Free/Busy of 'user', returns blank/empty Free/Busy, seems
as though it is viewing the Free/Busy of the Suspended Google Apps
Account.

Thank you

Chad



Chad

Darrell Kuhn

unread,
Nov 19, 2008, 12:43:07 PM11/19/08
to google-calend...@googlegroups.com
What should happen here is that your request for "user" will be sent both to Google Calendar and Exchange at the same time. Google Calendar should return a message that the user is suspended so nothing should be display from that Google Calendar. Your request to Exchange should return results and those results should be display in the view.

Can you test one thing, disable sharing of any Calendar data for the suspended user and see if you get the same result?

Darrell Kuhn
Google Inc.

Chad

unread,
Nov 20, 2008, 2:22:39 PM11/20/08
to google-calendar-connectors
Darrell,

I have enabled the suspended "user" in GAPE.
Logged into GCal with "user" and removed sharing on the calendar.
I then suspended "user" in GAPE.
I logged into an active GAPE user and tried to view Free/Busy for
"user".
The Free/Busy that was returned was blank.

Chad

Chad

unread,
Nov 21, 2008, 9:10:58 AM11/21/08
to google-calendar-connectors
The following is from the WebServices.log, it appears as though
WebServices is working as expected and retrieving the freebusy
infromation of Exc...@lab.mycompany.com, but the data is not
displayed in GCal.

2008-11-21 07:53:32,767 [8668] INFO
Google.GCalExchangeSync.Library.GCalFreeBusyRequest - Request received
from GCal. [body=[1,0,[GAPE...@mycompany.com],
20081114/20081202,20081121T075331,America/Chicago]]
2008-11-21 07:53:32,829 [8668] INFO
Google.GCalExchangeSync.Library.ConfigCache - Added Domain Map.
mycompany.com <-> lab.mycompany.com
2008-11-21 07:53:33,142 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Searching
Active Directory [Server=LDAP://dlab1.lab.mycompany.COM,
User=gl...@lab.mycompany.com]
2008-11-21 07:53:33,142 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Issuing LDAP
query '(&(mail=GAPE...@lab.mycompany.com)(|(objectcategory=user)
(objectcategory=contact)))'
2008-11-21 07:53:33,235 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Found 0 users
in Active Directory.
2008-11-21 07:53:33,251 [8668] INFO
Google.GCalExchangeSync.Library.ExchangeService - Unable to find
Active Directory user where 'mail'='GAPE...@lab.mycompany.com'.
2008-11-21 07:53:33,251 [8668] INFO
Google.GCalExchangeSync.Library.GCalFreeBusyResponse - GCal Free/Busy
response successfully generated.
2008-11-21 07:54:05,923 [8668] INFO
Google.GCalExchangeSync.Library.GCalFreeBusyRequest - Request received
from GCal. [body=[1,1,[Exc...@mycompany.com],
20081114/20081202,20081121T075330,America/Chicago]]
2008-11-21 07:54:05,923 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Searching
Active Directory [Server=LDAP://dlab1.lab.mycompany.COM,
User=gl...@lab.mycompany.com]
2008-11-21 07:54:05,923 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Issuing LDAP
query '(&(mail=Exc...@lab.mycompany.com)(|(objectcategory=user)
(objectcategory=contact)))'
2008-11-21 07:54:06,282 [8668] INFO
Google.GCalExchangeSync.Library.ActiveDirectoryService - Found 1 users
in Active Directory.
2008-11-21 07:54:06,313 [8668] INFO
Google.GCalExchangeSync.Library.ExchangeService - Found and added
'Exc...@lab.mycompany.com' as an ExchangeUser.
2008-11-21 07:54:09,376 [8668] INFO
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
LookupFreeBusyTimes - Total Execution Time: 3047 ms.
2008-11-21 07:54:09,657 [AppointmentLookup] INFO
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
LoadAppointments - Total Execution Time: 3312 ms.
2008-11-21 07:54:09,657 [AppointmentLookup] INFO
Google.GCalExchangeSync.Library.AppointmentService - Appointments read
succesfully for 'Exc...@lab.mycompany.com', setting access level to
ReadAccess.
2008-11-21 07:54:09,719 [8668] INFO
Google.GCalExchangeSync.Library.ExchangeService - Merge Result of 0 +
Appointment 12 -> 0
2008-11-21 07:54:09,719 [8668] INFO
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
MergeFreeBusyWithAppointments - Total Execution Time: 31 ms.
2008-11-21 07:54:09,719 [8668] INFO
Google.GCalExchangeSync.Library.GCalFreeBusyResponse - GCal Free/Busy
response successfully generated.
Reply all
Reply to author
Forward
0 new messages