Hello,
I'm trying to setup a global addressbook with ldap backend. My User
source looks like this:
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=users,dc=global,dc=it-workbench,dc=com";
bindAsCurrentUser = YES;
displayName = "Shared Addresses";
filter = "( disabled=0 AND (egwUser=1 OR egwUser=2) )";
hostname = "ldap://192.168.12.135:389
ldaps://192.168.12.2:636";
id = public;
isAddressBook = YES;
canAuthenticate = NO;
type = ldap;
listRequiresDot = NO;
}
When using webinterface or thunderbird remote addressbook - everything
is fine, I can see the list. But when trying to connect to this same
point with MacOsX (10.12.6) Contacts.app via caldav, I constantly get my
private addressbook, not a global one. Sogo version were 3.2.6a and
3.2.10 with same effect. The connection url was
https://sogo.debug.wb/SOGo/dav/paul/Contacts/public/
The log looks like this:
Aug 14 18:23:22 sogod [4973]:|SOGo| starting method 'OPTIONS' on uri
'/SOGo/dav/paul/'
Aug 14 18:23:22 sogod [4973]:|SOGo| traverse: paul
Aug 14 18:23:22 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:22 sogod [4973]: <0x0x1c6a990[NGLdapConnection]> Using
ldap_initialize for LDAP URL:ldap://192.168.12.135:389 ldaps://192.168.12.2:636
Aug 14 18:23:22 sogod [4973]:|SOGo| traverse miss: name=paul: i=0,count=1
Aug 14 18:23:22 sogod [4973]:|SOGo| miss is last object.
Aug 14 18:23:22 sogod [4973]:|SOGo| handle miss error:
<SoAuthRequiredException: 0xfceea0> NAME:SoAuthRequired REASON:authentication
required
Aug 14 18:23:22 sogod [4973]:|SOGo| request took 0.004299 seconds to execute
Aug 14 18:23:22 sogod [4973]: <0x0x1c739f0[WOResponse]> Zipping of response
disabled
Aug 14 18:23:22 sogod [4973]: 127.0.0.1 "OPTIONS/SOGo/dav/paul/ HTTP/1.1" 401
0/0 0.005 - - 0
Aug 14 18:23:22 sogod [4973]:|SOGo| starting method 'OPTIONS' on uri
'/SOGo/dav/paul/'
Aug 14 18:23:22 sogod [4973]: <0x0xf58540[NGLdapConnection]> Using
ldap_initialize for LDAP URL:ldap://192.168.12.135:389 ldaps://192.168.12.2:636
Aug 14 18:23:22 sogod [4973]: <0x0x1026e20[NGLdapConnection]> Using
ldap_initialize for LDAP URL:ldap://192.168.12.135:389 ldaps://192.168.12.2:636
Aug 14 18:23:22 sogod [4973]:|SOGo| traverse: paul
Aug 14 18:23:22 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:22 sogod [4973]:|SOGo| set clientObject: <0x15e4f60[SOGoUserFolder]:
name=paul container=0x8e9380/(null)>
Aug 14 18:23:22 sogod [4973]:|SOGo| request took 0.004833 seconds to execute
Aug 14 18:23:22 sogod [4973]: <0x0x10f5480[WOResponse]> Zipping of response
disabled
Aug 14 18:23:22 sogod [4973]: 127.0.0.1 "OPTIONS/SOGo/dav/paul/ HTTP/1.1" 200
0/0 0.006 - - 0
Aug 14 18:23:22 sogod [4973]:|SOGo| starting method 'PROPFIND' on uri
'/SOGo/dav/paul/'
Aug 14 18:23:22 sogod [4973]:|SOGo| traverse: paul
Aug 14 18:23:22 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:22 sogod [4973]:|SOGo| set clientObject: <0x107f5d0[SOGoUserFolder]:
name=paul container=0x8e9380/(null)>
Aug 14 18:23:22 sogod [4973]: [obj-dav-dispatch] constructed root-url:
Aug 14 18:23:22 sogod [4973]:|SOGo| constructed root-url:/SOGo/
Aug 14 18:23:22 sogod [4973]:|SOGo| setting root-url in context:/SOGo/dav/
Aug 14 18:23:22 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:22 sogod [4973]: <0x107f5d0[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:22 sogod [4973]:|SOGo| request took 0.002774 seconds to execute
Aug 14 18:23:22 sogod [4973]: <0x0x113f840[WOResponse]> Zipping of response
disabled
Aug 14 18:23:22 sogod [4973]: 127.0.0.1 "PROPFIND/SOGo/dav/paul/ HTTP/1.1" 207
1542/439 0.004 - - 0
Aug 14 18:23:22 sogod [4973]:|SOGo| starting method 'PROPFIND' on uri
'/SOGo/dav/paul/Contacts/'
Aug 14 18:23:22 sogod [4973]:|SOGo| traverse: paul => Contacts
Aug 14 18:23:22 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:22 sogod [4973]:|SOGo| do traverse name: 'Contacts'
Aug 14 18:23:22 sogod [4973]:|SOGo| set clientObject:
<0x15a6440[SOGoContactFolders]: name=Contacts container=0x1c97e80/paul>
Aug 14 18:23:22 sogod [4973]: [obj-dav-dispatch] constructed root-url:
Aug 14 18:23:22 sogod [4973]:|SOGo| constructed root-url:/SOGo/
Aug 14 18:23:22 sogod [4973]:|SOGo| setting root-url in context:/SOGo/dav/
Aug 14 18:23:22 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:22 sogod [4973]: <0x1c97e80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:22 sogod [4973]:|SOGo| using root-url from context:/SOGo/dav/
Aug 14 18:23:22 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:22 sogod [4973]: <0x1c97e80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:22 sogod [4973]: <0x15a6440[SOGoContactFolders]:Contacts> baseURL:
name=Contacts (container=SOGoUserFolder)
Aug 14 18:23:22 sogod [4973]:|SOGo| request took 0.229346 seconds to execute
Aug 14 18:23:22 sogod [4973]: <0x0x1ca6b30[WOResponse]> Zipping of response
disabled
Aug 14 18:23:22 sogod [4973]: 127.0.0.1 "PROPFIND/SOGo/dav/paul/Contacts/
HTTP/1.1" 207 2788/717 0.230 - - 0
Aug 14 18:23:23 sogod [4973]:|SOGo| starting method 'PROPFIND' on uri
'/SOGo/dav/paul/Contacts/public/'
Aug 14 18:23:23 sogod [4973]:|SOGo| traverse: paul => Contacts => public
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'Contacts'
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'public'
Aug 14 18:23:23 sogod [4973]:|SOGo| set clientObject:
<0x15e7570[SOGoContactSourceFolder]: name=public container=0x113e420/Contacts>
Aug 14 18:23:23 sogod [4973]: [obj-dav-dispatch] constructed root-url:
Aug 14 18:23:23 sogod [4973]:|SOGo| constructed root-url:/SOGo/
Aug 14 18:23:23 sogod [4973]:|SOGo| setting root-url in context:/SOGo/dav/
Aug 14 18:23:23 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:23 sogod [4973]: <0x10cac80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:23 sogod [4973]:|SOGo| using root-url from context:/SOGo/dav/
Aug 14 18:23:23 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:23 sogod [4973]: <0x10cac80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:23 sogod [4973]: <0x113e420[SOGoContactFolders]:Contacts> baseURL:
name=Contacts (container=SOGoUserFolder)
Aug 14 18:23:23 sogod [4973]:|SOGo| using root-url from context:/SOGo/dav/
Aug 14 18:23:23 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:23 sogod [4973]: <0x10cac80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:23 sogod [4973]:|SOGo| using root-url from context:/SOGo/dav/
Aug 14 18:23:23 sogod [4973]:|SOGo| ROOT baseURL(no container, name=(null)):
Aug 14 18:23:23 sogod [4973]: <0x10cac80[SOGoUserFolder]:paul> baseURL:
name=paul (container=SOGo)
Aug 14 18:23:23 sogod [4973]: <0x113e420[SOGoContactFolders]:Contacts> baseURL:
name=Contacts (container=SOGoUserFolder)
Aug 14 18:23:23 sogod [4973]: <0x15e7570[SOGoContactSourceFolder]:public>
baseURL: name=public (container=SOGoContactFolders)
Aug 14 18:23:23 sogod [4973]:|SOGo| request took 0.004799 seconds to execute
Aug 14 18:23:23 sogod [4973]: <0x0x11b1b10[WOResponse]> Zipping of response
disabled
Aug 14 18:23:23 sogod [4973]: 127.0.0.1 "PROPFIND/SOGo/dav/paul/Contacts/public/
HTTP/1.1" 207 1365/717 0.006 - - 0
Aug 14 18:23:23 sogod [4973]:|SOGo| starting method 'REPORT' on uri
'/SOGo/dav/paul/Contacts/personal/'
Aug 14 18:23:23 sogod [4973]:|SOGo| traverse: paul => Contacts => personal
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'paul'
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'Contacts'
Aug 14 18:23:23 sogod [4973]:|SOGo| do traverse name: 'personal'
Aug 14 18:23:23 sogod [4973]:|SOGo| set clientObject:
<0x10b3f50[SOGoContactGCSFolder]: name=personal container=0x158edf0/Contacts
ocs=/Users/paul/Contacts/personal>
Aug 14 18:23:23 sogod [4973]:|SOGo| request took 0.135878 seconds to execute
Aug 14 18:23:23 sogod [4973]: <0x0x1591be0[WOResponse]> Zipping of response
disabled
Aug 14 18:23:23 sogod [4973]: 127.0.0.1 "REPORT/SOGo/dav/paul/Contacts/personal/
HTTP/1.1" 207 125/210 0.137 - - 0
--
С уважением, Момот Павел.
With kind regards, Momot Paul.
Mit freundlichen Grüßen, Momot Paul.
--
[email protected]
https://inverse.ca/sogo/lists