[SOGo] Extensions or plugins?

2013-04-06 Thread Michael Vogel
Hi!

Are there extensions for SOGo or does it come as is?

I do not mean things like the Outlook-connectivity. I mean some kind of 
third-party plugins.

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


Re: [SOGo] Extensions or plugins?

2013-04-06 Thread Steve Ankeny

Did you check the downloads (frontends) page?

http://www.sogo.nu/english/downloads/frontends.html

On 04/06/2013 07:54 AM, Michael Vogel wrote:

Hi!

Are there extensions for SOGo or does it come as is?

I do not mean things like the Outlook-connectivity. I mean some kind of 
third-party plugins.

Michael


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


Re: [SOGo] Extensions or plugins?

2013-04-06 Thread Michael Vogel
 
Am Samstag, 06. April 2013 14:17 CEST, Steve Ankeny stev...@cinergymetro.net 
schrieb: 
 
 Did you check the downloads (frontends) page?

I already installed them. :)

I thought about plugins to maybe extend the webfrontend to read RSS feeds and 
stuff like that.

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


[SOGo] how to start, newcomer

2013-04-06 Thread stanek
I have tried ZEG - VMDK, and ended up with just freezes .. esxi 5.1 .. HP ML310
.. I really dont know where is problem but I dont have any troubles to run many
instances of ubuntu 12.04 LTS.

I am impressed with sogo so I dont want to give up easily .. so I have tried to
install sogo on Ubuntu 12.04 LTS.

I have this questions / issues :

1, Am I supposed to create user sogo and do all installations and settings
under this user ?

2, After the installation there was no GNUstep/Defaults dir .. is it ok ?

3, Am I supposed to install Apache prior to sogo installation ?

4, Theres is no sogod service after sogo installation :... ?

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


Re: [SOGo] how to start, newcomer

2013-04-06 Thread Michael Vogel
Hi!

Am 06.04.13 14:28, schrieb sta...@bca.cz:
 I am impressed with sogo so I dont want to give up easily .. so I have tried 
 to
 install sogo on Ubuntu 12.04 LTS.

It's just like mine configuration.

 I have this questions / issues :

 1, Am I supposed to create user sogo and do all installations and settings
 under this user ?

The user should be added automatically when you install the packages.

 2, After the installation there was no GNUstep/Defaults dir .. is it ok ?

You have to do the configuration by hand. Then the settings file will be
created. You already had a look at the documentation?

 3, Am I supposed to install Apache prior to sogo installation ?

Your need Apache, an SMTP-server and an IMAP server.

 4, Theres is no sogod service after sogo installation :... ?

That should be there - including the startup script.

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


Re: [SOGo] Extensions or plugins?

2013-04-06 Thread Steve Ankeny

I'm unsure about those.

Did you grab the 1.9.1 version of Lightning off the extensions page?  
(not the frontends)


That's an important upgrade (but doesn't effect RSS)

And, did you modify the Integrator to match your installation?  See the 
directions.


On 04/06/2013 08:24 AM, Michael Vogel wrote:
  
Am Samstag, 06. April 2013 14:17 CEST, Steve Ankeny stev...@cinergymetro.net schrieb:
  

Did you check the downloads (frontends) page?

I already installed them. :)

I thought about plugins to maybe extend the webfrontend to read RSS feeds and 
stuff like that.

Michael


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


Re: [SOGo] Extensions or plugins?

2013-04-06 Thread Michael Vogel
 
Am Samstag, 06. April 2013 14:50 CEST, Steve Ankeny stev...@cinergymetro.net 
schrieb: 
 
 I'm unsure about those.
 
 Did you grab the 1.9.1 version of Lightning off the extensions page?  
 (not the frontends)
 
 That's an important upgrade (but doesn't effect RSS)
 
 And, did you modify the Integrator to match your installation?  See the 
 directions.

I guess I haven't clearly explained what I want :) I thought about something to 
extend the server functionality. That means I'm searching for some kind of 
server plugins.

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


Re: Re: [SOGo] how to start, newcomer

2013-04-06 Thread stanek
I work with documentation.

I dint have Apache installed when installion sogo packages.. I havent spoted
mention about Apache requirement before at the doc ..

My scenarion:

Ubuntu 12.04.2 LTS
pre-istnallations - postfix, Cyrus, database server, LDAP

My sogo instalation steps (logged as su): 
sudo apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4
sudo apt-get update

inserted  deb http://inverse.ca/ubuntu precise precise  TO
/etc/apt/sources.list

sudo apt-get update
sudo apt-get install sogo

Am I supposed to be logged as su when installing ? 

Should I try nightly builds .. not sure at all about difference ?

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


Re: Re: [SOGo] Cannot get SOGo/OpenChange working with Cyrus-IMAP

2013-04-06 Thread lloydsystems
Hi Jean,

Thanks very much for your response.  I created a sogo.conf file from the output
of the 'sogo-tool dump-defaults' and it works!  I found by trial and error it
accepts C-style comments too.

Thanks also for the tip about running imapd with '-N' option.  That is
certainly better than using pwcheck_method = alwaystrue because, on EL, that
requires a rebuild of the SASL rpm to enable the option.  Should add it to the
documentation one day.

I also updated the openchange packages (3 of) to those on the nightly build
and, as you suggested, this fixed the 100% CPU usage problem with paster.

I ran the openchange_cleanup.py script and got the following output:

Logged in as 'testuser'
Traceback (most recent call last):
  File ./openchange_cleanup.py, line 254, in module
main()
  File ./openchange_cleanup.py, line 88, in main
sqlCleanup(username)
  File ./openchange_cleanup.py, line 229, in sqlCleanup
OCSFolderInfoURL = getOCSFolderInfoURL()
  File ./openchange_cleanup.py, line 193, in getOCSFolderInfoURL
sogoDefaults = plistlib.readPlist(sogoSysDefaultsFile)
  File /usr/lib64/python2.6/plistlib.py, line 78, in readPlist
rootObject = p.parse(pathOrFile)
  File /usr/lib64/python2.6/plistlib.py, line 406, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0

so I'm not sure if it was successful.  I deleted the user profile and tried
Outlook again, but unfortunately I got the same result as before (as posted on
the 5th).  Outlook hangs at the splash screen for 12 minutes, then opens and
displays mail.  When it does the maillog shows testuser logged in on service
'imaplocal' (127.0.0.1).  If the authentication works, why does Outlook hang
for 12 minutes?

The apache logs are not much help.  The ocsmanager log shows little more than
service start/stop messages.  When Outlook does open it shows some messages
'client did not pass auth cookie'.  The samba log, just before Outlook hangs
shows this:

registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
[ERROR] 0x0x2b3f868[NGLdapAttribute] cound not convert value of objectGUID to
string
[ERROR] 0x0x3719c78[NGLdapAttribute] cound not convert value of objectSid to
string
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write' already exists
in DAV permissions table
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write-properties'
already exists in DAV permissions table
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write-content' already
exists in DAV permissions table
[ERROR] 0x0x4191128[NGLdapAttribute] cound not convert value of objectGUID to
string
[ERROR] 0x0x4191888[NGLdapAttribute] cound not convert value of objectSid to
string
WARNING: IMAP4 connection pooling is disabled!

Once Outlook opens there is reams of openchange-related junk written to the log
making it impossible to gather anything useful.  Looks more like programmers
debugging info than a log file.  Maybe this is of some help?

Regards,

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


Re: [SOGo] Cannot get SOGo/OpenChange working with Cyrus-IMAP

2013-04-06 Thread Jean Raby

On 13-04-06 9:38 AM, lloydsystems wrote:

Hi Jean,

Thanks very much for your response.  I created a sogo.conf file from the output
of the 'sogo-tool dump-defaults' and it works!  I found by trial and error it
accepts C-style comments too.
I didn't know that dictionaryWithContentsOfFile would ignore lines with C-style 
(/* ... */) comments.

Thanks for pointing this out.


Thanks also for the tip about running imapd with '-N' option.  That is
certainly better than using pwcheck_method = alwaystrue because, on EL, that
requires a rebuild of the SASL rpm to enable the option.  Should add it to the
documentation one day.

Yes indeed.


I also updated the openchange packages (3 of) to those on the nightly build
and, as you suggested, this fixed the 100% CPU usage problem with paster.

I ran the openchange_cleanup.py script and got the following output:

Logged in as 'testuser'
Traceback (most recent call last):
   File ./openchange_cleanup.py, line 254, in module
 main()
   File ./openchange_cleanup.py, line 88, in main
 sqlCleanup(username)
   File ./openchange_cleanup.py, line 229, in sqlCleanup
 OCSFolderInfoURL = getOCSFolderInfoURL()
   File ./openchange_cleanup.py, line 193, in getOCSFolderInfoURL
 sogoDefaults = plistlib.readPlist(sogoSysDefaultsFile)
   File /usr/lib64/python2.6/plistlib.py, line 78, in readPlist
 rootObject = p.parse(pathOrFile)
   File /usr/lib64/python2.6/plistlib.py, line 406, in parse
 parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0

so I'm not sure if it was successful.  I deleted the user profile and tried
Outlook again, but unfortunately I got the same result as before (as posted on
the 5th).  Outlook hangs at the splash screen for 12 minutes, then opens and
displays mail.  When it does the maillog shows testuser logged in on service
'imaplocal' (127.0.0.1).  If the authentication works, why does Outlook hang
for 12 minutes?


The script was not successful.
You have to update sogo to the nightly version too.
Or at least, grab the cleanup script for the git repo. The plistlib module can 
only read xml plists, so it will fail to parse sogo.conf.

The new version don't use that module anymore.

Do the steps again:
  update sogo to nigthly
  cleanup testuser
  restart samba
  new outlook profile


The apache logs are not much help.  The ocsmanager log shows little more than
service start/stop messages.  When Outlook does open it shows some messages
'client did not pass auth cookie'.  The samba log, just before Outlook hangs
shows this:

registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
[ERROR] 0x0x2b3f868[NGLdapAttribute] cound not convert value of objectGUID to
string
[ERROR] 0x0x3719c78[NGLdapAttribute] cound not convert value of objectSid to
string
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write' already exists
in DAV permissions table
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write-properties'
already exists in DAV permissions table
[WARN] 0x0x4517108[SOGoWebDAVAclManager] entry '{DAV:}write-content' already
exists in DAV permissions table
[ERROR] 0x0x4191128[NGLdapAttribute] cound not convert value of objectGUID to
string
[ERROR] 0x0x4191888[NGLdapAttribute] cound not convert value of objectSid to
string
WARNING: IMAP4 connection pooling is disabled!

Once Outlook opens there is reams of openchange-related junk written to the log
making it impossible to gather anything useful.  Looks more like programmers
debugging info than a log file.  Maybe this is of some help?

It is programmer debugging info, and the log file ;-)



Regards,

Stephen Jones




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


[SOGo] no login posible anymore after igestis update

2013-04-06 Thread Dirk Werner
Hi,
I have just updated igestis to version 2.3.5 and can't login anymore!
I'm getting 'Invaild username or password'
In the igestis log file I have quite a few of these lines:

2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php

Any idea?

Best regards
Dirk


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


Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Olivier Bitsch
Hi Dirk,

Can you please enable the debug mode (edit /usr/share/igestis/index.php)
and try to login again, then give me the trace of the debug given in the
web page.

When you updated igestis, did you keep the config file? If not, the issue
is coming from that, you have to copy back the config
/etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist (or something like that)
to /etc/igestis/ConfigIgestisGlobalVars.php

Thanks.

Olivier.


2013/4/6 Dirk Werner werdi4...@googlemail.com

 Hi,
 I have just updated igestis to version 2.3.5 and can't login anymore!
 I'm getting 'Invaild username or password'
 In the igestis log file I have quite a few of these lines:

 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

 Any idea?

 Best regards
 Dirk


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

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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Dirk Werner
Hi Olivier,

thanks for your quick reply. I did not keep the config file when
updating and the file /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist
does not exist anymore!

Here's the log output with debug = true:

2013-04-06 20:35:56 - Unknown - [8] Use of undefined constant CORE_ADMIN
- assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:35:57 - Unknown - [8] Use of undefined constant CORE_ADMIN
- assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN
- assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
Erreur fatale sur la ligne 547 dans le fichier
/usr/share/igestis/includes/common_librairie.php
2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN
- assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
/usr/share/igestis/includes/common_librairie.php

Best regards
Dirk

On 04/06/2013 08:28 PM, Olivier Bitsch wrote:
 Hi Dirk,

 Can you please enable the debug mode (edit
 /usr/share/igestis/index.php) and try to login again, then give me the
 trace of the debug given in the web page.

 When you updated igestis, did you keep the config file? If not, the
 issue is coming from that, you have to copy back the config
 /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist (or something like
 that) to /etc/igestis/ConfigIgestisGlobalVars.php

 Thanks.

 Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com
 mailto:werdi4...@googlemail.com

 Hi,
 I have just updated igestis to version 2.3.5 and can't login anymore!
 I'm getting 'Invaild username or password'
 In the igestis log file I have quite a few of these lines:

 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

 Any idea?

 Best regards
 Dirk


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


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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Olivier Bitsch
Right,

Check in the folder /usr/share/igestis/config/igestis/ if the configuration
backup is not present. Also, can you please give me the output of ls
/etc/igestis

Else, simply make a dpkg-reconfigure igestis and re-answer to igestis
questions, the config file will be re-created (don't re-create the database
when asked).

Best regards.

Olivier.


2013/4/6 Dirk Werner werdi4...@googlemail.com

  Hi Olivier,

 thanks for your quick reply. I did not keep the config file when updating
 and the file /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist does not
 exist anymore!

 Here's the log output with debug = true:

 2013-04-06 20:35:56 - Unknown - [8] Use of undefined constant CORE_ADMIN -
 assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8] Use of undefined constant CORE_ADMIN -
 assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN -
 assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN -
 assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

 Best regards
 Dirk


 On 04/06/2013 08:28 PM, Olivier Bitsch wrote:

 Hi Dirk,

  Can you please enable the debug mode (edit /usr/share/igestis/index.php)
 and try to login again, then give me the trace of the debug given in the
 web page.

  When you updated igestis, did you keep the config file? If not, the
 issue is coming from that, you have to copy back the config
 /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist (or something like that)
 to /etc/igestis/ConfigIgestisGlobalVars.php

  Thanks.

  Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com

 Hi,
 I have just updated igestis to version 2.3.5 and can't login anymore!
 I'm getting 'Invaild username or password'
 In the igestis log file I have quite a few of these lines:

 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 19:58:28 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

 Any idea?

 Best regards
 Dirk


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



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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Dirk Werner


On 04/06/2013 08:49 PM, Olivier Bitsch wrote:
 Right,

 Check in the folder /usr/share/igestis/config/igestis/ if the
 configuration backup is not present. Also, can you please give me the
 output of ls /etc/igestis



ls -al /usr/share/igestis/config/igestis/

..
-rw-r--r-- 1 root root 23762 Apr  2 15:29 ConfigControllers.php
lrwxrwxrwx 1 root root40 Apr  6 20:51 ConfigIgestisGlobalVars.php -
/etc/igestis/ConfigIgestisGlobalVars.php
-rw-r--r-- 1 root root  8412 Apr  2 15:02
ConfigIgestisGlobalVars-template.php
-rw-r--r-- 1 root root31 Jan  2 14:12 .htaccess
-rw-r--r-- 1 root root   152 Apr  6 20:51 LOG_FILE

ls -al /etc/igestis

apache.conf
-rwxr-x---   1 root www-data 8526 Apr  6 20:51 ConfigIgestisGlobalVars.php
-rwxr-x---   1 root www-data 8412 Apr  2 15:02
ConfigIgestisGlobalVars.php.ucf-dist
-rwxr-x---   1 root www-data  536 Apr  6 20:51 debian-db.php


 Else, simply make a dpkg-reconfigure igestis and re-answer to igestis
 questions, the config file will be re-created (don't re-create the
 database when asked).


That did not create the file, the contents of the above listed
directories don't change after having done dpk-reconfigure igestis!

Best regards

Dirk
 Best regards.

 Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com
 mailto:werdi4...@googlemail.com

 Hi Olivier,

 thanks for your quick reply. I did not keep the config file when
 updating and the file
 /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist does not exist
 anymore!

 Here's the log output with debug = true:

 2013-04-06 20:35:56 - Unknown - [8] Use of undefined constant
 CORE_ADMIN - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28
 dans le fichier /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8] Use of undefined constant
 CORE_ADMIN - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28
 dans le fichier /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant
 CORE_ADMIN - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28
 dans le fichier /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is
 deprecated - Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant
 CORE_ADMIN - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28
 dans le fichier /usr/share/igestis/includes/common_librairie.php

 Best regards
 Dirk


 On 04/06/2013 08:28 PM, Olivier Bitsch wrote:
 Hi Dirk,

 Can you please enable the debug mode (edit
 /usr/share/igestis/index.php) and try to login again, then give
 me the trace of the debug given in the web page.

 When you updated igestis, did you keep the config file? If not,
 the issue is coming from that, you have to copy back the config
 /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist (or something
 like that) to /etc/igestis/ConfigIgestisGlobalVars.php

 Thanks.

 Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com
 mailto:werdi4...@googlemail.com

 Hi,
 I have just updated igestis to version 2.3.5 and can't login
 anymore!
 I'm getting 

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Olivier Bitsch
May be the backup is

/etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist

try

mv /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
/etc/igestis/ConfigIgestisGlobalVars.php

Olivier


2013/4/6 Dirk Werner werdi4...@googlemail.com



 On 04/06/2013 08:49 PM, Olivier Bitsch wrote:

 Right,

  Check in the folder /usr/share/igestis/config/igestis/ if the
 configuration backup is not present. Also, can you please give me the
 output of ls /etc/igestis



 ls -al /usr/share/igestis/config/igestis/

 ..
 -rw-r--r-- 1 root root 23762 Apr  2 15:29 ConfigControllers.php
 lrwxrwxrwx 1 root root40 Apr  6 20:51 ConfigIgestisGlobalVars.php -
 /etc/igestis/ConfigIgestisGlobalVars.php
 -rw-r--r-- 1 root root  8412 Apr  2 15:02
 ConfigIgestisGlobalVars-template.php
 -rw-r--r-- 1 root root31 Jan  2 14:12 .htaccess
 -rw-r--r-- 1 root root   152 Apr  6 20:51 LOG_FILE

 ls -al /etc/igestis

 apache.conf
 -rwxr-x---   1 root www-data 8526 Apr  6 20:51 ConfigIgestisGlobalVars.php
 -rwxr-x---   1 root www-data 8412 Apr  2 15:02
 ConfigIgestisGlobalVars.php.ucf-dist
 -rwxr-x---   1 root www-data  536 Apr  6 20:51 debian-db.php



  Else, simply make a dpkg-reconfigure igestis and re-answer to igestis
 questions, the config file will be re-created (don't re-create the database
 when asked).


 That did not create the file, the contents of the above listed directories
 don't change after having done dpk-reconfigure igestis!

 Best regards

 Dirk

  Best regards.

  Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com

  Hi Olivier,

 thanks for your quick reply. I did not keep the config file when updating
 and the file /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist does not
 exist anymore!

 Here's the log output with debug = true:

 2013-04-06 20:35:56 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:35:57 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 20:36:24 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

 Best regards
 Dirk


 On 04/06/2013 08:28 PM, Olivier Bitsch wrote:

 Hi Dirk,

  Can you please enable the debug mode (edit
 /usr/share/igestis/index.php) and try to login again, then give me the
 trace of the debug given in the web page.

  When you updated igestis, did you keep the config file? If not, the
 issue is coming from that, you have to copy back the config
 /etc/igestis/ConfigIgestisGlobalVars.php.dpkg-dist (or something like that)
 to /etc/igestis/ConfigIgestisGlobalVars.php

  Thanks.

  Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com

 Hi,
 I have just updated igestis to version 2.3.5 and can't login anymore!
 I'm getting 'Invaild username or password'
 In the igestis log file I have quite a few of these lines:

 

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Olivier Bitsch
Did you tried the dpkg-reconfigure? The issue about the mkdir is apparently
igestis cannot create the cache folder used by twig.

The cache folder has to be /var/cache/igestis, but the best is to redo
dpkg-reconfigure to be sure.

Olivier.


2013/4/6 Dirk Werner werdi4...@googlemail.com



 On 04/06/2013 09:03 PM, Olivier Bitsch wrote:
  May be the backup is
 
  /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 
  try
 
  mv /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 /etc/igestis/ConfigIgestisGlobalVars.php
 
  Olivier


 I did this and did set my domian name in the file but the result is
 still 'involid udername or password' Here is the log with debug =true:

 2013-04-06 21:15:16 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

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

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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Olivier Bitsch
I you still have issue, may be it's easier to talk over google talk if you
want.

Olivier.


2013/4/6 Olivier Bitsch olivier.bit...@gmail.com

 Did you tried the dpkg-reconfigure? The issue about the mkdir is
 apparently igestis cannot create the cache folder used by twig.

 The cache folder has to be /var/cache/igestis, but the best is to redo
 dpkg-reconfigure to be sure.

 Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com



 On 04/06/2013 09:03 PM, Olivier Bitsch wrote:
  May be the backup is
 
  /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 
  try
 
  mv /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 /etc/igestis/ConfigIgestisGlobalVars.php
 
  Olivier


 I did this and did set my domian name in the file but the result is
 still 'involid udername or password' Here is the log with debug =true:

 2013-04-06 21:15:16 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le fichier
 /usr/share/igestis/includes/common_librairie.php

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



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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Dirk Werner
Hey thanks for the offer - I'm currently trying another dpkg-reconfigure
and will be back in a couple of minutes with the results!

On 04/06/2013 09:38 PM, Olivier Bitsch wrote:
 I you still have issue, may be it's easier to talk over google talk if
 you want.

 Olivier.


 2013/4/6 Olivier Bitsch olivier.bit...@gmail.com
 mailto:olivier.bit...@gmail.com

 Did you tried the dpkg-reconfigure? The issue about the mkdir is
 apparently igestis cannot create the cache folder used by twig.

 The cache folder has to be /var/cache/igestis, but the best is to
 redo dpkg-reconfigure to be sure.

 Olivier.


 2013/4/6 Dirk Werner werdi4...@googlemail.com
 mailto:werdi4...@googlemail.com



 On 04/06/2013 09:03 PM, Olivier Bitsch wrote:
  May be the backup is
 
  /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 
  try
 
  mv /etc/igestis/ConfigIgestisGlobalVars.php.ucf-dist
 /etc/igestis/ConfigIgestisGlobalVars.php
 
  Olivier


 I did this and did set my domian name in the file but the
 result is
 still 'involid udername or password' Here is the log with
 debug =true:

 2013-04-06 21:15:16 - Unknown - [8] Use of undefined constant
 CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le
 fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or
 directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:17 - Unknown - [2] mkdir(): No such file or
 directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant
 CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le
 fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [8192] Function eregi() is
 deprecated -
 Erreur fatale sur la ligne 547 dans le fichier
 /usr/share/igestis/includes/common_librairie.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or
 directory -
 Erreur fatale sur la ligne 36 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [2] mkdir(): No such file or
 directory -
 Erreur fatale sur la ligne 37 dans le fichier
 /usr/share/igestis/includes/coreClasses/Utils/GetTextCaching.php
 2013-04-06 21:15:26 - Unknown - [8] Use of undefined constant
 CORE_ADMIN
 - assumed 'CORE_ADMIN' - Erreur fatale sur la ligne 28 dans le
 fichier
 /usr/share/igestis/includes/common_librairie.php

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



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

Re: [SOGo] no login posible anymore after igestis update

2013-04-06 Thread Dirk Werner
I haven't google talk used by now and I think I need to install
something first. The dpk-reconfigure did not change the situation. Here
is my ConfigIgestisGlobalVars.php , can you see something spurious in there?

/?php
/**
 * This class will permitt to set all global variables of the application
 * @Author : Gilles Hemmerlé gille...@iabsis.com
 */

if(file_exists('/etc/igestis/debian-db.php')) {
  include '/etc/igestis/debian-db.php';
  define(IGESTIS_CORE_MYSQL_HOST, $dbserver);
  define(IGESTIS_CORE_MYSQL_LOGIN, $dbuser);
  define(IGESTIS_CORE_MYSQL_PASSWORD, $dbpass);
  define(IGESTIS_CORE_MYSQL_DATABASE, $dbname);
}

define(IGESTIS_CORE_SERVER_ADDRESS, (isset($_SERVER['HTTPS']) ?
https://; : http://;) . $_SERVER['HTTP_HOST'] ./igestis);
define(IGESTIS_CORE_ROOT_FOLDER, __DIR__ . /../../);
define(IGESTIS_CORE_VERSION, 2.2.7);
define(IGESTIS_CORE_TEXTDOMAIN, igestis .  IGESTIS_CORE_VERSION);

class ConfigIgestisGlobalVars  {

  /**
   * @var bolean Debug mode for developper only, show a message on top
of the page
   * This value is now set on the index.php.
   */
  const DEBUG_MODE = DEBUG_MODE;

  /**
   * @var string log file path.
   * Specify a writeable and existing path for the apache user.
   * (www-data under debian, apache under redhat).
   */
  const LOG_FILE = /var/log/igestis/igestis.log;


  /**
   * @var varchar used to define the admin login account. If false or not
   * defined, the login will remain root.
   */
  const IGESTIS_CORE_ADMIN = root;


  /**
   * @var bolean if true, iGestis uses LDAP for authentication and
   * automatically add Employees, Customers and Providers in LDAP.
   */
  const USE_LDAP = true;

  /**
   * @var string Mysql Hostname
   * Replace if install by hand (example : localhost).
   */
  const MYSQL_HOST = IGESTIS_CORE_MYSQL_HOST;

/**
   * @var string Mysql login
   * Replace if install by hand (example : igestis).
   */
  const MYSQL_LOGIN = IGESTIS_CORE_MYSQL_LOGIN;

  /**
   * @var string Mysql Password.
   * Replace if install by hand (example : 123456).
   */
  const MYSQL_PASSWORD = IGESTIS_CORE_MYSQL_PASSWORD;

  /**
   * @var string Mysql Database for igestis.
   * Replace if install by hand (example : igestis).
   */
  const MYSQL_DATABASE = IGESTIS_CORE_MYSQL_DATABASE;

  /**
   * @var string Ldap URIS used for the LDAP connexion
   * Usually use ldap:/// URI or ldapi///
   */
  const LDAP_URIS = ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi;

  /**
   * @var string Ldap base used for the LDAP connexion
   * This base is defined when OpenLDAP is installed.
   * If Active Directory is used, place here the domain
   * name, by example for a domain.local place
   * dc=domain,dc=local.
   */
  const LDAP_BASE = dc=airwerk,dc=net;

  /**
   * @var string LDAP_AD_MODE Is the using Active directory
   * Specify if your directory is an Active Directory. Some
   * user attributes are different between Active Directory
   * and OpenLDAP, iGestis will adapt his configuration. Set
   * true when using Active Directory else set false.
   */
  const LDAP_AD_MODE = true;

/**
   * @var string LDAP_VERSION Could be 2 or 3,
   * depending of the server you are using
   * Use version 3 for OpenLDAP or Active Directory.
   * Use version 2 for Samba4.
   */
  const LDAP_VERSION = 2;


  /**
   * @var string LDAP_AUTO_IMPORT_USER make igestis
   * automatically create the user in igestis.
   * If a user is present in Directory (AD or OpenLDAP)
   * but not created in iGestis, the user is automatically
   * imported in iGestis if the user use his credential in
   * iGestis.
   */
  const LDAP_AUTO_IMPORT_USER = false;

  /**
   * @var LDAP_CUSTOM_BIND define a custom bind.
   * By default, iGestis will try to login with
   * uid=%username% followed by LDAP_USERS_OU
   * (Usually uid=%username%,ou=Users,dc=example,dc=local)
   * but when using Active Directory, this convention is
   * not working and the bind syntax to login is %username@example.local
   * In case of AD use '%u@domain.local' (where %u is the username).
   */
  const LDAP_CUSTOM_BIND = %u...@airwerk.net;

  /**
   * @var LDAP_CUSTOM_FIND define a custom finder.
   * This is the search string used to find a username in OpenLDAP or
   * Active Directory.
   */
  const LDAP_CUSTOM_FIND =
'(|((objectClass=user)(sAMAccountName=%u))((objectClass=posixAccount)(uid=%u)))';

/**
   * @var string Ldap admin login used for the LDAP connexion.
   * Replace by Administrator login if you use Active directory.
   */
  const LDAP_ADMIN = Administrator;

  /**
   * @var string Ldap admin password used for the LDAP connexion.
   * OpenLDAP or Active Directory password for the LDAP_ADMIN account.
   * This is strongly recommand to use a user with writeable privilege
   * on all AD or OpenLDAP folder.
   */
  const LDAP_PASSWORD = Airwerkadm1;

  /**
   *
   * @var string Orgnisation Unit where is store the Igestis Users.
   * Default location where new users will be created.
   * Change to cn=Users,dc=example,dc=local for 

Re: Re: [SOGo] Cannot get SOGo/OpenChange working with Cyrus-IMAP

2013-04-06 Thread lloydsystems
Hi Jean,

OK, I grabbed the latest openchange_cleanup.py script and ran it and, from the
output, appeared to be successful.

I tried Outlook again with a new profile and this time it did not hang at the
splash screen.  However, there was no email visible other than a message
created by Outlook about sync issues, seemingly with Inbox.  It did create the
folder 'Junk E-mail'.  Attempting to update folders failed.  After a few
minutes Outlook said it was disconnected - game over.  

In the samba log file there were many messages related to MAPIStore___Context
saying 'you should *never* get here'!!  The last log entry was a 'panic:
internal error'.

The maillog showed 'testuser nopassword' logged in on service 'imaplocal'.  The
imap protocol logging shows connection activity by testuser, but nothing
retrieved.

So, I repeated the whole process, and this time went back to hanging at the
Outlook splash screen.  But, once it opens after 12 minutes, the mail is there.
 I ambitiously tried to send an email, but it just stuck in the outbox.

It seems to be some connection problem between OpenChange and the SOGo backend
or IMAP server.  But SOGo works just fine from its web GUI, and I guess I'll
have to settle with that for now.

It may be a hard question but do you know at what timeframe or version the
OpenChange/Outlook solution should reach a point where it is stable for live
use?

Regards,

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