On 18/10/2018 05:48, Sven Schwedas ([email protected]) wrote:
On 2018-10-17 18:54, Andrei Goldchleger ([email protected]) wrote:
Hi,

Is it possible to update (Create/Modify) global addressbook entries
stored in LDAP via carddav? I noticed that I can update the personal
contacts book just fine, but when trying to update a global addressbook
nothing happens, although I see in the logs that SOGo is tryinbg to do
something.
It's disabled on SOGo's side unless you configure the "modifiers"
setting. And ACLs on the LDAP side still apply.
Thank you. I added the following to my SogoUserSource:

modifiers = ("[email protected]");
objectClasses = ("inetOrgPerson");

"[email protected]" being the user login. I noticed that now the web interface shows the add/delete/modify controls in the given addressbook. I tried the three operations:

Add does nothing to the book and somehow reverts the selected address book to "Personal Address book"

Delete shows a small "Not Found" notification in the upper right corner, and a dialog stating that "
An error occurred while deleting the card "<DISPLAY_NAME>".

In sogo log I see this:

2018-10-18 18:54:26.205 sogod[13528:13528] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=global-addressbook,dc=example,dc=com' filter '(cn=batchDelete)' for attrs '*'

Update just shows the small "Request Failed" notification in the upper right corner. In the log file I see:

2018-10-18 19:05:18.694 sogod[13528:13528] EXCEPTION: <NSException: 0x55f4739adda0> NAME:NSInvalidArgumentException REASON:Can not determine type information for -[NSDataMalloc count] INFO:(null)

Also, I tried the operations directly on LDAP using the same LDAP user stated in bindDN. They work fine, so I imagine that the ACLs are OK.

Is there anything I should look into? Maybe I am missing something.

Thanks,

Andrei
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to