View Issue Details

IDProjectCategoryView StatusLast Update
0001937SOGoBackend Address Bookpublic2013-01-23 14:59
Reporterdledanseur Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
Summary0001937: Unable to subscribe to shared address book
Description

Here is the error appearing in logs :

Aug 14 10:28:35 sogod [19558]: |SOGo| starting method 'REPORT' on uri '/SOGo/dav/contact/'
Aug 14 10:28:35 sogod [19558]: <0x0x12937a0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Aug 14 10:28:35 sogod [19558]: <0x0x12937a0[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Aug 14 10:28:35 sogod [19558]: <<0x0x1334250[GCSFolder]>>D releasing channel: <0x0xfdffa0[PostgreSQL72Channel]: connection=<0x0xf3c610[PGConnection]: connection=0x0xfdef80>>
2012-08-14 10:28:35.969 sogod[19558] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter for attrs
2012-08-14 10:28:35.970 sogod[19558] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter for attrs
2012-08-14 10:28:35.978 sogod[19558] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter for attrs
EXCEPTION: <NSException: 0x13ef280> NAME:NSInvalidArgumentException REASON:GSCBufferString(instance) does not recognize count INFO:(nil)
Aug 14 10:28:36 sogod [15975]: <0x0xfd22e0[WOWatchDogChild]> child 19558 exited
Aug 14 10:28:36 sogod [15975]: <0x0xfd22e0[WOWatchDogChild]> (terminated due to signal 6)
Aug 14 10:28:36 sogod [15975]: <0x0xfd22e0[WOWatchDogChild]> avoiding to respawn child before 2012-08-14 10:28:40 +0200

Maybe this is related to 0001835, but I am not sure, so I opened a new bug

SOGO Version: 1.3.17

Tagsactive-directory, ldap, search, sogo-2.0

Activities

jtigges

jtigges

2012-09-28 18:35

reporter   ~0004597

Last edited: 2012-10-02 16:46

I have a possibly related issue: This instance of sogod 2.0.0 (release version) on centos 6.3 runs against a Win2k8r2 active directory. It authenticates fine, anyhow once i try to subscribe to another users adress book, calendar or write him an email, i.e. try to access resources from the configured shared addressbook I get the log entry

2012-09-28 20:29:35.170 sogod[6445] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter for attrs `
Sep 28 20:29:35 sogod [6445]: [ERROR] <0x0x28ecdb8[NGLdapAttribute]> cound not convert value of objectGUID to string
Sep 28 20:29:35 sogod [6445]: [ERROR] <0x0x28f1598[NGLdapAttribute]> cound not convert value of objectSid to string
2012-09-28 20:29:35.180 sogod[6445] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!!

as described above. I'ld expect to see the actual values beiing queried here. And more I'ld love to see that user search working as then I'ld be able to use it as groupware. Other than that I bug I am rather impressed up to now.

The defaults are configured as follows:

sogod SOGoSMTPServer smtpserver
sogod SOGoUserSources '(
{
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = userPrincipalName;
baseDN = "CN=Users,DC=test,DC=foo,DC=bar";
bindDN = "CN=ldapuser,CN=Users,DC=test,DC=foo,DC=bar";
bindFields = (
sAMAccountName,
userPrincipalName
);
bindPassword = password;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = "dc";
id = directory;
isAddressBook = YES;
port = 389;
type = ldap;
}
)'
sogod SOGoCacheCleanupInterval 10
sogod SearchFieldNames '(
sn,
displayName,
userPrincipalName,
telephoneNumber
)'
sogod SOGoIMAPServer imap://imapserver:143
sogod SOGoLanguage German
sogod OCSEMailAlarmsFolderURL mysql://sogo:sogo@mysql:3306/sogo/sogo_alarms_folder
sogod SOGoFirstDayOfWeek 1
sogod SOGoProfileURL mysql://sogo:sogo@mysql:3306/sogo/sogo_user_profile
sogod SOGoTimeZone Europe/Berlin
sogod SOGoFoldersSendEMailNotifications YES
sogod LDAPDebugEnabled YES
sogod SOGoForceIMAPLoginWithEmail YES
sogod SOGoMailingMechanism smtp
sogod OCSSessionsFolderURL mysql://sogo:sogo@mysql:3306/sogo/sogo_sessions_folder
sogod MailFieldNames '(
userPrincipalName
)'
sogod SOGoSuperUsernames '(
admin
)'
sogod SOGoMailDomain thedomain
sogod OCSFolderInfoURL mysql://sogo:sogo@mysql:3306/sogo/sogo_folder_info
sogod SOGoACLsSendEMailNotifications YES
sogod SOGoAppointmentSendEMailNotifications YES

The directory looks like a almost pristine Windows 2008r2 active directory domain services directory. No unix services installed, no extra OUs, no fancy attributes added, just a few users and groups.

  • Passwords and private domain parts have been exchanged for privacy reasons and are valid in the real installation. *
jtigges

jtigges

2012-10-08 09:00

reporter   ~0004615

Something that seemed to have had effect was raising the access rights of the bind user being used. In the first place it was a "Domain User" now it is a "Account Operator" and "Domain Admin".

The log still has the
"2012-09-28 20:29:35.170 sogod[6445] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter for attrs `"
log messages, anyhow now the users get shown on completion or in resource selection.

One odd thing though is: A few users are not searchable. There are for example "Test1" and "Test2" as well as "John Doe". "John Doe" is found, even substrings of it starting from three characters length, while any substring of "Test" ist not found. Debugging yields no logs on this.

wsourdeau

wsourdeau

2012-10-21 00:22

viewer   ~0004683

Can you retry with the next nightlies?

jtigges

jtigges

2012-10-21 11:00

reporter   ~0004688

Which of the claimed issues have been tackled, i.e. what should I look for while testing?
Are there any rpms (better: a repo) of the nightlies for CentOS 6?

wsourdeau

wsourdeau

2012-10-22 15:16

viewer   ~0004692

The issue in question would be the crash that occurs during addressbook subscription. Thus the issue that led to the opening of this bug report...

ludovic

ludovic

2012-11-18 16:26

administrator   ~0004888

Do you still have the crash with either 2.0.2a or a nightly build?

ludovic

ludovic

2013-01-23 14:59

administrator   ~0005248

No feedback provided in months, closing. Reopen if necessary, with the required answers/evidences.

Issue History

Date Modified Username Field Change
2012-08-14 08:33 dledanseur New Issue
2012-09-28 18:35 jtigges Note Added: 0004597
2012-09-28 18:36 jtigges Tag Attached: search
2012-09-28 18:36 jtigges Tag Attached: ldap
2012-09-28 18:37 jtigges Tag Attached: active-directory
2012-09-28 18:38 jtigges Tag Attached: sogo-2.0
2012-10-02 16:46 jtigges Note Edited: 0004597
2012-10-08 09:00 jtigges Note Added: 0004615
2012-10-21 00:22 wsourdeau Note Added: 0004683
2012-10-21 11:00 jtigges Note Added: 0004688
2012-10-22 15:16 wsourdeau Note Added: 0004692
2012-11-18 16:26 ludovic Note Added: 0004888
2013-01-23 14:59 ludovic Note Added: 0005248
2013-01-23 14:59 ludovic Status new => closed
2013-01-23 14:59 ludovic Resolution open => no change required