Re: [SOGo] Global addressbook update via carddav?
On 18/10/2018 05:48, Sven Schwedas (sven.schwe...@tao.at) wrote: On 2018-10-17 18:54, Andrei Goldchleger (agoldchle...@vbtec.com.br) 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 = ("book-edi...@example.com"); objectClasses = ("inetOrgPerson"); "book-edi...@example.com" 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 "". 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: 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 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global addressbook update via carddav?
On 2018-10-17 18:54, Andrei Goldchleger (agoldchle...@vbtec.com.br) 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. -- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas, Systemadministrator ✉ sven.schwe...@tao.at | ☎ +43 680 301 7167 TAO Digital | Teil der TAO Beratungs- & Management GmbH Lendplatz 45 | FN 213999f/Klagenfurt, FB-Gericht Villach A8020 Graz| https://www.tao-digital.at signature.asc Description: OpenPGP digital signature
Re: [SOGo] Global Addressbook
Exactly, thanks you I'm not using ldap adressbook, so i've just delete the line and turn ldap_2.autoComplete.useDirectory to false in sogo-integrator.js. For the calendar, I've already delete it, but doing this for all users is another thing :D *De:* Ludovic Marcotte lmarco...@inverse.ca *Envoyé :* 10/29/2010 3:04:38 AM +0200 *Objet :* [SOGo] Global Addressbook On 10-10-28 12:31 PM, benoit gautier wrote: I've the same problem with the last ZEG and plugins version (dl from website). all my address book are here and there is this empty public ldap address book. If a public address book appears for no good reason, that's because the SOGo Integrator site.js sogo-integrator.autocomplete.server.urlid preference value does not match what you've specified in your .GNUstepDefaults as the source's ID. Likely sogo-integrator.autocomplete.server.urlid points to a non-existent source. As for deleting it, you can't from Thunderbird directly. It's a bug in Thunderbird. You can wipe it by modifying your prefs.js file from your Thunderbird profile. same for calendars, there is a home one. You can safely delete that if you want - Lightning automatically add this when first started. Regards, -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 ::www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
Hi, I've the same problem with the last ZEG and plugins version (dl from website). all my address book are here and there is this empty public ldap address book. same for calendars, there is a home one. *De:* M. Stoffers m.stoff...@web.de *Envoyé :* 09/22/2010 11:26:12 AM +0200 *Objet :* [SOGo] Global Addressbook On 09/21/2010 08:41 PM, Ludovic Marcotte wrote: On 21/09/10 9:47 AM, M. Stoffers wrote: Followed your suggestion book 1. and 3. have vanished now - Yet, the public book mentioned in point 4 is still there, and the personal is still named personal :( That should now be fixed in the extensions that were released a couple of hours ago. Regards, Hm, I guess your were only talking about the name synching of the personal address book? That is solved and I'm happy about that ;) Yet, the address book public is still there and not deletable (cannot delete common address book) :( (SOGo v1.3.2, extensions from yesterday, new TB profile) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. On Tue, Sep 21, 2010 at 10:21:28AM +0200, M. Stoffers wrote: On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
Ok, that makes sense. So I would like to hide the user list from the users as it even does not show any users at all. So I think it would just confuse them if there is an empty address book. I set is addressBook = NO; and restarted sogod. In the web interface there is only the personal address book left what's exactly what I expected. However, in TB there are still four address books: 1. This global one - Trying to delete, it tells me, I could not delete the common address book. 2. personal - Synched to the personal address book in the web interface, but named differently. However, I can change the name, but I cannot use German umlauts (err 400) - Yet additional adressbooks are even synched in name. Can I somehow synch the name of the personal address book, too? 3. public - If I klick delete, it asks for confirmation, but doesn't do anything after confirmation 4. public - Trying to delete, it tells me, I could not delete the common address book. It would be nice if I could somehow make 1., 3. and 4. vanish and synch the names of 2. as my user's wouldn't appreciate confusing address books ;) Thanks Mirko On 09/21/2010 12:14 PM, Mark Adams wrote: It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. On Tue, Sep 21, 2010 at 10:21:28AM +0200, M. Stoffers wrote: On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
Didn't get you. What is corret? What is not? Can you provide an example? On 09/21/2010 12:32 PM, Stefano Zamboni wrote: Il giorno mar, 21/09/2010 alle 11.14 +0100, Mark Adams ha scritto: It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. can I ask you (all, not Mark) to quote correctly the messages? in this case is difficult to follow the discussion for me TIA Stefano -- users@sogo.nu https://inverse.ca/sogo/lists
R: Re: [SOGo] Global Addressbook
- Messaggio originale - Da: M. Stoffers m.stoff...@web.de Inviato: martedì 21 settembre 2010 13.30 A: users@sogo.nu Oggetto: Re: [SOGo] Global Addressbook Didn't get you. What is corret? What is not? Can you provide an example? Please take a look here: http://pub.tsn.dk/how-to-quote.php Thank you I'm italian, english sometime is hard enough to understand for me.. And this way of answering to messages makes it harder Thank you again Ciao Stefano -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
If your having trouble with Tbird I would suggest recreating the profile. If it corrects the issue you could try narrowing down the cause further if it occurred again. Regards, Mark On 21 Sep 2010, at 11:59, M. Stoffers m.stoff...@web.de wrote: Ok, that makes sense. So I would like to hide the user list from the users as it even does not show any users at all. So I think it would just confuse them if there is an empty address book. I set is addressBook = NO; and restarted sogod. In the web interface there is only the personal address book left what's exactly what I expected. However, in TB there are still four address books: 1. This global one - Trying to delete, it tells me, I could not delete the common address book. 2. personal - Synched to the personal address book in the web interface, but named differently. However, I can change the name, but I cannot use German umlauts (err 400) - Yet additional adressbooks are even synched in name. Can I somehow synch the name of the personal address book, too? 3. public - If I klick delete, it asks for confirmation, but doesn't do anything after confirmation 4. public - Trying to delete, it tells me, I could not delete the common address book. It would be nice if I could somehow make 1., 3. and 4. vanish and synch the names of 2. as my user's wouldn't appreciate confusing address books ;) Thanks Mirko On 09/21/2010 12:14 PM, Mark Adams wrote: It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. On Tue, Sep 21, 2010 at 10:21:28AM +0200, M. Stoffers wrote: On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
On 09/21/2010 02:12 PM, Stefano Zamboni wrote: - Messaggio originale - Da: M. Stoffersm.stoff...@web.de Inviato: martedì 21 settembre 2010 13.30 A: users@sogo.nu Oggetto: Re: [SOGo] Global Addressbook Didn't get you. What is corret? What is not? Can you provide an example? Please take a look here: http://pub.tsn.dk/how-to-quote.php Thank you I'm italian, english sometime is hard enough to understand for me.. And this way of answering to messages makes it harder Thank you again Ciao Stefano So you ask us to quote below, yes? Btw: The site says: As soon as you hit the reply button your mail application will most likely place before the original message. The purpose of these quotemarks is to let other readers know what has been said before. Please stick to that standard even if you know how to change it. Lots of newsreaders have very nice features that only work if is used. - This would have helped me to find your reply within your quote ;) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
Followed your suggestion book 1. and 3. have vanished now - Yet, the public book mentioned in point 4 is still there, and the personal is still named personal :( On 09/21/2010 03:09 PM, Mark Adams wrote: If your having trouble with Tbird I would suggest recreating the profile. If it corrects the issue you could try narrowing down the cause further if it occurred again. Regards, Mark On 21 Sep 2010, at 11:59, M. Stoffersm.stoff...@web.de wrote: Ok, that makes sense. So I would like to hide the user list from the users as it even does not show any users at all. So I think it would just confuse them if there is an empty address book. I set is addressBook = NO; and restarted sogod. In the web interface there is only the personal address book left what's exactly what I expected. However, in TB there are still four address books: 1. This global one - Trying to delete, it tells me, I could not delete the common address book. 2. personal - Synched to the personal address book in the web interface, but named differently. However, I can change the name, but I cannot use German umlauts (err 400) - Yet additional adressbooks are even synched in name. Can I somehow synch the name of the personal address book, too? 3. public - If I klick delete, it asks for confirmation, but doesn't do anything after confirmation 4. public - Trying to delete, it tells me, I could not delete the common address book. It would be nice if I could somehow make 1., 3. and 4. vanish and synch the names of 2. as my user's wouldn't appreciate confusing address books ;) Thanks Mirko On 09/21/2010 12:14 PM, Mark Adams wrote: It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. On Tue, Sep 21, 2010 at 10:21:28AM +0200, M. Stoffers wrote: On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
On 21.09.2010 15:09, Mark Adams wrote: If your having trouble with Tbird I would suggest recreating the profile. If it corrects the issue you could try narrowing down the cause further if it occurred again. I am seeing the same. The public address book is always displayed (even in new TB profiles). I have to mention that I always had is addressBook = NO in the sogo config. And also I get these in the sogo log: 127.0.0.1 - - [21/Sep/2010:15:49:23 GMT] REPORT /SOGo/dav/user/Contacts/public/ HTTP/1.1 404 48/340 0.083 - - 0 regards Christian -- Dr. Christian Naumer Senior Scientist Analytics Engineering B.R.A.I.N Aktiengesellschaft Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail c...@brain-biotech.de, homepage www.brain-biotech.de fon +49-6251-9331-30 / fax +49-6251-9331-11 Sitz der Gesellschaft: Zwingenberg/Bergstrasse Registergericht AG Darmstadt, HRB 24758 Vorstand: Dr. Holger Zinke (Vorsitz), Dr. Jürgen Eck Vorsitzender des Aufsichtsrats: Ulrich Putsch -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Global Addressbook
As mentioned: Yes, I can rename it, but: 1. I would prefer having it synched, s.t. its the same anywhere (if that's not possible, it's ok, but I would prefer it ;) ) 2. I cannot give it names containing German umlauts (= ERR 400). The latter also holds for other address books - but as they are synched I can solve this by renaming the address book via the web interface ;) - So a solution to 1. would provide me a workaround for 2. ;) On 09/21/2010 05:55 PM, Mark Adams wrote: You should be able to rename personal to whatever you want - does this not work? (should match web interface) On Tue, Sep 21, 2010 at 03:47:49PM +0200, M. Stoffers wrote: Followed your suggestion book 1. and 3. have vanished now - Yet, the public book mentioned in point 4 is still there, and the personal is still named personal :( On 09/21/2010 03:09 PM, Mark Adams wrote: If your having trouble with Tbird I would suggest recreating the profile. If it corrects the issue you could try narrowing down the cause further if it occurred again. Regards, Mark On 21 Sep 2010, at 11:59, M. Stoffersm.stoff...@web.de wrote: Ok, that makes sense. So I would like to hide the user list from the users as it even does not show any users at all. So I think it would just confuse them if there is an empty address book. I set is addressBook = NO; and restarted sogod. In the web interface there is only the personal address book left what's exactly what I expected. However, in TB there are still four address books: 1. This global one - Trying to delete, it tells me, I could not delete the common address book. 2. personal - Synched to the personal address book in the web interface, but named differently. However, I can change the name, but I cannot use German umlauts (err 400) - Yet additional adressbooks are even synched in name. Can I somehow synch the name of the personal address book, too? 3. public - If I klick delete, it asks for confirmation, but doesn't do anything after confirmation 4. public - Trying to delete, it tells me, I could not delete the common address book. It would be nice if I could somehow make 1., 3. and 4. vanish and synch the names of 2. as my user's wouldn't appreciate confusing address books ;) Thanks Mirko On 09/21/2010 12:14 PM, Mark Adams wrote: It's a list of all users on the server. It's not meant to be edited by users. If you want an office addressbook where all users can edit, create a seperate account and share that to everyone. On Tue, Sep 21, 2010 at 10:21:28AM +0200, M. Stoffers wrote: On 09/20/2010 08:30 PM, Jason Oster wrote: As far as I know, SOGo does not have the capability to write LDAP entries. (I am assuming your global address book is stored in LDAP, as my setup is.) This assumption doesn't hold :P - My user source is Postgres. However, there is this isAddressBook = YES; setting in my GNUStep user sources. Doesn't this imply that the user source is also a global address book for our company's client addresses? Probably, I haven't got it yet: The users can see an empty address book in Thunderbird and in the web interface. Nobody can add entries here. So: What is the purpose of this address book? Thanks Mirko On 09/20/2010 04:56 AM, M. Stoffers wrote: PS: Sorry, for the strange formatting. I did not set up my mail client till now for this freemail address and the webmail interface does strange things - I think is was better some decades ago :P On 09/20/2010 01:42 PM, Mirko Stoffers wrote: Hi community, so, now that E-Mail runs fine, I would like to setup the contacts component. All users can already see a global address book. However, there is no user able to insert cards into this address book: When I klick on New card the Add to drop down menu simply does not show the global address book. I would assume that by default no user has write permissions on that address book, right? However, how do I set those permissions? Thanks Mirko Btw: It's the same behaviour as in the demo. However, I thinks that it is intended for the demo? ___ GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt kostenlose Movie-FLAT freischalten! http://movieflat.web.de -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists