[SOGo] Add shared addressbook with sogo-tool

2013-01-30 Thread Julien Escario

Hello,
Is there a way to add a shared address book (from the user contact in my case) 
to a list of users ?
I could script it around sogo-tool but can't find the right setting to modify 
for this.


$ sogo-tool user-preferences get settings my.user Calendar
Jan 30 04:44:45 sogo-tool [9319]: 0x0xdde220[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Jan 30 04:44:45 sogo-tool [9319]: 0x0xdde220[SOGoCache] Using host(s) 
'127.0.0.1' as server(s)
2013-01-30 04:44:46.035 sogo-tool[9319] Value for key Calendar not found in 
settings


But this user already have a personnel AND a shared address book.

Any idea for me ?

Thank you,
Julien Escario
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] samba dies with outlook 2012 [and 2010]

2013-01-30 Thread Marco Coli

Il 29/01/2013 19:14, Ludovic Marcotte ha scritto:

On 29/01/13 09:54, Marco Coli wrote:
/usr/sbin/samba: Uncaught exception NSInvalidArgumentException, 
reason: Tried to add nil to array 
Install the SOGo/SOPE/GNUstep debugging packages, run samba inside gdb 
using a single process, set a breakpoint on 'raise' and produce a nice 
looking stacktrace.




Ok, I'll provide this data asap
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Hot to set sogo-integrator.autocomplete.server.urlid

2013-01-30 Thread Alessio Cecchi

Il 29/01/2013 15:40, Alessio Cecchi ha scritto:

Hi,

the guide for the customization of Thunderbird integrator said to

... change the value of the sogo-integrator.autocomplete.server.urlid
preference from defaults/preferences/site.js to match the identifier of
your SOGoUserSources.

$ defaults read sogod SOGoUserSources
sogod SOGoUserSources '(
 {
 DomainFieldName = domain;
 canAuthenticate = YES;
 displayName = Corporate Addresses;
 id = users;
 isAddressBook = YES;
 type = sql;
 userPasswordAlgorithm = md5-crypt;
 viewURL = mysql://sogo-ro:XX@127.0.0.1:3306/vmail/sogo_users;
 }
)'

The default is

pref(sogo-integrator.autocomplete.server.urlid, public);

How do I set it in my case?


I set it to users (id = users).

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo + External E-Mail Service + Different Password

2013-01-30 Thread Alessio Fattorini

Il 18/11/2010 21:25, Ludovic Marcotte ha scritto:

Hi Ludovic,


One thing we could eventually support is an IMAP-based authentication
source, something like:

...

 type = imap;
 hostname = imap://imap.inverse.ca;
 canAuthenticate = YES;
 }
)'

This should be quite easy to add.


We need this, how much work do you estimate?
Is there any possibility to see this in the next version?
Thanks

--
Alessio Fattorini

Nethesis srl
Via degli Olmi 12 - 61122 Pesaro PU
tel. +39 0721 405516 - fax +39 0721 268147
http://www.nethesis.it - suppo...@nethesis.it
http://blog.nethesis.it
http://www.facebook.com/nethesis
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo + External E-Mail Service + Different Password

2013-01-30 Thread Igor Vitorac
This is something very interesting and useful. I have seen this in few 
apps that we use e.g. Moodle


Regards,
Igor


Alessio Fattorini wrote, On 30/01/2013 14:32:

Il 18/11/2010 21:25, Ludovic Marcotte ha scritto:

Hi Ludovic,


One thing we could eventually support is an IMAP-based authentication
source, something like:

...

 type = imap;
 hostname = imap://imap.inverse.ca;
 canAuthenticate = YES;
 }
)'

This should be quite easy to add.


We need this, how much work do you estimate?
Is there any possibility to see this in the next version?
Thanks



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Web interface Login Failure for some Accounts

2013-01-30 Thread Christian Mack
Am 2013-01-29 23:30, schrieb was.besseres.g...@gmx.net:
 Every time i try to log in via Web Interface with certain users.
 ... 
 First Auth attempt works
 Jan 29 23:06:46 sogod [15880]: 0x0x2ab99fc420c8[NGLdapConnection]
 Using ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
 2013-01-29 23:06:46.753 sogod[15880] -[NGLdapConnection
 _searchAtBaseDN:qualifier:attributes:scope:]: search with at base
 filter  for attrs `h
 1.19.158.172 - - [29/Jan/2013:23:06:46 GMT] POST /SOGo/connect
 HTTP/1.1 200 27/74 0.023 - - 0
 Jan 29 23:06:47 sogod [15880]: 0x0x2ab99f1b13d8[NGLdapConnection]
 Using ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
 Jan 29 23:06:47 sogod [15880]: 0x0x2ab99f13acd8[LDAPSource]
 NSException: 0x2ab99fb50df8 NAME:LDAPException REASON:operation bind
 failed: Invalid credentials (0x31) INFO:{login =
 uid=some,dc=where,dc=de; }
 Jan 29 23:06:47 sogod [15880]:
 0x0x2ab99f1b4e38[SOGoWebAuthenticator] tried wrong password for user
 'zjWxFWqXYqq73sXtuvpkJXtSWLejQwwWH9PnUe4Ahb9SwY61eb/Fn/h1IxwISRHjEm6eEfZUPZexRhL2WnQ5oQ=='!

 Then something goes wrong. I dont even know where this strange string
 comes from.
 31.19.158.172 - - [29/Jan/2013:23:06:47 GMT] GET /SOGo/s...@where.de
 HTTP/1.1 200 4358/0 0.019 12340 64% 0
 
 Then out of nowhere after several serial attempts (around 4 or 5) the
 login works and the log shows this.
 ... 
 What could be wrong? Why is this phenomen only occurring for certain users?
 
 Auth source is ldap which is working fine with dovecot alone and with
 the tb integration. Only the web interface seems to fuzz around.
 

What SOGo and SOPE Versions do you have installed?

I once hat a similar problem on a test machine where SOGo and SOPE
versions didn't match.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Add shared addressbook with sogo-tool

2013-01-30 Thread Christian Mack
Am 2013-01-30 10:59, schrieb Julien Escario:
 Hello,
 Is there a way to add a shared address book (from the user contact in my
 case) to a list of users ?
 I could script it around sogo-tool but can't find the right setting to
 modify for this.
 
 $ sogo-tool user-preferences get settings my.user Calendar
 Jan 30 04:44:45 sogo-tool [9319]: 0x0xdde220[SOGoCache] Cache cleanup
 interval set every 300.00 seconds
 Jan 30 04:44:45 sogo-tool [9319]: 0x0xdde220[SOGoCache] Using host(s)
 '127.0.0.1' as server(s)
 2013-01-30 04:44:46.035 sogo-tool[9319] Value for key Calendar not
 found in settings
 
 But this user already have a personnel AND a shared address book.
 
 Any idea for me ?
 

This information is not part of neither defaults nor settings.

Just make a backup with sogo-tool of an user and look at it.
You then can modify it.
Then remove the user and restore him with the modified backup.
Be aware the User should not change anything in his account at that
time, or this change will be lost!


But I would just use a super user account.
They are set in defaults at SOGoSuperUsernames.
Login to the web interface of this super user and use the menu
Administration.
Search there after the owner of the address book.
Click at the plus sign in front of the owners name.
Choose the address book to share.
Double click on this chosen address book.
Add the users in order to share it with them.
Double click on each user one after the other and set the appropriate
privileges.
Then set the mark on Subscribe user for all of them.


Kind regards,
Christian Mack
-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange 2.0 QUADRANT Released!

2013-01-30 Thread Sean M. Pappalardo

Hello again.

I just tried doing a fresh OpenChange install on Debian Squeeze x86 and 
got this:


Failed to fetch 
http://inverse.ca/debian/pool/squeeze/t/tdb/libtdb1_1.2.10-2_i386.deb 
Size mismatch
Failed to fetch 
http://inverse.ca/debian/pool/squeeze/t/tevent/libtevent0_0.9.17-1_i386.deb 
 Size mismatch
Failed to fetch 
http://inverse.ca/debian/pool/squeeze/l/ldb/libldb1_1.1.13-1_i386.deb 
Size mismatch
Failed to fetch 
http://inverse.ca/debian/pool/squeeze/l/ldb/python-ldb_1.1.13-1_i386.deb 
 Size mismatch
Failed to fetch 
http://inverse.ca/debian/pool/squeeze/t/tdb/python-tdb_1.2.10-2_i386.deb 
 Size mismatch
Failed to fetch 
http://inverse.ca/debian/pool/squeeze/t/tdb/tdb-tools_1.2.10-2_i386.deb 
 Size mismatch



Am I doing something wrong?

Sincerely,
Sean M. Pappalardo
Sr. Networks Engineer
Renegade Technologies
spappala...@renegadetech.com
http://www.renegadetech.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] OpenChange 2.0 QUADRANT Released!

2013-01-30 Thread Sean M. Pappalardo
Crap, disregard... My caching Debian package server still had stuff from 
experimental in it. Purging that fixed the problem.


Sorry for the noise.

Sincerely,
Sean M. Papalardo



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] SOGo Web interface Login Failure for some Accounts

2013-01-30 Thread was.besseres.g...@gmx.net

What SOGo and SOPE Versions do you have installed?

It is a CentOS and it is the current version via yum update
sogo-2.0.4-1.centos6-x86_64
sope49-mime-4.9-20130125_1664.el6.1-x86_64
sope49-core-4.9-20130125_1664.el6.1-x86_64
sope49-gdl1-contentstore-2.0.4-1.centos6-x86_64
sope49-ldap-4.9-20130125_1664.el6.1-x86_64
sope49-gdl1-postgresql-4.9-20130125_1664.el6.1-x86_64
sope49-sbjson-2.3.1-20130125_1664.el6.1-x86_64
sope49-cards-2.0.4-1.centos6-x86_64
sope49-xml-4.9-20130125_1664.el6.1-x86_64
sope49-appserver-4.9-20130125_1664.el6.1-x86_64
sope49-gdl1-4.9-20130125_1664.el6.1-x86_64

So, i changed the Password (directly via ldap) of the users which were 
malfunctioning to some short and now i have a contingency:
EVERY Password exceeding 11 chars reproduces this strange behavior of 
the Web interface for any user. Now that is some funny stuff.

Every time i get a
Jan 30 17:44:48 sogod [29950]: 
0x0x2ba843ec0668[SOGoWebAuthenticator] tried wrong password for user 
'R7Ljgln4Hf/1aMGXjyubSp1daGfPXfd0VyDGlubGn7VeNmXnsPteFbluGAHWokN8g6s/x6f79c4drqkLbcPwAw=='!



Shouldn't there be a real user name and not some b64enc Binary?

mfg Hagen
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Web interface Login Failure for some Accounts

2013-01-30 Thread Christian Mack
Hello Hagen


Am 2013-01-30 17:48, schrieb was.besseres.g...@gmx.net:
 What SOGo and SOPE Versions do you have installed?
 It is a CentOS and it is the current version via yum update
 sogo-2.0.4-1.centos6-x86_64
 sope49-mime-4.9-20130125_1664.el6.1-x86_64
 sope49-core-4.9-20130125_1664.el6.1-x86_64
 sope49-gdl1-contentstore-2.0.4-1.centos6-x86_64
 sope49-ldap-4.9-20130125_1664.el6.1-x86_64
 sope49-gdl1-postgresql-4.9-20130125_1664.el6.1-x86_64
 sope49-sbjson-2.3.1-20130125_1664.el6.1-x86_64
 sope49-cards-2.0.4-1.centos6-x86_64
 sope49-xml-4.9-20130125_1664.el6.1-x86_64
 sope49-appserver-4.9-20130125_1664.el6.1-x86_64
 sope49-gdl1-4.9-20130125_1664.el6.1-x86_64
 

These are OK.


 So, i changed the Password (directly via ldap) of the users which were
 malfunctioning to some short and now i have a contingency:
 EVERY Password exceeding 11 chars reproduces this strange behavior of
 the Web interface for any user. Now that is some funny stuff.
 Every time i get a
 Jan 30 17:44:48 sogod [29950]:
 0x0x2ba843ec0668[SOGoWebAuthenticator] tried wrong password for user
 'R7Ljgln4Hf/1aMGXjyubSp1daGfPXfd0VyDGlubGn7VeNmXnsPteFbluGAHWokN8g6s/x6f79c4drqkLbcPwAw=='!


 Shouldn't there be a real user name and not some b64enc Binary?
 

I would suggest to open a bug report at http://www.sogo.nu/bugs for this.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Connection/Auth/Session problems

2013-01-30 Thread Christian Mack
Hello Maik Derstappen


Am 2013-01-28 11:10, schrieb Maik Derstappen:
 Am 24.01.2013 14:01, schrieb Christian Mack:

 Am 2013-01-24 13:12, schrieb Maik Derstappen:

 i'm running SOGo 2.0.3a-1 on Debian and the user are in a PosgreSQL
 database.
 This works fine, but after sometimes the user is silently logged out
 from the web UI.
 Also Calendarclients like Thunderbird or ical ask sometimes for login
 date, although the login date are saved in the application.
 I can't find anything in the sogo logfiles thats related to this problem.

 has anyone such problems?

 Have you set a valid OCSSessionsFolderURL ?
 If you have not set this, then you always will be thrown out after the
 time set for SOGoCacheCleanupInterval .
 That's because you don't have sessions then, just caching.
 this is set:
 
 keyOCSSessionsFolderURL/key
 
 stringpostgresql://sogo:xxx@127.0.0.1:5432/sogo/sogo_sessions_folder/string
 

Is the passwort, server and port correct ?
If not, correct it.

Can you select from sogo_session_folder with this above settings ?

If not, drop that table, it only contains session infos, so don't worry.
SOGo will create it anew on startup.


 What value have you set for the cronjob /usr/sbin/sogo-tool
 expire-sessions and is it active?
 If active the value after expire-sessions will determine your maximum
 idle time for a session in minutes.

 this cronjob was not active, so i think this couldn't be the problem right?

As it wasn't active, it doesn't invalidate sessions (obviously :-).

 Now i have activate the cronjob but the same problem occurs.
 
 The logout is not always after the same time and the problem with
 thunderbird is more like it could not start a new connection after
 restarting the program. But this problem in thunderbird occurs mostly,
 when i start it on next day, but not when i close and start it again.
 

Do you shutdown your client machine or send it to hibernation?

I had problems with that after wakeup on one windows machine.


 Today i had to put in my password 6 times into Thunderbird, befor it
 works and in my SOGo log files i saw this:
 
 127.0.0.1 - - [28/Jan/2013:10:50:30 GMT] OPTIONS
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 200 0/0 0.010
 - - 0
 Jan 28 10:50:30 sogod [3261]: 0x0xb81f4518[SOGoDAVAuthenticator] got
 malformed basic credentials!
 127.0.0.1 - - [28/Jan/2013:10:50:30 GMT] OPTIONS
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 401 27/0 0.012
 - - 0
 Jan 28 10:50:30 sogod [3262]: 0x0xb81f49c0[SOGoDAVAuthenticator] got
 malformed basic credentials!
 127.0.0.1 - - [28/Jan/2013:10:50:30 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 401 27/98
 0.011 - - 0
 Jan 28 10:50:30 sogod [3262]: 0x0xb81f49c0[SOGoDAVAuthenticator] got
 malformed basic credentials!
 127.0.0.1 - - [28/Jan/2013:10:50:30 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 401 27/98
 0.002 - - 0
 Jan 28 10:52:05 sogod [3261]: 0x0xb81f4518[SOGoDAVAuthenticator] got
 malformed basic credentials!
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 401 27/98
 0.001 - - 0
 Jan 28 10:52:05 sogod [3261]: 0x0xb81f4518[SOGoDAVAuthenticator] got
 malformed basic credentials!
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 401 27/98
 0.006 - - 0
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] OPTIONS
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 200 0/0 0.024
 - - 0
 Jan 28 10:52:05 sogod [3262]: 0x0xb82b1b18[SoWebDAVRenderer] got bogus
 port information from webserver: mailcenter.inqbus.de
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 207 349/98
 0.006 - - 0
 Jan 28 10:52:05 sogod [3261]: 0x0xb82c2ef8[SoWebDAVRenderer] got bogus
 port information from webserver: mailcenter.inqbus.de
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 207 349/98
 0.004 - - 0
 Jan 28 10:52:05 sogod [3261]: 0x0xb82c2ef8[SoWebDAVRenderer] got bogus
 port information from webserver: mailcenter.inqbus.de
 127.0.0.1 - - [28/Jan/2013:10:52:05 GMT] PROPFIND
 /SOGo/dav/maik.derstappen%40inqbus.de/Calendar/ HTTP/1.0 207 349/98
 0.004 - - 0
 

I never saw that in my logs before.
Seems to me that your webserver is sending invalid data to sogo.
But if it did, then you should not be able to login at all.
Weired.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] ANN: SOGo 2.0.4a

2013-01-30 Thread Francis Lachapelle
Hi

We just released a minor update (2.0.4a) with some enhancements and bug fixes:

Enhancements

 - updated Czech translation
 - birthday is now properly formatted in addressbook module

Bug fixes

 - fixed handling of groups with spaces in their UID
 - fixed possible infinite loop in repeatable object
 - fixed until date in component editor
 - fixed saving all-day event in appointment editor
 - fixed handling of decoding contacts UID
 - fixed support of GNUstep 1.20 / Debian Squeeze

See http://www.sogo.nu/bugs/changelog_page.php?project_id=1 for closed tickets 
and github.com for the complete change log:

 - https://github.com/inverse-inc/sogo/commits/SOGo-2.0.4a
 - https://github.com/inverse-inc/sope/commits/SOPE-2.0.4a


Francis-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Add shared addressbook with sogo-tool

2013-01-30 Thread Julien Escario
Le 30/01/2013 15:49, Christian Mack a écrit :

 But I would just use a super user account.
 They are set in defaults at SOGoSuperUsernames.
 Login to the web interface of this super user and use the menu
 Administration.
 Search there after the owner of the address book.
 Click at the plus sign in front of the owners name.
 Choose the address book to share.
 Double click on this chosen address book.
 Add the users in order to share it with them.
 Double click on each user one after the other and set the appropriate
 privileges.
 Then set the mark on Subscribe user for all of them.

Thanks you very much for such a detailed explanation !
This this something interesting but not exactly what I want, lemme explain :
I have DOZEN of accounts to create. Every account use a shared address
book of the first one (which is contact, already created).
To speed up my user creation, I would like to subscribe a list of
something like hundred accounts in the blink of an eye.


I'll try with the idea of backup/restore.

Thank your again,
Julien Escario
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Web interface Login Failure for some Accounts

2013-01-30 Thread was.besseres.g...@gmx.net

I would suggest to open a bug report at http://www.sogo.nu/bugs for this.


Which i did.
http://www.sogo.nu/bugs/view.php?id=2212

mfg Hagen

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] BTS activities for Wednesday, January 30 2013

2013-01-30 Thread SOGo reporter
Title: BTS activities for Wednesday, January 30 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Wednesday, January 30 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2201
	2013-01-30 11:17:28
	updated (open)
	Backend Address Book
	Shared address book and carddav
	
	  
	
2205
	2013-01-30 17:05:33
	updated (open)
	Backend Address Book
	special chars in vcards are html encoded with html entities 

[SOGo] useless .GNUstepDefaults ?

2013-01-30 Thread Jean-Michel OLTRA

Bonjour,


I made a new install of version 2.0.4a last night. And spent some time
searching why SOGo was not working as expected.

The .GNUstepDefaults file seems to be ignored in Debian Squeezy, and the
configuration file is now required in /etc/sogo/sogo.conf

Feature for new installs? Debian specific feature?

Thanks.

-- 
jm

-- 
users@sogo.nu
https://inverse.ca/sogo/lists