Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai

Thanks, Ludovic.  Here are Updates.php, Extensions.rdf, and Sogo Config:

Updates.php
$plugins
= array( sogo-connec...@inverse.ca
 = array( application = thunderbird,
   version = 3.104,
   filename = sogo-connector-3.104.xpi ),
 sogo-integra...@inverse.ca
 = array( application = thunderbird,
   version = 3.104,
   filename = sogo-integrator-3.104-gcmm.xpi ),
 {3550f703-e582-4d05-9a08-453d09bdfdc6}
 = array( application = thunderbird,
   version = 1.0b2.104i,
   filename = lightning-1.0b2.104i_win32.xpi ));

$applications
= array( thunderbird = 
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id

em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion,
 firefox = em:id{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/em:id
em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion );

$pluginname = $HTTP_GET_VARS[plugin];
$plugin = $plugins[$pluginname];
$application = $applications[$plugin[application]];

if ( $plugin ) {
  $platform = $HTTP_GET_VARS[platform];
  if ( $platform
 file_exists( $platform . / . $plugin[filename] ) ) {
$plugin[filename] = $platform . / . $plugin[filename];
  }
  elseif ( !file_exists( $plugin[filename] ) ) {
$plugin = false;
  }
}

if ( $plugin ) {
  header(Content-type: text/xml; charset=utf-8);
  echo ('?xml version=1.0?' . \n);
?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
Description about=urn:mozilla:extension:?= $pluginname ?
em:updates
Seq
li
Description
em:version?= $plugin[version] ?/em:version
em:targetApplication
Description?= $applications[$plugin[application]] ?
em:updateLinkhttp://globalchangemultimedia.net/sogoscripts?= 
$plugin[filename] ?/em:updateLink

/Description
/em:targetApplication
/Description
/li
/Seq
/em:updates
/Description
/RDF
?php
} else {
  header(Content-type: text/plain; charset=utf-8, true, 404);
  echo( 'Plugin not found' );
}

Extensions.rdf
?xml version=1.0?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:isi=http://inverse.ca/sogo-integrator/;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
  xmlns:NC=http://home.netscape.com/NC-rdf#;
Seq about=http://inverse.ca/sogo-integrator/extensions;

isi:updateURL=http://globalchangemultimedia.net/sogoscripts/updates_TB3.php?plugin=%ITEM_ID%amp;version=%ITEM_VERSION%amp;platform=%PLATFORM%;

li
Description
em:id=sogo-integra...@inverse.ca
em:name=SOGo Integrator/
/li
li
Description
em:id=sogo-connec...@inverse.ca
em:name=SOGo Connector/
/li
/Seq
/RDF

.GNUStepDefaults
{
NSGlobalDomain = {
};
gdnc = {
};
sogod = {
OCSFolderInfoURL = 
mysql://sogodb:u...@db.ip.address/sogo/sogo_folder_info;

SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = LDAP;
SOGoCalendarDefaultRoles = (
PublicViewer,
ConfidentialDAndTViewer
);
SOGoDraftsFolderName = Drafts;
SOGoForceIMAPLoginWithEmail = YES;
SOGoIMAPServer = triata.globalchangemultimedia.net;
SOGoLanguage = English;
SOGoMailDomain = triata.globalchangemultimedia.net;
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = Other Users;
SOGoProfileURL = 
mysql://sogodb:u...@db.ip.address/sogo/sogo_user_profile;

SOGoSMTPServer = triata.globalchangemultimedia.net;
SOGoSentFolderName = Sent;
SOGoSharedFolderName = Shared Folders;
SOGoSpecialFoldersInRoot = YES;
SOGoSuperUsernames = (
a...@globalchangemusic.org
);
SOGoTimeZone = America/Phoenix;
SOGoTrashFolderName = Trash;
SOGoUserSources = (
{
type = sql;
id = directory;
viewURL = 
mysql://maildb:passw...@db.ip.address/sogo_auth;

canAuthenticate = YES;
isAddressBook = NO;
userPasswordAlgorithm = md5;

}
);
SxVMemLimit = 1024;
WOHttpAllowHost = (
localhost,
localhost.localdomain,
127.0.0.1,
140.99.55.54
);
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 2;
WOUseRelativeURLs = NO;
 };
}





On 11-03-01 6:45 PM, Asai wrote:
Can anyone help me out here?  I'm kind of going nuts and frustrated 
with SOGo right now.  I think it's a great product, but I can't seem 
to make it work on TB.
Show your SOGo Integrator (extensions.rdf), your updates.php (if 
you're using it) and your sogod configuration.






--
--asai

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

Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Ludovic Marcotte

On 11-03-02 10:23 AM, Asai wrote:

Thanks, Ludovic.  Here are Updates.php, Extensions.rdf, and Sogo Config:

Forgot to ask also for your SOGo's Apache configuration.

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] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai

Apache Config:
Alias /SOGo.woa/WebServerResources/ \
  /usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
  /usr/GNUstep/System/Library/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2

LocationMatch 
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)

  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 On

# 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 80
  RequestHeader set x-webobjects-server-name globalchangemultimedia.net
  RequestHeader set x-webobjects-server-url 
http://globalchangemultimedia.net;


## 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]



On 3/2/2011 8:26 AM, Ludovic Marcotte wrote:

On 11-03-02 10:23 AM, Asai wrote:

Thanks, Ludovic.  Here are Updates.php, Extensions.rdf, and Sogo Config:

Forgot to ask also for your SOGo's Apache configuration.

Regards,



--
--asai

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

Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Ludovic Marcotte

You got:

tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0


because you have :

SOGoUserSources = (
{
type = sql;
id = directory;

while in your SOGo Integrator's site.js, you have:

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

It should be directory.

That's a start. For the calendar issue, we'll need more meat - for 
example, a full tcpflow capture between Thunderbird and SOGo when you 
start Thunderbird until it has finished starting.


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] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai
Thanks, Ludovic.  I can provide a packet capture, but I'd rather not 
post it to the list.  Can I contact you offlist about this?


On 3/2/2011 1:47 PM, Ludovic Marcotte wrote:

You got:

tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0


because you have :

SOGoUserSources = (
{
type = sql;
id = directory;

while in your SOGo Integrator's site.js, you have:

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

It should be directory.

That's a start. For the calendar issue, we'll need more meat - for 
example, a full tcpflow capture between Thunderbird and SOGo when you 
start Thunderbird until it has finished starting.


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)


--
--asai

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

Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Ludovic Marcotte
Yes.
-- 
Ludovic Marcotte :: +1.514.755.3630
Inverse inc. :: http://inverse.ca

-Original Message-
From: Asai a...@globalchangemusic.org
Date: Wed, 02 Mar 2011 15:24:50 
To: users@sogo.nu
Reply-To: users@sogo.nu
Subject: Re: [SOGo] Thunderbird Calendars Not Loading

Thanks, Ludovic.  I can provide a packet capture, but I'd rather not 
post it to the list.  Can I contact you offlist about this?

On 3/2/2011 1:47 PM, Ludovic Marcotte wrote:
 You got:

 tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
 /SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
 72/339 0.003 - - 0

 because you have :
 SOGoUserSources = (
 {
 type = sql;
 id = directory;
 while in your SOGo Integrator's site.js, you have:

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

 It should be directory.

 That's a start. For the calendar issue, we'll need more meat - for 
 example, a full tcpflow capture between Thunderbird and SOGo when you 
 start Thunderbird until it has finished starting.

 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)

-- 
--asai

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

[SOGo] Thunderbird Calendars Not Loading

2011-03-01 Thread Asai

Hi Guys,

Using TB 3.1 and SOGo 3.104 Connector and Integrator along with 
Lightning 1.0b2.104i, with Sogo 3.5 on


Having a real problem here with shared calendars.  Basically while I can 
see them no problem in the web version of sogo, the calendars I'm 
subscribed to in TB don't show up.  My user account is a Sogo admin, 
we're using MySQL authentication and it seems to work fine.  There are 
no error messages at all here.  Not in the logs, not in the TB error 
console.  I'm wondering about one thing though.  In the Sogo logs I do 
see 207 http response codes:


tria - - [01/Mar/2011:16:32:56 GMT] REPORT 
/SOGo/dav/u...@mydomain.org/Calendar/C4A714D4-EBC0-0001-53A2-1B617C301118/ 
HTTP/1.1 207 125/245 0.019 - - 0


I'm also seeing this happen a lot of these 404s after I deleted my 
account from the database, recreated my TB profile and reinstalled SOGo 
plugins:


tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0



Can anyone help me out here?  I'm kind of going nuts and frustrated with 
SOGo right now.  I think it's a great product, but I can't seem to make 
it work on TB.


--
--asai

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


Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-01 Thread Asai

Sorry, that should have been SOGo version 1.3.4

On 3/1/2011 4:45 PM, Asai wrote:

Hi Guys,

Using TB 3.1 and SOGo 3.104 Connector and Integrator along with 
Lightning 1.0b2.104i, with Sogo 3.5 on


Having a real problem here with shared calendars.  Basically while I 
can see them no problem in the web version of sogo, the calendars I'm 
subscribed to in TB don't show up.  My user account is a Sogo admin, 
we're using MySQL authentication and it seems to work fine.  There are 
no error messages at all here.  Not in the logs, not in the TB error 
console.  I'm wondering about one thing though.  In the Sogo logs I do 
see 207 http response codes:


tria - - [01/Mar/2011:16:32:56 GMT] REPORT 
/SOGo/dav/u...@mydomain.org/Calendar/C4A714D4-EBC0-0001-53A2-1B617C301118/ 
HTTP/1.1 207 125/245 0.019 - - 0


I'm also seeing this happen a lot of these 404s after I deleted my 
account from the database, recreated my TB profile and reinstalled 
SOGo plugins:


tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0



Can anyone help me out here?  I'm kind of going nuts and frustrated 
with SOGo right now.  I think it's a great product, but I can't seem 
to make it work on TB.




--
--asai

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


Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-01 Thread Ludovic Marcotte

On 11-03-01 6:45 PM, Asai wrote:
Can anyone help me out here?  I'm kind of going nuts and frustrated 
with SOGo right now.  I think it's a great product, but I can't seem 
to make it work on TB.
Show your SOGo Integrator (extensions.rdf), your updates.php (if you're 
using it) and your sogod configuration.


--
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