Re: [SOGo] Problems with Apache

2012-04-19 Thread Martin Rabl
How did you start apache? As root or with sudo? And, IMHO there is maybe a 
second aluas definition in an other config file, which was read before the 
SOGo.conf

Greetings,
Martin


---
Martin Rabl

Am 19.04.2012 um 00:20 schrieb mika.haapama...@googlemail.com:

 Hi Guys,
 
 i have unbelievable problems with the installation ov sogo...
 I have an Server with plesk, its a root ds server from simplyroot...
 
 Actually i cant start Apache 2, i get every time i try to start apache the
 following thing
 
 Restarting web server: apache2[Thu Apr 19 00:19:42 2012] [warn] The Alias
 directive in /etc/apache2/conf.d/SOGo.conf at line 2 will probably never match
 because it overlaps an earlier Alias.
 [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
 /etc/apache2/conf.d/SOGo.conf at line 4 will probably never match because it
 overlaps an earlier Alias.
 [Thu Apr 19 00:19:42 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
 [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
 /etc/apache2/conf.d/SOGo.conf at line 2 will probably never match because it
 overlaps an earlier Alias.
 [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
 /etc/apache2/conf.d/SOGo.conf at line 4 will probably never match because it
 overlaps an earlier Alias.
 [Thu Apr 19 00:19:42 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
 no listening sockets available, shutting down
 Unable to open logs
 Action 'start' failed.
 The Apache error log may have more information.
 failed!
 
 PLEASEEE!!! HELP M :(( all my Websites cant be fount, after the
 installation of sogo...
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Problems with Apache

2012-04-19 Thread Mika Haapamäki
Hi Martin,

tanks for the answer, here you get the SOGo.conf: I try to start the apache
as root, but today i get the following message:


apache2: Syntax error on line 228 of /etc/apache2/apache2.conf: Syntax
error on line 5 of /etc/apache2/conf.d/zz010_psa_httpd.conf: Could not open
configuration file
/opt/psa/admin/conf/generated/13347815590.68893200_server.include: No such
file or directory
Action 'configtest' failed.
The Apache error log may have more information.
 failed!


Alias /SOGo.woa/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

Directory /usr/lib/GNUstep/SOGo/
AllowOverride None
Order deny,allow
Allow from all
/Directory

LocationMatch
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif$
  SetHandler default-handler
/LocationMatch

## Uncomment the following to enable proxy-side authentication, you will
then
## need to set the SOGoTrustProxyAuthentication SOGo user default to YES
and
## adjust the x-webobjects-remote-user proxy header in the Proxy section
## below.
#Location /SOGo
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost Off

# When using CAS, you should uncomment this and install
cas-proxy-validate.py
# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# Proxy http://localhost/app/cas-proxy-validate.py
#   Order deny,allow
#   Allow from your-cas-host-addr
# /Proxy

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 4223
  RequestHeader set x-webobjects-server-name
lds62-112-145-54.my-simplyroot.$
  RequestHeader set x-webobjects-server-url 
http://lds62-112-145-54.my-simpl$
## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
env=REMOTE_HOST

  AddDefaultCharset UTF-8
  Order allow,deny
  Allow from all
/Proxy

## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]






2012/4/19 Martin Rabl martin.r...@rablnet.de

 How did you start apache? As root or with sudo? And, IMHO there is maybe a
 second aluas definition in an other config file, which was read before the
 SOGo.conf

 Greetings,
Martin


 ---
 Martin Rabl

 Am 19.04.2012 um 00:20 schrieb mika.haapama...@googlemail.com:

  Hi Guys,
 
  i have unbelievable problems with the installation ov sogo...
  I have an Server with plesk, its a root ds server from simplyroot...
 
  Actually i cant start Apache 2, i get every time i try to start apache
 the
  following thing
 
  Restarting web server: apache2[Thu Apr 19 00:19:42 2012] [warn] The Alias
  directive in /etc/apache2/conf.d/SOGo.conf at line 2 will probably never
 match
  because it overlaps an earlier Alias.
  [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
  /etc/apache2/conf.d/SOGo.conf at line 4 will probably never match
 because it
  overlaps an earlier Alias.
  [Thu Apr 19 00:19:42 2012] [warn] NameVirtualHost *:80 has no
 VirtualHosts
  [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
  /etc/apache2/conf.d/SOGo.conf at line 2 will probably never match
 because it
  overlaps an earlier Alias.
  [Thu Apr 19 00:19:42 2012] [warn] The Alias directive in
  /etc/apache2/conf.d/SOGo.conf at line 4 will probably never match
 because it
  overlaps an earlier Alias.
  [Thu Apr 19 00:19:42 2012] [warn] NameVirtualHost *:80 has no
 VirtualHosts
  (98)Address already in use: make_sock: could not bind to address
 0.0.0.0:80
  no listening sockets available, shutting down
  Unable to open logs
  Action 'start' failed.
  The Apache error log may have more information.
  failed!
 
  PLEASEEE!!! HELP M :(( all my Websites cant be fount, after the
  installation of sogo...
  --
  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] Thunderbird hang

2012-04-19 Thread Ed Driesen

Op 18-04-12 18:43, Donny Brooks schreef:

This is a bit OT but since SOGo officially supports thunderbird plugins and all I figure 
there are quite a few people on this list that are running Thunderbird as their mail 
client. With that I have a question: How many of you have experienced the 
hang when typing in the body of a message? We have only a handful of end 
users, high up people though, that are experiencing the problem. Looking through the 
magical google ball shows me it is a known issue but hard to trace down. It supposedly 
has been happening since somewhere in the 3.1.X series and is still active last I 
checked. So I figure with that wide spread of a version range most if not all users 
should have experienced it. I have not seen it but 3 of the top 5 people in the agency 
are experiencing it. Now I am wondering if anyone has seen the probem and if they have 
found some other way to avoid it happening until an official fix is released.



Hey,

Just freewheeling, but I had an issue that thunderbird went unresponsive 
with funambol plugin installed. (Was before I switched to sogo and used 
another syncml based server with funambol)


Regards,
Ed

--

/Open Minded Technology  Services/
Ed Driesen
No-nonsense informatica voor thuis en kantoor

GSM 0478 26 72 93
e...@omts.be
BTW BE 0897 866 147*
*

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

[SOGo] Re: all day events synced with funambol show on wrong day

2012-04-19 Thread Peter Peltonen
Hi,

On Tue, Apr 17, 2012 at 1:08 AM, Peter Peltonen
peter.pelto...@gmail.com wrote:
 If I create an all day event in Outlook 2010 and then use Funambol to
 sync it to SOGo, the day is shown on wrong day: if the event is for
 the 19th of April, SOGo will show it for 18th in its calendar view,
 but if I double click it, the information displayed is shown
 correctly:

 x All day event
 Start: 2012-04-19 00:00
 End: 2012-04-19 00:00

 If I now save the event (without modifying anything) it will put the
 event in right place.

 And if I export the event from Outlook in ICS and import it, it will
 show correctly in SOGo. So I guess the problem is with Funambol or/and
 its SOGo connector.

I have now experienced this with events exported from the K5N
Webcalendar that has been imported to SOGo, so it seems to be a
general SOGo backend calendar issue and not related just to Funambol
as I originally thought.

I can reproduce the K5N Webcalendar behaviour in both public SOGo demo
and on my test server running the latest nightly packages.

I have now opened a bug for this and attached a test case .ics file:
http://www.sogo.nu/bugs/view.php?id=1775

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


Re: [SOGo] Thunderbird hang

2012-04-19 Thread Donny Brooks
 
 
 
On Thursday, April 19, 2012 03:43 AM CDT, Ed Driesen e...@omts.be wrote: 
 
 Op 18-04-12 18:43, Donny Brooks schreef:
  This is a bit OT but since SOGo officially supports thunderbird plugins and 
  all I figure there are quite a few people on this list that are running 
  Thunderbird as their mail client. With that I have a question: How many of 
  you have experienced the hang when typing in the body of a message? We 
  have only a handful of end users, high up people though, that are 
  experiencing the problem. Looking through the magical google ball shows me 
  it is a known issue but hard to trace down. It supposedly has been 
  happening since somewhere in the 3.1.X series and is still active last I 
  checked. So I figure with that wide spread of a version range most if not 
  all users should have experienced it. I have not seen it but 3 of the top 5 
  people in the agency are experiencing it. Now I am wondering if anyone has 
  seen the probem and if they have found some other way to avoid it happening 
  until an official fix is released.
 
 
 Hey,
 
 Just freewheeling, but I had an issue that thunderbird went unresponsive 
 with funambol plugin installed. (Was before I switched to sogo and used 
 another syncml based server with funambol)
 
 Regards,
 Ed
 
 -- 
 
 /Open Minded Technology  Services/
 Ed Driesen
 No-nonsense informatica voor thuis en kantoor
 
 GSM 0478 26 72 93
 e...@omts.be
 BTW BE 0897 866 147*
 *
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists 

Good thought but I know it isn't any plugins. We have tried no plugins and just 
the sogo+lightning plugins both with the same results. Actually the only 
plugins we would have used is the sogo ones.
-- 
Donny B. 

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


[SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Federico Alberto Sayd

Hello

I am trying to integrate a jabber chat client into SOGo[1]. Both jabber 
server (openfire) and SOGo uses the same authentication backend (ldap).


I load the chat client that is a javascript aplication modifying the 
UIxPageFrame.wox template in the sogo user home and including the javascript


My question is if is there any method to retrieve user and password from 
session and then pass them to javascript to authenticate the user in the 
chat server?


Thanks for any answer


[1] https://mini.jappix.com/
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Ludovic Marcotte

On 19/04/12 09:04, Federico Alberto Sayd wrote:
My question is if is there any method to retrieve user and password 
from session and then pass them to javascript to authenticate the user 
in the chat server? 

No, not right now.

--
Ludovic Marcotte
+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] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 10:04 -0300, Federico Alberto Sayd пишет: 
 Hello
 
 I am trying to integrate a jabber chat client into SOGo[1]. Both jabber 
 server (openfire) and SOGo uses the same authentication backend (ldap).
 
 I load the chat client that is a javascript aplication modifying the 
 UIxPageFrame.wox template in the sogo user home and including the javascript
 
 My question is if is there any method to retrieve user and password from 
 session and then pass them to javascript to authenticate the user in the 
 chat server?
 
 Thanks for any answer

Passing username/password server-side to client-side (sogo-js) is a bad
idea because of the security of js.

We've recently implemented js chat client in portal, we used this
technic:

1. Loging to portal, retrieve OTP
2. Use this OTP to login to XMPP
3. Rewrite auth plugin to check OTP first and in case of failure also
check pass

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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Federico Alberto Sayd

On 19/04/12 12:19, Покотиленко Константин Александрович wrote:

В Чтв, 19/04/2012 в 10:04 -0300, Federico Alberto Sayd пишет:

Hello

I am trying to integrate a jabber chat client into SOGo[1]. Both jabber
server (openfire) and SOGo uses the same authentication backend (ldap).

I load the chat client that is a javascript aplication modifying the
UIxPageFrame.wox template in the sogo user home and including the javascript

My question is if is there any method to retrieve user and password from
session and then pass them to javascript to authenticate the user in the
chat server?

Thanks for any answer

Passing username/password server-side to client-side (sogo-js) is a bad
idea because of the security of js.
I know but the jabber clients that I found are implemented in client 
side javascript


We've recently implemented js chat client in portal, we used this
technic:

1. Loging to portal, retrieve OTP
By portal do you mean SOGo? I do not know nothing about SOGo 
implementing OTP.


What chat client do you use in your application?

2. Use this OTP to login to XMPP
3. Rewrite auth plugin to check OTP first and in case of failure also
check pass


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

Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Martin Rabl
Hi,
 
Am 19. April 2012 17:50 CEST, Federico Alberto Sayd fs...@uncu.edu.ar 
schrieb: 
  Passing username/password server-side to client-side (sogo-js) is a bad
  idea because of the security of js.
 I know but the jabber clients that I found are implemented in client 
 side javascript
You want to implement a type of Single-Sign-On for the jabber client.
Compare the architecture of SOGo with your clients - all stuff in SOGo will be 
done at the server side, which is by definition a secure site. The user (and 
its client aka browser ) never will see a password again after login - thats 
makes it a bit secure.
For your problem I would suggest searching a serverside driven solution with a 
lightweight browser client.
Then look if this solution accepts login via htaccess-logon-dialogs AND switch 
SOGo to accept this one instead using the form-login (there is a documentet 
switch in the configuration, please search for it).
Give it a try if this could be a way. If not - maybe you have a look for CAS 
(when your Jabber-Client speaks CAS).

My personal opinion: stop try to integrate your jabber with SOGo. I think it is 
better to use a platform client for Win, Unix etc., which authenticates against 
the source SOGo uses.
 
-- 

Greetings,
  Martin Rabl

 

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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 12:50 -0300, Federico Alberto Sayd пишет: 
 On 19/04/12 12:19, Покотиленко Константин Александрович wrote:
  В Чтв, 19/04/2012 в 10:04 -0300, Federico Alberto Sayd пишет:
  Hello
 
  I am trying to integrate a jabber chat client into SOGo[1]. Both jabber
  server (openfire) and SOGo uses the same authentication backend (ldap).
 
  I load the chat client that is a javascript aplication modifying the
  UIxPageFrame.wox template in the sogo user home and including the 
  javascript
 
  My question is if is there any method to retrieve user and password from
  session and then pass them to javascript to authenticate the user in the
  chat server?
 
  Thanks for any answer
  Passing username/password server-side to client-side (sogo-js) is a bad
  idea because of the security of js.
 I know but the jabber clients that I found are implemented in client 
 side javascript

That's why I suggest OTP as secure solution. You use portal's security
to login and generate OTP and since it's one-time you can use it in JS
securely.

Once you are logged to XMPP - OTP is not longer valid.

If you'll need to reconnect to XMPP you'll need to request OTP again.

 
  We've recently implemented js chat client in portal, we used this
  technic:
 
  1. Loging to portal, retrieve OTP
 By portal do you mean SOGo? I do not know nothing about SOGo 
 implementing OTP.

The portal I was talking about is Drupal. Don't know how difficult this
will be to implement in SOGo.

 What chat client do you use in your application?

Client side is strophe.js

  2. Use this OTP to login to XMPP
  3. Rewrite auth plugin to check OTP first and in case of failure also
  check pass
 
 Thanks
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 18:15 +0200, Martin Rabl пишет: 
 Hi,
  
 Am 19. April 2012 17:50 CEST, Federico Alberto Sayd fs...@uncu.edu.ar 
 schrieb: 
   Passing username/password server-side to client-side (sogo-js) is a bad
   idea because of the security of js.
  I know but the jabber clients that I found are implemented in client 
  side javascript
 You want to implement a type of Single-Sign-On for the jabber client.
 Compare the architecture of SOGo with your clients - all stuff in SOGo will 
 be done at the server side, which is by definition a secure site. The user 
 (and its client aka browser ) never will see a password again after login - 
 thats makes it a bit secure.
 For your problem I would suggest searching a serverside driven solution with 
 a lightweight browser client.
 Then look if this solution accepts login via htaccess-logon-dialogs AND 
 switch SOGo to accept this one instead using the form-login (there is a 
 documentet switch in the configuration, please search for it).
 Give it a try if this could be a way. If not - maybe you have a look for CAS 
 (when your Jabber-Client speaks CAS).

The main reason for client-side (JS) xmpp client - it's the only
lightweight way to make chat instant.

 My personal opinion: stop try to integrate your jabber with SOGo. I think it 
 is better to use a platform client for Win, Unix etc., which authenticates 
 against the source SOGo uses.

Platform client is better if you are using it everyday, this is not the
case for majority of nowadays' visitors.

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


[SOGo] BTS activities for Thursday, April 19 2012

2012-04-19 Thread SOGo reporter
Title: BTS activities for Thursday, April 19 2012





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Thursday, April 19 2012

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
1300
	2012-04-19 11:35:08
	updated (open)
	Backend Calendar
	Hide UIDFieldName@SOGoMailDomain in calendar-user-address-set - Apple iCal usability
	
	  
	
1775
	2012-04-19 08:18:19
	new (open)
	Backend Calendar
	Full day events synced from Outlook and imported from K5N webcalendar show on wrong day
	
	  
	
1767
	2012-04-19 11:19:38
	updated (open)
	Backend General
	unescaped backslash in the calendar Postgres
	
	  
	
1340
	2012-04-19 09:08:17
	updated (open)
	Web Calendar
	Calendar Invitiation with strange splitted Email-Sender
	
	  
	
1752
	2012-04-19 17:31:43
	feedback (reopened)
	Web Calendar
	Bad display of repeating appointments
	
	  
	
1203
	2012-04-19 09:21:05
	resolved (fixed)
	Apple iCal.app
	Order of attributes for RRULE is important in iCal.app
	
	  
	
1118
	2012-04-19 09:20:49
	resolved (fixed)
	Backend Calendar
	ical vs sogo recurring events
	
	  
	
1669
	2012-04-19 10:27:35
	resolved (fixed)
	Backend Calendar
	Importing recurring event with single occurencies changed does not work
	
	  
	
1552
	2012-04-19 16:57:28
	resolved (fixed)
	sogo-tool
	sogo-tool remove-doubles SQL error
	
	  
	
1055
	2012-04-19 16:57:17
	closed (fixed)
	Web Calendar
	Day events imported from .ics file are displayed on previous day