[SOGo] BTS activities for Tuesday, January 24 2012

2012-01-24 Thread SOGo reporter
Title: BTS activities for Tuesday, January 24 2012





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Tuesday, January 24 2012

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
1205
	2012-01-24 10:02:23
	updated (open)
	Backend Address Book
	update the vcard handling to VCARD 4 spec
	
	  
	
1601
	2012-01-24 07:04:07
	updated (open)
	Backend Calendar
	Nokia E63 and syncML, thunderbird doesn't visualize new event
	
	  
	
1602
	2012-01-24 11:09:31
	new (open)
	Backend General
	DAV should return "403 Forbidden" on PROPFIND with "Depth: Infinity" header
	
	  
	
1509
	2012-01-24 04:07:42
	updated (open)
	Web Preferences
	UIxPreferences.js, unable to save prefs
	
	  
	
  
  




Re: [SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException

2012-01-24 Thread Francis Lachapelle
Hi Rémi

On 2012-01-24, at 11:19 AM, Rémi Cailletaud wrote:

> I try to install SOGo 2.0 and face a strange error. The scenario is :
> 
> - fresh Debian Squeeze install ;
> - SOGo from inverse nightly repository ;
> - PGSQL ;
> - apache2.
> 
> - the source auth is an Active Directory :
> 
>SOGoUserSources = (
>{
>type = ldap;
>CNFieldName = cn;
>IDFieldName = cn;
>UIDFieldName = sAMAccountName;

Try setting IDFieldName to sAMAccountName.

>baseDN = "OU=Users,DC=domain,DC=local";
>bindDN = read@domain.local;
>bindPassword = "passwd";
>bindFields = (middleName);
>canAuthenticate = YES;
>displayName = "Domain";
>hostname = 194.254.65.56;
>id = DOMAIN;
>isAddressBook = YES;
>port = 389;
>   scope = sub;
>}
> 
> - some users cannot login. in fact, they can login, but sogo raises an
> exception. we tried to search if they have particular LDAP field, but
> nothing like that.
> 
> EXCEPTION:  NAME:NSInvalidArgumentException
> REASON:Tried to init array with nil object INFO:(nil)
> 
> - in same time, searching the address book if those users are in the
> ldap search scope does not work : same exception in Sogo log.
> 
> - putting these users out of ldap search scope make the address book
> functional...
> 
> We did not manage to understand which LDAP entries can cause this
> exception. Trying to remove most of the fileds, accents, not alpha char
> was unsuccessful...
> 
> I paste the commented log of an unsuccessful login attempt. I tried to
> activate some other debug output, but nothing interesting :
> 
> 
> Jan 24 16:55:30 sogod [31741]: <0x0x10aa5a0[WOWatchDog]> child spawned
> with pid 31751
> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Cache cleanup
> interval set every 300.00 seconds
> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Using host(s)
> 'localhost' as server(s)
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
> enabled!
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
> enabled!
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
> are enabled.
> 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
> bundleWithPath:]): could not create bundle for path:
> '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
> is on.
> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
> Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
> 'jertest' - expire = -1  grace = -1
> 
> -> Login seems to be successful
> 
> Jan 24 16:55:30 sogod [31751]: [ERROR] <0x0x1562420[NGLdapAttribute]>
> cound not convert value of objectSid to string
> 
> -> I think we can ignore this, as some users that have no problem cause
> this error
> 
> EXCEPTION:  NAME:NSInvalidArgumentException
> REASON:Tried to init array with nil object INFO:(nil)
> 
> -> This one appears only when login with a "bad" user, and searching in
> a address book with some "bad" users.
> 
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> child
> 31751 exited
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]>
> (terminated due to signal 6)
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> avoiding
> to respawn child before 2012-01-24 16:55:35 +0100
> 
> 
> Thanks for your help,
> rémi
> 
> -- 
> Rémi Cailletaud - IE CNRS
> 3S-R - Laboratoire Sols, Solides, Structures - Risques
> BP53, 38041 Grenoble CEDEX 0
> FRANCE
> remi.caillet...@hmg.inpg.fr
> Tél: +33 (0)4 76 82 52 78
> Fax: +33 (0)4 76 82 70 43

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] SOGo 1.3.11 calendar and iCal 5.0.1

2012-01-24 Thread Martin Lehmann

Your iCal problem is related to this bug:
http://www.sogo.nu/bugs/view.php?id=1526

Maybe you could try the Apache  Vhost configuration file from the bug 
report and tell us if it works for you.


Am 24.01.2012 16:46, schrieb mathilde rousseau:

Dear all,

We have juste updated to SOGo 1.3.11 our server and the Mac systems to 
Mac OS 10.7.2 with iCal 5.0.1 (1547.4).

Since then, we have the following troubles:

- shared agendas do not appear anymore within iCal, (these feature 
works fine with iCal 4.0.4 (1395.7) and Mac OS 10.6.8),

- delegation cannot be managed with iCal (this must be done through the 
SOGo web interface),

- with iCal 4.0.4, the users cannot be found (LDAP server 
authentication), but with iCal 5.0.1 it says the server cannot delegate at all,

- it takes a very long time to identify each time through the 
certificate,

We tried various options on the SOGo preference files, but this new 
version of iCal does not seem to share its data with the SOGo server. It works 
smoothly under iOS 5.0.1, so it is not a problem from SOGo.  Any idea of what 
could be done?

Regards,

Mathilde


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


Re: [SOGo] Pb Install Win 64bit + Thunderbird 3.1.17/9.0 + SOGo integrator 3.105

2012-01-24 Thread Fabian Rodriguez
On 12-01-24 12:06 PM, Stéphane GAUDICHE wrote:
> Hi there,
> I change of computer from an old WinXP 32bit + Tb3.1.17+SOGo  (Full
> Lightning functionnal)
> to an new computer: Win7 64bit + Thunderbird (32bit) + ...
> I'm dealing with a problem of installation of the sogo integrator
> 3.105 / SOGo server 3.1.9
>
> Step 0, transferring DATA (full profile folder)
> 1st, install Tb9 (mistake but too late)
> load profile manager to link profile to profile folder location
> Installer tell about incompatible extension (i.e SOGo integrator ...) so,
> 2nd, i remove Tb9 to install Tb3.1.17 + integrator but [seems to be
> really too late]
> after add integrator extension, Tb doesn't ask me to restart
> automatically.
>
> I look to the pref.js which present to 2 user_pref:
>>> user_pref("extensions.lastAppVersion", "3.1.17");
>>> user_pref("extensions.lastPlatformVersion", "9.0");
> Server side no thing appear in apache log when i retry 2nd step.
>
> Can anyone give me little help. I don't see what wrong?
> I know Tb10 is coming soon.
> Anyway, Documentation on installation bests pratices or "What NOT to
> do list, to make it work fine?" are welcome!
> -- 
> Stéphane GAUDICHE

My personal suggestion would be to start from scratch, with your
original 3.x profile. When running a newer Thunderbird with an older
profile exctensions, data sructures and other important data will most
probably also be updated to latest version/formats which may explain
some of the odd behavior.

F.



-- 
--
Fabián Rodríguez



signature.asc
Description: OpenPGP digital signature


[SOGo] Some question about performance and security

2012-01-24 Thread Dominique BERTHET
Bonjour,
I want to make a fresh install of SOGo.
I would like to have your opinion about the following things.
- Install apache with reverse proxy (freebsd with mod_security for
example) on a different server than SOGo (debian or centos which stay in
our internal network)
- Choose nginx for the reverse proxy (for performance?) and perhaps made
load balancing in the future.
I have see that nginx was prefered but now apache seem to be the only
one in official documentation.
Thanx for your answers
Sincerely
Dominique BERTHET
Ecole des Mines de Saint-Etienne (France)
http://www.emse.fr | http://sogo.emse.fr

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


[SOGo] New in Sogo.

2012-01-24 Thread Cesar Sosa

Hello everybudy,

A start to try Sogo like a new proyect to this year.

Mi proyect actually are implement sogo in integration of ispconfig 3.0.

Sorry by mi english. If any one tray to do that please send me info.

Regards.

*Cesar Sosa*

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

Re: [SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
... and the self (self reply) : the backtrace. sorry for the noise.


Breakpoint 1, -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0)
at NSException.m:945
945 NSException.m: Aucun fichier ou dossier de ce type.
in NSException.m
(gdb) bt
#0  -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0) at
NSException.m:945
#1  0x7faef8ec9d78 in +[NSException raise:format:]
(self=0x7faef92aafe0, _cmd=, name=0x7faef92ab5a0,
format=0x7faef926a620) at NSException.m:825
#2  0x7faef8e1c261 in -[GSInlineArray initWithObjects:count:]
(self=0x0, _cmd=, objects=0x2e54cb0, count=3)
at GSArray.m:426
#3  0x7faefa18aac5 in ?? () from /usr/lib/libNGLdap.so.4.9
#4  0x7faefb90c0dd in ?? () from /usr/lib/libSOGo.so.2
#5  0x7faefb90c29e in ?? () from /usr/lib/libSOGo.so.2
#6  0x7faefb911189 in ?? () from /usr/lib/libSOGo.so.2
#7  0x7faefb911e5e in ?? () from /usr/lib/libSOGo.so.2
#8  0x7faef168cdd5 in -[SOGoContactSourceFolder
lookupContactsWithFilter:onCriteria:sortBy:ordering:] (self=0x2cb0d70,
_cmd=0x7faef0fec2d0,
filter=0x2b401c0, criteria=0x2afcfd0, sortKey=0x29811a0,
sortOrdering=NSOrderedAscending) at SOGoContactSourceFolder.m:326
#9  0x7faef0ddf1dc in -[UIxContactsListActions contactInfos]
(self=0x2b1b650, _cmd=0x7faef0fec2f0) at UIxContactsListActions.m:110
#10 0x7faef0ddf25d in -[UIxContactsListActions contactsListAction]
(self=0x2b1b650, _cmd=0x279fb70) at UIxContactsListActions.m:130
#11 0x7faefa8cee89 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#12 0x7faefa8ca180 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#13 0x7faefa8cc508 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#14 0x7faefa85bb0b in ?? () from /usr/lib/libNGObjWeb.so.4.9
#15 0x7faefa82150c in ?? () from /usr/lib/libNGObjWeb.so.4.9
#16 0x004032a1 in -[SOGo dispatchRequest:] (self=0x2673350,
_cmd=0x7faefabdddc0, _request=0x2a1a630) at SOGo.m:451
#17 0x7faefa8bbe45 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#18 0x7faefa8bc038 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#19 0x7faefa8b8269 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#20 0x7faefa8b8476 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#21 0x7faefa8b88f2 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#22 0x7faefa8b8b28 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#23 0x7faef8f02c32 in -[NSNotificationCenter _postAndRelease:]
(self=, _cmd=,
notification=) at NSNotificationCenter.m:1161
#24 0x7faef8fef6a1 in -[GSRunLoopCtxt pollUntil:within:]
(self=0x26121e0, _cmd=, milliseconds=,
contexts=0x268e7f0) at GSRunLoopCtxt.m:636
#25 0x7faef8f42c01 in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x26b94c0, _cmd=, mode=0x7faef92e8600,
limit_date=) at NSRunLoop.m:1197
#26 0x7faef8f41ba0 in -[NSRunLoop runMode:beforeDate:]
(self=0x26b94c0, _cmd=, mode=0x7faef92e8600,
date=0x265d660)
at NSRunLoop.m:1265
#27 0x7faefa820e79 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#28 0x00402915 in -[SOGo run] (self=0x2673350,
_cmd=0x7faefab83680) at SOGo.m:275
#29 0x7faefa865853 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#30 0x7faefa864a26 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#31 0x7faefa8650da in ?? () from /usr/lib/libNGObjWeb.so.4.9
#32 0x7faefa86610a in WOWatchDogApplicationMain () from
/usr/lib/libNGObjWeb.so.4.9
#33 0x00401ae5 in main (argc=7, argv=0x7fffdc06eb08,
env=0x7fffdc06eb48) at sogod.m:53


Le 24/01/2012 17:46, Rémi Cailletaud a écrit :
> Hi again,
> 
> I made a self reply : investigating the postgresql log, I can see :
> 
> 2012-01-24 17:30:51 CET LOG:  n'a pas pu recevoir les données du client
> : Connexion ré-initialisée par le correspondant
> 2012-01-24 17:30:51 CET LOG:  fin de fichier (EOF) inattendue de la
> connexion du client
> 
> (in english : the connection was reinitialized by client
> unexpected EOF)
> 
> Should I fill a bug report ?
> 
> Cheers,
> rémi
> 
> Le 24/01/2012 17:19, Rémi Cailletaud a écrit :
>> Hi,
>>
>> I try to install SOGo 2.0 and face a strange error. The scenario is :
>>
>> - fresh Debian Squeeze install ;
>> - SOGo from inverse nightly repository ;
>> - PGSQL ;
>> - apache2.
>>
>> - the source auth is an Active Directory :
>>
>> SOGoUserSources = (
>> {
>> type = ldap;
>> CNFieldName = cn;
>> IDFieldName = cn;
>> UIDFieldName = sAMAccountName;
>> baseDN = "OU=Users,DC=domain,DC=local";
>> bindDN = read@domain.local;
>> bindPassword = "passwd";
>> bindFields = (middleName);
>> canAuthenticate = YES;
>> displayName = "Domain";
>> hostname = 194.254.65.56;
>> id = DOMAIN;
>> isAddressBook = YES;
>> port = 389;
>>  scope = sub;
>> }
>>
>> - some users cannot login. in fact, they can login, but sogo raises an
>> exception. we tried to search if they hav

[SOGo] Pb Install Win 64bit + Thunderbird 3.1.17/9.0 + SOGo integrator 3.105

2012-01-24 Thread Stéphane GAUDICHE

Hi there,
I change of computer from an old WinXP 32bit + Tb3.1.17+SOGo  (Full 
Lightning functionnal)

to an new computer: Win7 64bit + Thunderbird (32bit) + ...
I'm dealing with a problem of installation of the sogo integrator 3.105 
/ SOGo server 3.1.9


Step 0, transferring DATA (full profile folder)
1st, install Tb9 (mistake but too late)
load profile manager to link profile to profile folder location
Installer tell about incompatible extension (i.e SOGo integrator ...) so,
2nd, i remove Tb9 to install Tb3.1.17 + integrator but [seems to be 
really too late]

after add integrator extension, Tb doesn't ask me to restart automatically.

I look to the pref.js which present to 2 user_pref:

user_pref("extensions.lastAppVersion", "3.1.17");
user_pref("extensions.lastPlatformVersion", "9.0");

Server side no thing appear in apache log when i retry 2nd step.

Can anyone give me little help. I don't see what wrong?
I know Tb10 is coming soon.
Anyway, Documentation on installation bests pratices or "What NOT to do 
list, to make it work fine?" are welcome!


--
Stéphane GAUDICHE

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

[SOGo] Cyrus, Sieve & Vacation Problem

2012-01-24 Thread Burkart Orlowski | Onlinehelp24
Hi,

I have a mail setup with Cyrus IMAPd & Postfix and wanted to configure
Sieve for vacation messages. The problem is that the duplicate
suppression feature of Cyrus filters out the mail towards the original
sender whereas no vacation mail is sent.
Any idea how to configure Cyrus or Postfix to solve that issue? I reckon
it has something to do with how Cyrus checks if a mail is a duplicate or
not. There must be something like a fingerprint/hash which matches the
initial mail and the vacation response.

Any idea is welcome. Thanks in advance.

Burkart Orlowski

---
Onlinehelp24
c/o betahaus Hamburg
Lerchenstraße 28a
22767 Hamburg (Germany)

Web: www.onlinehelp24.net
Email: b.orlow...@onlinehelp24.net
Telefon: +49 40 20931222
Mobil: +49 162 2110111
Facebook: http://www.facebook.com/onlinehelp24
Blog: http://blog.onlinehelp24.net


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

Re: [SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
Hi again,

I made a self reply : investigating the postgresql log, I can see :

2012-01-24 17:30:51 CET LOG:  n'a pas pu recevoir les données du client
: Connexion ré-initialisée par le correspondant
2012-01-24 17:30:51 CET LOG:  fin de fichier (EOF) inattendue de la
connexion du client

(in english : the connection was reinitialized by client
unexpected EOF)

Should I fill a bug report ?

Cheers,
rémi

Le 24/01/2012 17:19, Rémi Cailletaud a écrit :
> Hi,
> 
> I try to install SOGo 2.0 and face a strange error. The scenario is :
> 
> - fresh Debian Squeeze install ;
> - SOGo from inverse nightly repository ;
> - PGSQL ;
> - apache2.
> 
> - the source auth is an Active Directory :
> 
> SOGoUserSources = (
> {
> type = ldap;
> CNFieldName = cn;
> IDFieldName = cn;
> UIDFieldName = sAMAccountName;
> baseDN = "OU=Users,DC=domain,DC=local";
> bindDN = read@domain.local;
> bindPassword = "passwd";
> bindFields = (middleName);
> canAuthenticate = YES;
> displayName = "Domain";
> hostname = 194.254.65.56;
> id = DOMAIN;
> isAddressBook = YES;
> port = 389;
>   scope = sub;
> }
> 
> - some users cannot login. in fact, they can login, but sogo raises an
> exception. we tried to search if they have particular LDAP field, but
> nothing like that.
> 
> EXCEPTION:  NAME:NSInvalidArgumentException
> REASON:Tried to init array with nil object INFO:(nil)
> 
> - in same time, searching the address book if those users are in the
> ldap search scope does not work : same exception in Sogo log.
> 
> - putting these users out of ldap search scope make the address book
> functional...
> 
> We did not manage to understand which LDAP entries can cause this
> exception. Trying to remove most of the fileds, accents, not alpha char
> was unsuccessful...
> 
> I paste the commented log of an unsuccessful login attempt. I tried to
> activate some other debug output, but nothing interesting :
> 
> 
> Jan 24 16:55:30 sogod [31741]: <0x0x10aa5a0[WOWatchDog]> child spawned
> with pid 31751
> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Cache cleanup
> interval set every 300.00 seconds
> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Using host(s)
> 'localhost' as server(s)
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
> enabled!
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
> enabled!
> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
> are enabled.
> 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
> bundleWithPath:]): could not create bundle for path:
> '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
> is on.
> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
> Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
> 'jertest' - expire = -1  grace = -1
> 
> -> Login seems to be successful
> 
> Jan 24 16:55:30 sogod [31751]: [ERROR] <0x0x1562420[NGLdapAttribute]>
> cound not convert value of objectSid to string
> 
> -> I think we can ignore this, as some users that have no problem cause
> this error
> 
> EXCEPTION:  NAME:NSInvalidArgumentException
> REASON:Tried to init array with nil object INFO:(nil)
> 
> -> This one appears only when login with a "bad" user, and searching in
> a address book with some "bad" users.
> 
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> child
> 31751 exited
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]>
> (terminated due to signal 6)
> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> avoiding
> to respawn child before 2012-01-24 16:55:35 +0100
> 
> 
> Thanks for your help,
> rémi
> 


-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43




smime.p7s
Description: Signature cryptographique S/MIME


[SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
Hi,

I try to install SOGo 2.0 and face a strange error. The scenario is :

- fresh Debian Squeeze install ;
- SOGo from inverse nightly repository ;
- PGSQL ;
- apache2.

- the source auth is an Active Directory :

SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = "OU=Users,DC=domain,DC=local";
bindDN = read@domain.local;
bindPassword = "passwd";
bindFields = (middleName);
canAuthenticate = YES;
displayName = "Domain";
hostname = 194.254.65.56;
id = DOMAIN;
isAddressBook = YES;
port = 389;
scope = sub;
}

- some users cannot login. in fact, they can login, but sogo raises an
exception. we tried to search if they have particular LDAP field, but
nothing like that.

EXCEPTION:  NAME:NSInvalidArgumentException
REASON:Tried to init array with nil object INFO:(nil)

- in same time, searching the address book if those users are in the
ldap search scope does not work : same exception in Sogo log.

- putting these users out of ldap search scope make the address book
functional...

We did not manage to understand which LDAP entries can cause this
exception. Trying to remove most of the fileds, accents, not alpha char
was unsuccessful...

I paste the commented log of an unsuccessful login attempt. I tried to
activate some other debug output, but nothing interesting :


Jan 24 16:55:30 sogod [31741]: <0x0x10aa5a0[WOWatchDog]> child spawned
with pid 31751
Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Cache cleanup
interval set every 300.00 seconds
Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Using host(s)
'localhost' as server(s)
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
enabled!
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
enabled!
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
are enabled.
2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
bundleWithPath:]): could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
is on.
2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
'jertest' - expire = -1  grace = -1

-> Login seems to be successful

Jan 24 16:55:30 sogod [31751]: [ERROR] <0x0x1562420[NGLdapAttribute]>
cound not convert value of objectSid to string

-> I think we can ignore this, as some users that have no problem cause
this error

EXCEPTION:  NAME:NSInvalidArgumentException
REASON:Tried to init array with nil object INFO:(nil)

-> This one appears only when login with a "bad" user, and searching in
a address book with some "bad" users.

Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> child
31751 exited
Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]>
(terminated due to signal 6)
Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> avoiding
to respawn child before 2012-01-24 16:55:35 +0100


Thanks for your help,
rémi

-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43

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


[SOGo] SOGo 1.3.11 calendar and iCal 5.0.1

2012-01-24 Thread mathilde rousseau
Dear all, 

We have juste updated to SOGo 1.3.11 our server and the Mac systems to 
Mac OS 10.7.2 with iCal 5.0.1 (1547.4).

Since then, we have the following troubles: 

- shared agendas do not appear anymore within iCal, (these feature 
works fine with iCal 4.0.4 (1395.7) and Mac OS 10.6.8),

- delegation cannot be managed with iCal (this must be done through the 
SOGo web interface),

- with iCal 4.0.4, the users cannot be found (LDAP server 
authentication), but with iCal 5.0.1 it says the server cannot delegate at all,

- it takes a very long time to identify each time through the 
certificate,

We tried various options on the SOGo preference files, but this new 
version of iCal does not seem to share its data with the SOGo server. It works 
smoothly under iOS 5.0.1, so it is not a problem from SOGo.  Any idea of what 
could be done?

Regards, 

Mathilde


smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Failed login after adding ldap index for uid attribute

2012-01-24 Thread Georg Bretschneider
Hi György,

thanks for your suggestion. I did this and I mentioned doing so in my
first email:

"(Of course, after every database [definition] change I used slapindex
with the openldap user. At no time there were error messages.)"

:)

But I managed to solve the problem. Seems like I misunderstood man
slapindex in some ways. After executing it twice, always with the -b
[suffix] option (I'm hosting to domains, therefore two ldap databases),
everything worked just fine and my logs are free of warnings that the
uid attribute is not indexed. AND SOGo is still working as wished.


Bye
Georg



Am 24.01.2012 16:12, schrieb Szombathelyi Gy|rgy:
> Hi,
>  
> If you add a new index to an existing database, you have to run slapindex.
>  
> Br,
> György
> 
> Georg Bretschneider  írta:
> 
> Hi Christian,
> 
> thanks for your reply. Unfortunately, I did not do any difference.
> Seems I have to setup a test environment, cause I can't "afford" to do
> further tests on my live system.
> I am really surprised that adding an index can cause such a problem.
> Seems my lack of understanding of the inner mechanics of openldap stands
> in the way of me finding a solution. ;)
> 
> I hope, someone will come up with an idea. Within the next months I
> won't have time for further and time expensive testing.
> 
> 
> Bye
> Georg
> 
> Am 17.01.2012 12:04, schrieb Christian Mack:
> > Hi Georg Bretschneider
> > 
> > 
> > On 2012-01-16 22:30, Georg Bretschneider wrote:
> >> I'm still having this problems when trying to index "uid" in openldap.
> >> Withouth uid being index, openldap gives warnings. That's not a big
> >> issue, but actually a) I think indexing the uid is useful and b) I
> >> really want to satisfy my ldap service. ;)
> >>
> >> Does anybody might have any guess?
> > < ... >
>  but also adding:
>  index uid eq,pres
> > 
> > We have also a substring index on it:
> > index uid pres,eq,sub
> > 
> > Perhaps that's your problem?
> > 
> > 
> > Kind regards,
> > Christian Mack
> > 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists
> 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Cannot Log Into SOGo After Install

2012-01-24 Thread Nathan Acks
On Tuesday, January 24, 2012 06:31:01 am Pascal Gienger wrote:
> Le 23/01/2012 03:04, Nathan Acks a écrit :
> > I've been searching Google and the list here all day, and can't find
> > anything that seems to match my problem. Basically, I have SOGo set up
> > to use a custom  port on my server, and can access it at
> Hi Nathan,
> 
> first: your mail fell into my spam filter (Ironport), you were my first
> false positive for 5 years now... :-(
> 
> > Jan 22 17:22:00 sogod [27842]: |SOGo| starting method 'GET' on uri
> > '/SOGo/myuser' Jan 22 17:22:00 sogod
> > [27842]:<0x0x700c78[SOGoWebAuthenticator]>  tried wrong password for
> > user
> > '1477YRibp8H12nCyarBR4mXtiSE6NOfcK5fYify0hLcLblrcGrvTCOsru/h+M8ibjRTeFw
> > u/i/Zz4kP12Ro/nw=='!
> [...]
> 
> > SOGoUserSources
> > 
> > 
> > 
> > canAuthenticate
> > YES
> > displayName
> > SOGo Users
> > id
> > sogo_db
> > isAddressBook
> > YES
> > type
> > sql
> > userPasswordAlgorithm
> > sha
> > viewURL
> > 
mysql://sogo:sogopassword@localhost:3306/sogo/sogo_auth > ing>>   
> > 
> > 
> 
> How the user passwords are coded in your "sogo_auth" table? How the
> columns are named?

I'm using the suggested format from the SOGo installation guide (page 23), so 
the table schema looks something like

sogo_auth ( c_uid  VARCHAR(25),
c_name VARCHAR(25),
c_password VARCHAR(100),
c_cn   VARCHAR(50),
mail   VARCHAR(50)   )

Passwords are encoded using SHA1 (which at least in MySQL seems to be the same 
as "SHA", though in OpenSSL they're different).

I've tried using userPasswordAlgorithm "none" and "md5" as well (recoding my 
password in sogo_auth as appropriate), and interestingly enough always get 
actual login failures (SOGo complaining about a "bad user name or password") 
in both those cases. Which might be related, but I'm not sure how...

-- 
Nathan Acks
http://ecopunk.info/

++ pub 4096R/D7F3999A 2009-05-08
|\ O--m /| Nathan Acks 
|/`'\| Using public key encryption is like signing a letter and
++ sending it in a sealed envelope.   http://gnupg.org/
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Failed login after adding ldap index for uid attribute

2012-01-24 Thread Szombathelyi Gy|rgy
Hi, If you add a new index to an existing database, you have to run slapindex. 
Br,György

Georg Bretschneider  írta:
>Hi Christian,
>
>thanks for your reply. Unfortunately, I did not do any difference.
>Seems I have to setup a test environment, cause I can't "afford" to do
>further tests on my live system.
>I am really surprised that adding an index can cause such a problem.
>Seems my lack of understanding of the inner mechanics of openldap stands
>in the way of me finding a solution. ;)
>
>I hope, someone will come up with an idea. Within the next months I
>won't have time for further and time expensive testing.
>
>
>Bye
>Georg
>
>Am 17.01.2012 12:04, schrieb Christian Mack:
>> Hi Georg Bretschneider
>> 
>> 
>> On 2012-01-16 22:30, Georg Bretschneider wrote:
>>> I'm still having this problems when trying to index "uid" in openldap.
>>> Withouth uid being index, openldap gives warnings. That's not a big
>>> issue, but actually a) I think indexing the uid is useful and b) I
>>> really want to satisfy my ldap service. ;)
>>>
>>> Does anybody might have any guess?
>> < ... >
> but also adding:
> index uid eq,pres
>> 
>> We have also a substring index on it:
>> index uid pres,eq,sub
>> 
>> Perhaps that's your problem?
>> 
>> 
>> Kind regards,
>> Christian Mack
>> 
>-- 
>users@sogo.nu
>https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] No events Import from horde ics

2012-01-24 Thread Francis Lachapelle

On 2012-01-23, at 7:03 AM, Alessio Fattorini wrote:

> Nella citazione in data lun 23 gen 2012 12:32:00 CET, Alessio Fattorini ha 
> scritto:
>> I can't import calendar ics attached, it's exported from horde.
>> I export/import normally from horde, i don't understand what is 
> 
> 
> Sorry, file attached is wrong.
> I have the right file but contains private data and i can't attach this
> I used this validator for check the file http://icalvalid.cloudapp.net/ 
> 
> I have this result. Why sogo can't import this?
> I try with thunderbird and i have the same result.
> --
> This calendar scored
> 100 out of 100
> 
> Calendar Path:events1.ics
> Calendar Size:46.41Kb
> Calendar Info
> Calendar Version: 2.0
> Product ID:   -//The Horde Project//Horde_iCalendar Library, Horde 3.3.11//EN
> Statistics
> Time Zones:   0
> Events:   112
> Todos:0
> Journal Entries:  0
> Free/Busy Entries:0


Alessio sent me his ics file privately and I noticed that it was an encoding 
problem; SOGo expect the ics file to be encoded in utf-8 while it was 
iso-8859-1.

I pushed a fix to fallback to latin-1 when utf-8 doesn't work.


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] Failed login after adding ldap index for uid attribute

2012-01-24 Thread Pascal Gienger
Le 24/01/2012 14:23, Georg Bretschneider a écrit :
> Hi Christian,

> I hope, someone will come up with an idea. Within the next months I
> won't have time for further and time expensive testing.

Raise openldap's debug level in your test setup and see the exact search
filter string.


-- 
Pascal Gienger Jabber/XMPP/Mail: pascal.gien...@uni-konstanz.de
University of Konstanz, IT Services Department ("Rechenzentrum")
Building V, Room V404, Phone +49 7531 88 5048, Fax +49 7531 88 3739
G+: https://plus.google.com/114525323843315818983/
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Failed login after adding ldap index for uid attribute

2012-01-24 Thread Georg Bretschneider
Hi Christian,

thanks for your reply. Unfortunately, I did not do any difference.
Seems I have to setup a test environment, cause I can't "afford" to do
further tests on my live system.
I am really surprised that adding an index can cause such a problem.
Seems my lack of understanding of the inner mechanics of openldap stands
in the way of me finding a solution. ;)

I hope, someone will come up with an idea. Within the next months I
won't have time for further and time expensive testing.


Bye
Georg

Am 17.01.2012 12:04, schrieb Christian Mack:
> Hi Georg Bretschneider
> 
> 
> On 2012-01-16 22:30, Georg Bretschneider wrote:
>> I'm still having this problems when trying to index "uid" in openldap.
>> Withouth uid being index, openldap gives warnings. That's not a big
>> issue, but actually a) I think indexing the uid is useful and b) I
>> really want to satisfy my ldap service. ;)
>>
>> Does anybody might have any guess?
> < ... >
 but also adding:
 index uid eq,pres
> 
> We have also a substring index on it:
> index uid pres,eq,sub
> 
> Perhaps that's your problem?
> 
> 
> Kind regards,
> Christian Mack
> 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] error message

2012-01-24 Thread tomaskovic
Hello.
I found a error message in my /var/log/sogo.log

Jan 23 18:15:11 sogod [1565]: [ERROR]
<0x09C029AC[SOGoAppointmentFolder]:personal> DAV property
'{urn:ietf:params:xml:ns:caldav}schedule-tag' has no matching SQL field,
response could be incomplete

What does it mean?
Thanks.

Best regards
Tomaskovic Marcel
-- 
users@sogo.nu
https://inverse.ca/sogo/lists