View Issue Details

IDProjectCategoryView StatusLast Update
0000885SOGoWeb Calendarpublic2012-02-08 20:11
Reporterraffael Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.2 
Summary0000885: Wrong freebusy url prevents use of Attendees in Web Interface
Description

When trying to add an Attendee to an event the web interface tries to post to a false freebusy url and gets an 404 Object not found. Because it also does that when storing the attendee information (press OK button) it does not work at all.

I assume this is only the case for special configuration of the SOGoUserSources. We are using the email address as username (UIDFieldName = mail)
sogod SOGoUserSources '(
{
CNFieldName = cn;
UIDFieldName = mail;
baseDN = "ou=employees,dc=xxx,dc=yy";
bindDN = "cn=sogo,dc=xxx,dc=xx";
bindFields = (
mail
);
bindPassword = xxxxxxxxxxxx;
canAuthenticate = YES;
encryption = STARTTLS;
hostname = xxx.yy;
id = logins;
isAddressBook = NO;
port = 389;
},

In this example the DN of the user is uid=abc,ou=employees,dc=xxx,dc=yy and his mail field is abc@xxx.yy.
so the freebusy url for user abc@xxx.yy should be
https://xxx.yy/SOGo/so/abc@xxx.yy/freebusy.ifb/

but when selecting an attendee there is an ajax post to
https://xxx.yy/SOGo/so/abc/freebusy.ifb/ajaxRead

I think that for composing the url the uid is used instead of whats configured in UIDFieldName, which is in most cases the same i guess.

TagsNo tags attached.

Activities

wsourdeau

wsourdeau

2010-10-07 14:10

viewer   ~0001551

The bug likely comes from the configuration of your LDAP source. The "CNFieldName" is used to define the field where the "full name" can be found. Most of the time this is either "cn" or "displayName". The "UIDFieldName" represents the field where the user id can be found. Therefore in your case it should be "cn".

raffael

raffael

2010-10-07 14:41

reporter   ~0001554

Hi,
I don't think, that UIDFieldName = cn is going to work, but i can't test it right now.
In our LDAP Structure it is so that cn holds the full name ("Raffael Bachmann" in my case) and mail holds the email address (raffael.bachmann@xxx.yy for me).
My LDAP entry is located at uid=raffael,ou=employees,dc=xxx,dc=yy.
Because our mailserver needs the full email address as login name i configured SOGo to do the same. Thats why i have UIDFieldName = mail.
Almost everything works fine like that. My freebusy url is https://xxx.yy/SOGo/so/raffael.bachmann@xxx.yy/freebusy.ifb but the attendee web interface tries to do an ajax post to https://xxx.yy/SOGo/so/raffael/freebusy.ifb/ajaxRead.
So somehow it takes the value of the LDAP uid field for composing the url instead of the LDAP mail field.

wsourdeau

wsourdeau

2010-10-29 20:51

viewer   ~0001671

Note that you can use "SOGoForceIMAPLoginWithEmail" instead and use read user ids instead of indirect binds to achieve the same thing

ludovic

ludovic

2012-02-08 20:11

administrator   ~0003391

No feedback provided in more than a year, closing. Reopen if necessary.

Issue History

Date Modified Username Field Change
2010-10-05 18:42 raffael New Issue
2010-10-07 14:10 wsourdeau Note Added: 0001551
2010-10-07 14:41 raffael Note Added: 0001554
2010-10-29 20:51 wsourdeau Note Added: 0001671
2012-02-08 20:11 ludovic Note Added: 0003391
2012-02-08 20:11 ludovic Status new => closed
2012-02-08 20:11 ludovic Resolution open => fixed