Hey guys,

I have been working on Sogo + Funambol for a while to setup a
multi-domains groupware. It took quite some fiddling to get everything
working but it is working very well, congrats on a great software !

I am having trouble testing resource booking though, here are the steps
I follow :

1. Create a new event
2. Add the meeting room to the attendees list
Logs shows a 200 on the free/busy calendar :

10.10.0.5 - - [14/Sep/2011:12:14:29 GMT] "POST
/SOGo/so/[email protected]/freebusy.ifb/ajaxRead?sday=20110907&eday=20110921
HTTP/1.1" 200 52/0 0.012 2879 98% 0

3. Click save and receive this error in the log :

Sep 14 12:14:34 sogod [27421]: [ERROR]
<0x086CA478[SOGoAppointmentObject]:6B1D-4E709A80-1-648E7800.ics> Did not
find folder of content object.

4. I receive the email notification which shows that meetingroom has
indeed auto-accepted my invitation.

5. Create a new event and invite meetingroom again -> no more error
message but the free/busy information shows only free time.

Checking the DB log shows that Sogo is trying to query sogo_folder_info
for user meetingroom but there is no record corresponding.

If I add a password to the LDAP object and login with meetingroom, it
creates its tables and the free/busy information are correctly shown but
when trying to double book I receive the regular warning message that
the user is busy, not "Maximum number of simultaneous bookings reached
for resource".

Looking at the code of SOGoAppointmentObject.m it seems that Sogo
correctly detects that it is a resource but fails to create the calendar.

Details on my config :
* Debian Squeeze 32bits
* Sogo 1.3.8
* Resource :
    dn: uid=meetingroom,ou=users,dc=mydomain,dc=ltd
    objectClass: inetOrgPerson
    objectClass: organizationalPerson
    objectClass: person
    objectClass: top
    objectClass: CalendarResource
    objectClass: calEntry
    cn: Big Meetingroom
    sn: Meetingroom
    displayName: Example Big Meetingroom
    givenName: Big
    Kind: location
    mail: [email protected]
    Multiplebookings: 1
    uid: [email protected]
* Relevant part of GNUStep config :
<key>SOGoUserSources</key>
<array>
    <dict>
        <key>MultipleBookingsFieldName</key>
        <string>Multiplebookings</string>
        <key>KindFieldName</key>
        <string>kind</string>
        <key>CNFieldName</key>
        <string>cn</string>
        <key>IDFieldName</key>
        <string>uid</string>
        <key>IMAPHostFieldName</key>
        <string>mailHost</string>
        <key>UIDFieldName</key>
        <string>uid</string>
        <key>baseDN</key>
        <string>ou=users,dc=mydomain,dc=tld</string>
        <key>bindDN</key>
        <string>cn=admin,dc=mydomain,dc=tld</string>
        <key>bindPassword</key>
        <string>secret</string>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Users</string>
        <key>hostname</key>
        <string>127.0.0.1</string>
        <key>id</key>
        <string>domain1-users</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>port</key>
        <string>389</string>
    </dict>
* I am using emails in UIDs but I tried without and the behaviour stays
the same.

Any help appreciated.
Thanks
Letic

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to