[SOGo] dovecot authentication question
Hi, when I login via Webinterface all is fine and I have these lines in /var/log/mail.log about dovecot authentication Apr 7 14:21:49 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): lookup Apr 7 14:21:49 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): Allowing any password Apr 7 14:21:49 remote dovecot: auth: Debug: client out: OK#0111#011user=rweissmann#011host=127.0.0.1 Apr 7 14:21:49 remote dovecot: auth: Debug: master in: REQUEST#0112396913665#0112012#0111#011fc39378db49f0986263ee819c81028d8 Apr 7 14:21:49 remote dovecot: auth: Debug: passwd(rweissmann,127.0.0.1): lookup Apr 7 14:21:49 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1): username changed rweissmann - AIRMAIL\rweissmann Apr 7 14:21:49 remote dovecot: auth: Debug: master out: USER#0112396913665#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann Apr 7 14:21:49 remote dovecot: imap-login: Login: user=rweissmann, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2013, secured Apr 7 14:21:49 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected: Logged out bytes=104/1124 But when I open Outlook I have these lines in /var/log/mail.log with dovecot not being able to authenticate the same user: Apr 7 14:21:47 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): lookup Apr 7 14:21:47 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): Allowing any password Apr 7 14:21:47 remote dovecot: auth: Debug: client out: OK#0111#011user=rweissmann#011host=127.0.0.1 Apr 7 14:21:47 remote dovecot: auth: Debug: master in: REQUEST#0112696413185#0112008#0111#01173119eff07df86e02c160d9adbbf9c1e Apr 7 14:21:47 remote dovecot: auth: Debug: passwd(rweissmann,127.0.0.1): lookup Apr 7 14:21:47 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1): username changed rweissmann - AIRMAIL\rweissmann Apr 7 14:21:47 remote dovecot: auth: Debug: master out: USER#0112696413185#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann Apr 7 14:21:47 remote dovecot: imap-login: Login: user=rweissmann, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2011, secured Apr 7 14:21:47 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected: Logged out bytes=64/904 Apr 7 14:21:47 remote dovecot: auth: Debug: auth client connected (pid=2012) Apr 7 14:21:47 remote dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=46674#011resp=hidden Apr 7 14:21:47 remote dovecot: auth-worker: Debug: pam(rweissmann,127.0.0.1): lookup service=dovecot Apr 7 14:21:47 remote dovecot: auth-worker: Debug: pam(rweissmann,127.0.0.1): #1/1 style=1 msg=Password: Apr 7 14:21:49 dovecot: last message repeated 2 times Apr 7 14:21:49 remote dovecot: auth-worker: pam(rweissmann,127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) I have no idea why this 'password mismatch' is coming up. Here's the output of dovecot -n # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.5.0-26-generic x86_64 Ubuntu 12.04.2 LTS auth_debug = yes auth_failure_delay = 2 secs auth_use_winbind = yes disable_plaintext_auth = no mail_location = maildir:~/.Maildir passdb { driver = pam } passdb { args = nopassword=y host=127.0.0.1 driver = static } passdb { args = nopassword=y host=127.0.0.1 driver = static } protocols = imap ssl_cert = /etc/ssl/private/selfsignedcert.pem ssl_key = /etc/ssl/private/selfsignedcert.pem userdb { driver = passwd } Best regards, Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] dovecot authentication question
Hi Péter, your recommendation did indeed solve this! The double passdb entry came through an !include directive and an !include_try directive that did both load the same file. The order of appearance is also now like yours. Manymany thanks! Dirk On 04/07/2013 03:00 PM, Szládovics Péter wrote: 2013-04-07 14:38 keltezéssel, Dirk Werner írta: Hi, when I login via Webinterface all is fine and I have these lines in /var/log/mail.log about dovecot authentication Apr 7 14:21:49 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): lookup Apr 7 14:21:49 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): Allowing any password Apr 7 14:21:49 remote dovecot: auth: Debug: client out: OK#0111#011user=rweissmann#011host=127.0.0.1 Apr 7 14:21:49 remote dovecot: auth: Debug: master in: REQUEST#0112396913665#0112012#0111#011fc39378db49f0986263ee819c81028d8 Apr 7 14:21:49 remote dovecot: auth: Debug: passwd(rweissmann,127.0.0.1): lookup Apr 7 14:21:49 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1): username changed rweissmann - AIRMAIL\rweissmann Apr 7 14:21:49 remote dovecot: auth: Debug: master out: USER#0112396913665#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann Apr 7 14:21:49 remote dovecot: imap-login: Login: user=rweissmann, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2013, secured Apr 7 14:21:49 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected: Logged out bytes=104/1124 But when I open Outlook I have these lines in /var/log/mail.log with dovecot not being able to authenticate the same user: Apr 7 14:21:47 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): lookup Apr 7 14:21:47 remote dovecot: auth: Debug: static(rweissmann,127.0.0.1): Allowing any password Apr 7 14:21:47 remote dovecot: auth: Debug: client out: OK#0111#011user=rweissmann#011host=127.0.0.1 Apr 7 14:21:47 remote dovecot: auth: Debug: master in: REQUEST#0112696413185#0112008#0111#01173119eff07df86e02c160d9adbbf9c1e Apr 7 14:21:47 remote dovecot: auth: Debug: passwd(rweissmann,127.0.0.1): lookup Apr 7 14:21:47 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1): username changed rweissmann - AIRMAIL\rweissmann Apr 7 14:21:47 remote dovecot: auth: Debug: master out: USER#0112696413185#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann Apr 7 14:21:47 remote dovecot: imap-login: Login: user=rweissmann, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2011, secured Apr 7 14:21:47 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected: Logged out bytes=64/904 Apr 7 14:21:47 remote dovecot: auth: Debug: auth client connected (pid=2012) Apr 7 14:21:47 remote dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=46674#011resp=hidden Apr 7 14:21:47 remote dovecot: auth-worker: Debug: pam(rweissmann,127.0.0.1): lookup service=dovecot Apr 7 14:21:47 remote dovecot: auth-worker: Debug: pam(rweissmann,127.0.0.1): #1/1 style=1 msg=Password: Apr 7 14:21:49 dovecot: last message repeated 2 times Apr 7 14:21:49 remote dovecot: auth-worker: pam(rweissmann,127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) I have no idea why this 'password mismatch' is coming up. Here's the output of dovecot -n # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.5.0-26-generic x86_64 Ubuntu 12.04.2 LTS auth_debug = yes auth_failure_delay = 2 secs auth_use_winbind = yes disable_plaintext_auth = no mail_location = maildir:~/.Maildir passdb { driver = pam } passdb { args = nopassword=y host=127.0.0.1 driver = static } passdb { args = nopassword=y host=127.0.0.1 driver = static } protocols = imap ssl_cert = /etc/ssl/private/selfsignedcert.pem ssl_key = /etc/ssl/private/selfsignedcert.pem userdb { driver = passwd } Try this: passdb { args = nopassword=y allow_nets=127.0.0.1/32 driver = static } passdb { driver = pam } Reversed order (first nopassword then pam) and only one nopassword with allow_nets and network instead of host and IP. This is in my config and working fine. -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] no login posible anymore after igestis update
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
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
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
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
for Active Directory. */ const LDAP_USERS_OU = cn=Users,dc=airwerk,dc=net; /** * @var string LDAP Custom RDN for new user. * When iGestis create a new user, you can choose the desired * RDN. By default (when set to false) * an employee is created with uid=%username% * with OpenLDAP and cn=%Firstname Lastname% with Active Directory. * value chain can be : * %username% for the user name. * %firstname% for the first name. * %lastname% for the last name. * Example for OpenChange : LDAP_USER_RDN = cn=%username%; */ /** const LDAP_USER_RDN = false;*/ const LDAP_USER_RDN = cn=%username%; /** * * @var string Organisation Unit where is store the Igestis Customers. * Default location where new customers are created in iGestis. */ const LDAP_CUSTOMERS_OU = ou=Customers,dc=airwerk,dc=net; /** * * @var string Orgnisation Unit where is store the Igestis suppliers * Default location where new suppliers are created in iGestis. */ const LDAP_SUPPLIERS_OU = ou=Suppliers,dc=airwerk,dc=net; /** * * @var String Igestis cache folder */ const CACHE_FOLDER = /var/cache/igestis/; /** * * @var Integer min uid number in LDAP. * Don't try to use UID number under the value defined. * This value is not used when LDAP_AD_MODE is true. */ const MIN_UID_NUMBER = 1000; /** * @var string Theme of iGestis * Theme folder located under theme folder. */ const THEME = iabsis_v2; /** * @var string Location where is installed iGestis. * This path doesn't include the folder itself. * If iGestis is installed under /usr/share/igestis, place * only /usr/share/. */ const SERVER_FOLDER = /usr/share/; /** * @var Folder name where is installed iGestis. * This path include only the latest folder. * If iGestis is installed under /usr/share/igestis, place * only igestis. */ const APPLI_FOLDER = igestis; /** * @var string Location where iGestis must store the documents. * This folder must be writeable by apache user. * (usually www-data for Debian and apache for Redhat). */ const DATA_FOLDER = /usr/share/igestis/documents/; /** * @var string Server URL. * If you want to force the URL from where iGestis is runned. * If set to IGESTIS_CORE_SERVER_ADDRESS iGestis will automatically * detect from the webbrowser. */ const SERVER_ADDRESS = IGESTIS_CORE_SERVER_ADDRESS; /** * @var string random key used for encryption. * Place a random key used for encrypting some sentitive data. */ const ENCRYPT_KEY = korwibRI4; /** * @var string Administrative mail redmine user report from. * Mail sender of the bug reports are sent. */ const REDMINE_USER = bug-rep...@iabsis.com; /** * @var string Administrative mail to send bug report to redmine. * Mail recipient of the bug reports are sent. */ const SUPPORT_IGESTIS = support-iges...@iabsis.com; /** * @var string PDF librairie path. */ const TCPDF_DIR = /usr/share/tcpdf/; /** * @var string The root folder of the application (ie : /usr/share/igestis/ */ const ROOT_FOLDER = /usr/share/igestis; /** * @var string The textDomain used by Gettext. */ const textDomain = IGESTIS_CORE_TEXTDOMAIN; /** * @var version of iGestis (only needed to avoid to clean caches). */ const version = IGESTIS_CORE_VERSION; /** * Set the csrd protection mode (if true, a csrf tocken will be * generated and added to all form and generated urls */ const AUTO_CSRF_PROTECTION = true; } Thanks for your attention! Dirk 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
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
. 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Thanks for replying! I have the same thing happening with the user Administrator. kinit Administrator works fine! On 03/05/2013 11:01 PM, Olivier Bitsch wrote: It seems that you tried to join with rweissmann username? You have to use the Administrator account in the windows credential when joining the domain. Additionally, the entry /var/lib/samba/passdb.tdb is probably not used by Samba4 as this file is used when Samba4 uses the old tdb has backend (now it uses an OpenLDAP fork). Best regards. Olivier 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Hi Olivier, I have had a new installation today following your tutorial and that went fine through including igestis! However, when I try to join the domain on a windows 7 client, the join fails with 'username or password wrong' and I have the following line in /var/log/samba/log.smbd check_sam_security: Couldn't find user 'rweissmann' in passdb. [2013/03/05 21:41:34.306661, 2] auth/auth.c:319(check_ntlm_password) check_ntlm_password: Authentication for user [rweissmann] - [rweissmann] FAILED with error NT_STATUS_NO_SUCH_USER [2013/03/05 21:41:34.306735, 3] smbd/error.c:81(error_packet_set) error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE samba-tool user list - lists user 'rweissmann' and getent passwd also: SOGO\rweissmann:*:322:100:Roland Weissmann:/home/rweissmann:/usr/sbin/nologin When I do tdbdump /var/lib/samba/passdb.tdb : tdbdump /var/lib/samba/passdb.tdb { key(13) = RID_01f5\00 data(7) = nobody\00 } { key(13) = RID_0bb8\00 data(6) = dirkw\00 } { key(19) = INFO/minor_version\00 data(4) = \00\00\00\00 } { key(9) = NEXT_RID\00 data(4) = \E8\03\00\00 } { key(11) = USER_dirkw\00 data(174) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\06\00\00\00dirkw\00\07\00\00\00REMOTE\00\01\00\00\00\00\06\00\00\00dirkw\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\B8\0B\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } { key(13) = INFO/version\00 data(4) = \04\00\00\00 } { key(12) = USER_nobody\00 data(176) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\07\00\00\00nobody\00\07\00\00\00REMOTE\00\01\00\00\00\00\07\00\00\00nobody\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\F5\01\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } The user rweissmann is indeed not in there, all users, I have created with samba-tool are not contained. Any idea? Best regards Dirk On 03/05/2013 07:39 PM, Olivier Bitsch wrote: To all, I've updated my SOGo tutorial and bring the following fixed (still available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/) * Add a temporarily and cleaner way to install Samba4 (Thanks to Davor Vusir). * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. 2013/3/5 Ludovic Marcotte lmarco...@inverse.ca mailto:lmarco...@inverse.ca On 28/02/13 03:27, Olivier Bitsch wrote: # Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1 = 65535 bytes, so truncation occurs and thus, a crash (because the cache is corrupted). We'll commit a fix shortly and provide an upgrade script (2.0.4 to 2.0.5) to adjust the data type for all tables accordingly. Thanks, -- Ludovic Marcotte +1.514.755.3630 tel:%2B1.514.755.3630 :: www.inverse.ca http://www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu http
[SOGo] Domain join issue
Hi Olivier, my mails since yesterday evening didn't go through to the list anymore, don't know why. I'll start a new subject and see if that works out. You had proposed: Are you sure that your Windows box is using the IP address of your server as main DNS server? If still not, please try : Stop Samba4 services, check there is no smbd or samba process working (killall smbd killall samba). Start Samba4 again. Check /var/log/samba/log.samba (smbd is used by samba3 process). Also, can you give me your /var/log/samba/log.samba file? Thanks Olivier. On The Win7 client there's only the sogo server set as dns server. I have stopped and restarted Samba, the file log.samba is very big, here's an excerpt from it when I try to join the domain and when the message 'Wrong username or Password' on the Win7 client is shown: cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=AIRWERK-NB3$ version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 5] ../source4/cldap_server/netlogon.c:458(cldapd_netlogon_request) cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=AIRWERK-NB3$ version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 5] ../source4/cldap_server/netlogon.c:458(cldapd_netlogon_request) cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=(null) version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule) dreplsrv_notify_schedule(5) scheduled for: Tue Mar 5 23:25:01 2013 CET [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ administra...@sogo.airwerk.net from ipv4:192.168.40.167:49516 for cifs/remote.sogo.airwerk@sogo.airwerk.net [canonicalize, renewable, forwardable] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ authtime: 2013-03-05T23:24:54 starttime: 2013-03-05T23:24:55 endtime: 2013-03-06T09:24:54 renew till: 2013-03-12T23:24:54 [2013/03/05 23:24:55, 3] ../source4/smbd/service_stream.c:63(stream_terminate_connection) Terminating connection - 'kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' [2013/03/05 23:24:55, 5] ../source4/lib/messaging/messaging.c:554(imessaging_cleanup) imessaging: cleaning up /var/lib/samba/private/smbd.tmp/msg/msg.0.34 [2013/03/05 23:24:55, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ administra...@sogo.airwerk.net from ipv4:192.168.40.167:49517 for krbtgt/sogo.airwerk@sogo.airwerk.net [renewable-ok, canonicalize, renewable, forwarded, forwardable] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ authtime: 2013-03-05T23:24:54 starttime: 2013-03-05T23:24:55 endtime: 2013-03-06T09:24:54 renew till: 2013-03-12T23:24:54 [2013/03/05 23:24:55, 3] ../source4/smbd/service_stream.c:63(stream_terminate_connection) Terminating connection - 'kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' [2013/03/05 23:24:55, 5] ../source4/lib/messaging/messaging.c:554(imessaging_cleanup) imessaging: cleaning up /var/lib/samba/private/smbd.tmp/msg/msg.0.34 [2013/03/05 23:24:55, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] [2013/03/05 23:25:00, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule) dreplsrv_notify_schedule(5) scheduled for: Tue Mar 5 23:25:06 2013 CET [2013/03/05 23:25:05, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule)
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
Hi Olivier, I have had a new installation today following your tutorial and that went fine through including igestis! However, when I try to join the domain on a windows 7 client, the join fails with 'username or password wrong' and I have the following line in /var/log/samba/log.smbd check_sam_security: Couldn't find user 'rweissmann' in passdb. [2013/03/05 21:41:34.306661, 2] auth/auth.c:319(check_ntlm_password) check_ntlm_password: Authentication for user [rweissmann] - [rweissmann] FAILED with error NT_STATUS_NO_SUCH_USER [2013/03/05 21:41:34.306735, 3] smbd/error.c:81(error_packet_set) error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE samba-tool user list - lists user 'rweissmann' and getent passwd also: SOGO\rweissmann:*:322:100:Roland Weissmann:/home/rweissmann:/usr/sbin/nologin When I do tdbdump /var/lib/samba/passdb.tdb : tdbdump /var/lib/samba/passdb.tdb { key(13) = RID_01f5\00 data(7) = nobody\00 } { key(13) = RID_0bb8\00 data(6) = dirkw\00 } { key(19) = INFO/minor_version\00 data(4) = \00\00\00\00 } { key(9) = NEXT_RID\00 data(4) = \E8\03\00\00 } { key(11) = USER_dirkw\00 data(174) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\06\00\00\00dirkw\00\07\00\00\00REMOTE\00\01\00\00\00\00\06\00\00\00dirkw\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\B8\0B\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00 \00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } { key(13) = INFO/version\00 data(4) = \04\00\00\00 } { key(12) = USER_nobody\00 data(176) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\07\00\00\00nobody\00\07\00\00\00REMOTE\00\01\00\00\00\00\07\00\00\00nobody\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\F5\01\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00 \00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } The user rweissmann is indeed not in there, all users, I have created with samba-tool are not contained. Any idea? Best regards Dirk On 03/05/2013 07:39 PM, Olivier Bitsch wrote: To all, I've updated my SOGo tutorial and bring the following fixed (still available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/) * Add a temporarily and cleaner way to install Samba4 (Thanks to Davor Vusir). * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. 2013/3/5 Ludovic Marcotte lmarco...@inverse.ca mailto:lmarco...@inverse.ca On 28/02/13 03:27, Olivier Bitsch wrote: # Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1 = 65535 bytes, so truncation occurs and thus, a crash (because the cache is corrupted). We'll commit a fix shortly and provide an upgrade script (2.0.4 to 2.0.5) to adjust the data type for all tables accordingly. Thanks, -- Ludovic Marcotte +1.514.755.3630 tel:%2B1.514.755.3630 :: www.inverse.ca http://www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu http://www.sogo.nu) and PacketFence (www.packetfence.org http://www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
Thanks for replying! I have the same thing happening with the user Administrator. kinit Administrator works fine! On 03/05/2013 11:01 PM, Olivier Bitsch wrote: It seems that you tried to join with rweissmann username? You have to use the Administrator account in the windows credential when joining the domain. Additionally, the entry /var/lib/samba/passdb.tdb is probably not used by Samba4 as this file is used when Samba4 uses the old tdb has backend (now it uses an OpenLDAP fork). Best regards. Olivier 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Hi Olivier, I have had a new installation today following your tutorial and that went fine through including igestis! However, when I try to join the domain on a windows 7 client, the join fails with 'username or password wrong' and I have the following line in /var/log/samba/log.smbd check_sam_security: Couldn't find user 'rweissmann' in passdb. [2013/03/05 21:41:34.306661, 2] auth/auth.c:319(check_ntlm_password) check_ntlm_password: Authentication for user [rweissmann] - [rweissmann] FAILED with error NT_STATUS_NO_SUCH_USER [2013/03/05 21:41:34.306735, 3] smbd/error.c:81(error_packet_set) error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE samba-tool user list - lists user 'rweissmann' and getent passwd also: SOGO\rweissmann:*:322:100:Roland Weissmann:/home/rweissmann:/usr/sbin/nologin When I do tdbdump /var/lib/samba/passdb.tdb : tdbdump /var/lib/samba/passdb.tdb { key(13) = RID_01f5\00 data(7) = nobody\00 } { key(13) = RID_0bb8\00 data(6) = dirkw\00 } { key(19) = INFO/minor_version\00 data(4) = \00\00\00\00 } { key(9) = NEXT_RID\00 data(4) = \E8\03\00\00 } { key(11) = USER_dirkw\00 data(174) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\06\00\00\00dirkw\00\07\00\00\00REMOTE\00\01\00\00\00\00\06\00\00\00dirkw\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\B8\0B\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } { key(13) = INFO/version\00 data(4) = \04\00\00\00 } { key(12) = USER_nobody\00 data(176) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\07\00\00\00nobody\00\07\00\00\00REMOTE\00\01\00\00\00\00\07\00\00\00nobody\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\F5\01\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } The user rweissmann is indeed not in there, all users, I have created with samba-tool are not contained. Any idea? Best regards Dirk On 03/05/2013 07:39 PM, Olivier Bitsch wrote: To all, I've updated my SOGo tutorial and bring the following fixed (still available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/) * Add a temporarily and cleaner way to install Samba4 (Thanks to Davor Vusir). * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. 2013/3/5 Ludovic Marcotte lmarco...@inverse.ca mailto:lmarco...@inverse.ca On 28/02/13 03:27, Olivier Bitsch wrote: # Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1 = 65535 bytes, so truncation occurs and thus, a crash (because the cache is corrupted). We'll commit a fix shortly and provide an upgrade script (2.0.4 to 2.0.5) to adjust the data type for all tables accordingly. Thanks, -- Ludovic Marcotte +1.514.755.3630 tel:%2B1.514.755.3630 :: www.inverse.ca http://www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu http://www.sogo.nu) and PacketFence (www.packetfence.org http://www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
I've stopped and started samba - when I do service samba4 start, there are also two smbd process running by this. Are these ok or shall I kill them after having started samba4? My samba log level is set to 5 could I get you the file somehow? Best regards and many thanks Dirk On 03/05/2013 11:08 PM, Olivier Bitsch wrote: Are you sure that your Windows box is using the IP address of your server as main DNS server? If still not, please try : * Stop Samba4 services, check there is no smbd or samba process working (killall smbd killall samba). * Start Samba4 again. * Check /var/log/samba/log.samba (smbd is used by samba3 process). Also, can you give me your /var/log/samba/log.samba file? Thanks Olivier. 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Thanks for replying! I have the same thing happening with the user Administrator. kinit Administrator works fine! On 03/05/2013 11:01 PM, Olivier Bitsch wrote: It seems that you tried to join with rweissmann username? You have to use the Administrator account in the windows credential when joining the domain. Additionally, the entry /var/lib/samba/passdb.tdb is probably not used by Samba4 as this file is used when Samba4 uses the old tdb has backend (now it uses an OpenLDAP fork). Best regards. Olivier 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Hi Olivier, I have had a new installation today following your tutorial and that went fine through including igestis! However, when I try to join the domain on a windows 7 client, the join fails with 'username or password wrong' and I have the following line in /var/log/samba/log.smbd check_sam_security: Couldn't find user 'rweissmann' in passdb. [2013/03/05 21:41:34.306661, 2] auth/auth.c:319(check_ntlm_password) check_ntlm_password: Authentication for user [rweissmann] - [rweissmann] FAILED with error NT_STATUS_NO_SUCH_USER [2013/03/05 21:41:34.306735, 3] smbd/error.c:81(error_packet_set) error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE samba-tool user list - lists user 'rweissmann' and getent passwd also: SOGO\rweissmann:*:322:100:Roland Weissmann:/home/rweissmann:/usr/sbin/nologin When I do tdbdump /var/lib/samba/passdb.tdb : tdbdump /var/lib/samba/passdb.tdb { key(13) = RID_01f5\00 data(7) = nobody\00 } { key(13) = RID_0bb8\00 data(6) = dirkw\00 } { key(19) = INFO/minor_version\00 data(4) = \00\00\00\00 } { key(9) = NEXT_RID\00 data(4) = \E8\03\00\00 } { key(11) = USER_dirkw\00 data(174) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\06\00\00\00dirkw\00\07\00\00\00REMOTE\00\01\00\00\00\00\06\00\00\00dirkw\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\B8\0B\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } { key(13) = INFO/version\00 data(4) = \04\00\00\00 } { key(12) = USER_nobody\00 data(176) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\07\00\00\00nobody\00\07\00\00\00REMOTE\00\01\00\00\00\00\07\00\00\00nobody\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\F5\01\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } The user rweissmann is indeed not in there, all users, I have created with samba-tool are not contained. Any idea? Best regards Dirk On 03/05/2013 07:39 PM, Olivier Bitsch wrote: To all, I've updated my SOGo tutorial and bring the following fixed (still available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/) * Add a temporarily and cleaner way to install Samba4 (Thanks to Davor Vusir). * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. 2013/3/5 Ludovic Marcotte lmarco...@inverse.ca mailto:lmarco...@inverse.ca On 28
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
On 03/05/2013 11:08 PM, Olivier Bitsch wrote: Are you sure that your Windows box is using the IP address of your server as main DNS server? Forgot to answer that, sorry - yes, there is only one DNS server in the ipv4 settings on the Win 7 client! If still not, please try : * Stop Samba4 services, check there is no smbd or samba process working (killall smbd killall samba). * Start Samba4 again. * Check /var/log/samba/log.samba (smbd is used by samba3 process). Also, can you give me your /var/log/samba/log.samba file? Thanks Olivier. 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Thanks for replying! I have the same thing happening with the user Administrator. kinit Administrator works fine! On 03/05/2013 11:01 PM, Olivier Bitsch wrote: It seems that you tried to join with rweissmann username? You have to use the Administrator account in the windows credential when joining the domain. Additionally, the entry /var/lib/samba/passdb.tdb is probably not used by Samba4 as this file is used when Samba4 uses the old tdb has backend (now it uses an OpenLDAP fork). Best regards. Olivier 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Hi Olivier, I have had a new installation today following your tutorial and that went fine through including igestis! However, when I try to join the domain on a windows 7 client, the join fails with 'username or password wrong' and I have the following line in /var/log/samba/log.smbd check_sam_security: Couldn't find user 'rweissmann' in passdb. [2013/03/05 21:41:34.306661, 2] auth/auth.c:319(check_ntlm_password) check_ntlm_password: Authentication for user [rweissmann] - [rweissmann] FAILED with error NT_STATUS_NO_SUCH_USER [2013/03/05 21:41:34.306735, 3] smbd/error.c:81(error_packet_set) error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE samba-tool user list - lists user 'rweissmann' and getent passwd also: SOGO\rweissmann:*:322:100:Roland Weissmann:/home/rweissmann:/usr/sbin/nologin When I do tdbdump /var/lib/samba/passdb.tdb : tdbdump /var/lib/samba/passdb.tdb { key(13) = RID_01f5\00 data(7) = nobody\00 } { key(13) = RID_0bb8\00 data(6) = dirkw\00 } { key(19) = INFO/minor_version\00 data(4) = \00\00\00\00 } { key(9) = NEXT_RID\00 data(4) = \E8\03\00\00 } { key(11) = USER_dirkw\00 data(174) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\06\00\00\00dirkw\00\07\00\00\00REMOTE\00\01\00\00\00\00\06\00\00\00dirkw\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\B8\0B\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } { key(13) = INFO/version\00 data(4) = \04\00\00\00 } { key(12) = USER_nobody\00 data(176) = \00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\07\00\00\00nobody\00\07\00\00\00REMOTE\00\01\00\00\00\00\07\00\00\00nobody\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\F5\01\00\00\01\02\00\00\00\00\00\00\00\00\00\00\00\00\00\00\10\00\00\00\A8\00\15\00\00\00\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00 } The user rweissmann is indeed not in there, all users, I have created with samba-tool are not contained. Any idea? Best regards Dirk On 03/05/2013 07:39 PM, Olivier Bitsch wrote: To all, I've updated my SOGo tutorial and bring the following fixed (still available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/) * Add a temporarily and cleaner way to install Samba4 (Thanks to Davor Vusir). * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. 2013/3/5 Ludovic Marcotte lmarco...@inverse.ca mailto:lmarco...@inverse.ca On 28/02/13 03:27, Olivier Bitsch wrote: # Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 We
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
This is the relevant part of /var/log/samba/log.samba when I try joining the domain cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=AIRWERK-NB3$ version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 5] ../source4/cldap_server/netlogon.c:458(cldapd_netlogon_request) cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=AIRWERK-NB3$ version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 5] ../source4/cldap_server/netlogon.c:458(cldapd_netlogon_request) cldap netlogon query domain=SOGO.AIRWERK.NET host=AIRWERK-NB3 user=(null) version=22 guid=(null) [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=fe80::5054:ff:fece:108c%eth0 bcast=fe80:::::%eth0 netmask=::::: [2013/03/05 23:24:55, 4] ../source4/lib/socket/interface.c:121(add_interface) added interface eth0 ip=192.168.40.1 bcast=192.168.40.255 netmask=255.255.255.0 [2013/03/05 23:24:55, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule) dreplsrv_notify_schedule(5) scheduled for: Tue Mar 5 23:25:01 2013 CET [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ administra...@sogo.airwerk.net from ipv4:192.168.40.167:49516 for cifs/remote.sogo.airwerk@sogo.airwerk.net [canonicalize, renewable, forwardable] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ authtime: 2013-03-05T23:24:54 starttime: 2013-03-05T23:24:55 endtime: 2013-03-06T09:24:54 renew till: 2013-03-12T23:24:54 [2013/03/05 23:24:55, 3] ../source4/smbd/service_stream.c:63(stream_terminate_connection) Terminating connection - 'kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' [2013/03/05 23:24:55, 5] ../source4/lib/messaging/messaging.c:554(imessaging_cleanup) imessaging: cleaning up /var/lib/samba/private/smbd.tmp/msg/msg.0.34 [2013/03/05 23:24:55, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ administra...@sogo.airwerk.net from ipv4:192.168.40.167:49517 for krbtgt/sogo.airwerk@sogo.airwerk.net [renewable-ok, canonicalize, renewable, forwarded, forwardable] [2013/03/05 23:24:55, 3] ../source4/auth/kerberos/krb5_init_context.c:80(smb_krb5_debug_wrapper) Kerberos: TGS-REQ authtime: 2013-03-05T23:24:54 starttime: 2013-03-05T23:24:55 endtime: 2013-03-06T09:24:54 renew till: 2013-03-12T23:24:54 [2013/03/05 23:24:55, 3] ../source4/smbd/service_stream.c:63(stream_terminate_connection) Terminating connection - 'kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' [2013/03/05 23:24:55, 5] ../source4/lib/messaging/messaging.c:554(imessaging_cleanup) imessaging: cleaning up /var/lib/samba/private/smbd.tmp/msg/msg.0.34 [2013/03/05 23:24:55, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] [2013/03/05 23:25:00, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule) dreplsrv_notify_schedule(5) scheduled for: Tue Mar 5 23:25:06 2013 CET [2013/03/05 23:25:05, 4] ../source4/dsdb/repl/drepl_notify.c:463(dreplsrv_notify_schedule) dreplsrv_notify_schedule(5) scheduled for: Tue Mar 5 23:25:11 2013 CET On 03/05/2013 11:08 PM, Olivier Bitsch wrote: Are you sure that your Windows box is using the IP address of your server as main DNS server? If still not, please try : * Stop Samba4 services, check there is no smbd or samba process working (killall smbd killall samba). * Start Samba4 again. * Check /var/log/samba/log.samba (smbd is used by samba3 process). Also, can you give me your /var/log/samba/log.samba file? Thanks Olivier. 2013/3/5 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Thanks for replying! I have the same thing happening with the user Administrator. kinit Administrator works fine! On 03/05/2013 11
[SOGo] iGestis installation problem
On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I have changed the mentioned parameters. In /var/log/igestis/igestis.log there are these lines 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur fatale sur la ligne 820 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale sur la ligne 826 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(/usr/share//igestis/modules//config.php): failed to open stream: No such file or directory - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening '/usr/share//igestis/modules//config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined variable: - Erreur fatale sur la ligne 836 dans le fichier /usr/share/igestis/includes/common_librairie.php Any idea? Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] iGestis installation problem
That's a quick response, many thanks! On 03/01/2013 10:10 AM, Olivier Bitsch wrote: Hi, Thanks for your feedback, I've opened the case here http://www.igestis.org/redmine/issues/232 and I will try to give you an update today. Best regards. Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I have changed the mentioned parameters. In /var/log/igestis/igestis.log there are these lines 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur fatale sur la ligne 820 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale sur la ligne 826 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(/usr/share//igestis/modules//config.php): failed to open stream: No such file or directory - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening '/usr/share//igestis/modules//config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined variable: - Erreur fatale sur la ligne 836 dans le fichier /usr/share/igestis/includes/common_librairie.php Any idea? Dirk -- users@sogo.nu mailto:users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] iGestis installation problem
I've done dpkg-reconfigure igestis and did choose samba4 as authentication method. Am I right, that I first can login into SOGo webinterface, after having created an 'employee' with igestis? Cause at the moment, I can't login, I get wrong username or wrong password. On 03/01/2013 10:12 AM, Olivier Bitsch wrote: About installation, please choose Samba4 and not Internal as you probably want to link user database with your domain controller. Try to type dpkg-reconfigure igestis to change the options. Best regards. Olivier. 2013/3/1 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi, Thanks for your feedback, I've opened the case here http://www.igestis.org/redmine/issues/232 and I will try to give you an update today. Best regards. Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I have changed the mentioned parameters. In /var/log/igestis/igestis.log there are these lines 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur fatale sur la ligne 820 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale sur la ligne 826 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(/usr/share//igestis/modules//config.php): failed to open stream: No such file or directory - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening '/usr/share//igestis/modules//config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined variable: - Erreur fatale sur la ligne 836 dans le fichier /usr/share/igestis/includes/common_librairie.php Any idea? Dirk -- users@sogo.nu mailto:users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] iGestis installation problem
I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope/Berlin/string keyWOLogFile/key string-/string keyWONoDetach/key stringYES/string keyWOPidFile/key string/tmp/sogo.pid/string /dict /dict /plist Anything wrong in there? The file is quite short, compared to the ones I had with other installations before. On 03/01/2013 10:12 AM, Olivier Bitsch wrote: About installation, please choose Samba4 and not Internal as you probably want to link user database with your domain controller. Try to type dpkg-reconfigure igestis to change the options. Best regards. Olivier. 2013/3/1 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi, Thanks for your feedback, I've opened the case here http://www.igestis.org/redmine/issues/232 and I will try to give you an update today. Best regards. Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I have changed the mentioned parameters. In /var/log/igestis/igestis.log there are these lines 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur fatale sur la ligne 820 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale sur la ligne 826 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(/usr/share//igestis/modules//config.php): failed to open stream: No such file or directory - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening '/usr/share//igestis/modules//config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale sur la ligne 831 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined variable: - Erreur fatale sur la ligne 836 dans le fichier /usr/share/igestis/includes/common_librairie.php Any idea? Dirk -- users@sogo.nu mailto:users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] iGestis installation problem
On 03/01/2013 10:51 AM, Olivier Bitsch wrote: Nothing wrong, for the moment (as explained in the tutorial), you have to create the account with samba-tools first in order to have the right RDN for the user. About your SOGo config file, it's seems you miss the SOGoUserSources in the tutorial. Oh, the SOGoUserSources entry got somehow not into the file, I've added that now and I can login, but get as result page object not found: SOGo = dwerner I realise just now that there are no dirs below /home for the users I have created with samba-tool. Do I have to establish users home directories by hand? Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; http://www.gnustep.org/plist-0_9.xml plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope/Berlin/string keyWOLogFile/key string-/string keyWONoDetach/key stringYES/string keyWOPidFile/key string/tmp/sogo.pid/string /dict /dict /plist Anything wrong in there? The file is quite short, compared to the ones I had with other installations before. On 03/01/2013 10:12 AM, Olivier Bitsch wrote: About installation, please choose Samba4 and not Internal as you probably want to link user database with your domain controller. Try to type dpkg-reconfigure igestis to change the options. Best regards. Olivier. 2013/3/1 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi, Thanks for your feedback, I've opened the case here http://www.igestis.org/redmine/issues/232 and I will try to give you an update today. Best regards. Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I have changed the mentioned parameters. In /var/log/igestis/igestis.log there are these lines 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur fatale sur la ligne 820 dans le fichier /usr/share/igestis/includes/common_librairie.php 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur fatale sur la ligne 826 dans le fichier /usr
Re: [SOGo] iGestis installation problem
On 03/01/2013 11:10 AM, Olivier Bitsch wrote: Try to add obey pam restrictions = yes in [global] of your Samba4 configuration and restart. If working, I will update the tutorial. Also, simply with su - %username, the home directory should be created automatically. I've done su - username, but I have no chance to set the users password, if I do passwd username, I get: passwd: Authentication token manipulation error passwd: password unchanged The user does not exist in /etc/passwd . Doing getent passwd shows the following line AIRWERKMAIL\dwerner:*:320:100:dwerner:/home/dwerner:/usr/sbin/nologin How can I change the end /usr/sbin/nologin ? 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 03/01/2013 10:51 AM, Olivier Bitsch wrote: Nothing wrong, for the moment (as explained in the tutorial), you have to create the account with samba-tools first in order to have the right RDN for the user. About your SOGo config file, it's seems you miss the SOGoUserSources in the tutorial. Oh, the SOGoUserSources entry got somehow not into the file, I've added that now and I can login, but get as result page object not found: SOGo = dwerner I realise just now that there are no dirs below /home for the users I have created with samba-tool. Do I have to establish users home directories by hand? Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; http://www.gnustep.org/plist-0_9.xml plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope/Berlin/string keyWOLogFile/key string-/string keyWONoDetach/key stringYES/string keyWOPidFile/key string/tmp/sogo.pid/string /dict /dict /plist Anything wrong in there? The file is quite short, compared to the ones I had with other installations before. On 03/01/2013 10:12 AM, Olivier Bitsch wrote: About installation, please choose Samba4 and not Internal as you probably want to link user database with your domain controller. Try to type dpkg-reconfigure igestis to change the options. Best regards. Olivier. 2013/3/1 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi, Thanks for your feedback, I've opened the case here http://www.igestis.org/redmine/issues/232 and I will try to give you an update today. Best regards. Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Hi, I've installed igestis and configured it for 'internal' access. As I understood it, internal means the mysql DB?! But I'm getting this page when accessing http://192.168.1.2/igestis in a Browser: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE
Re: [SOGo] iGestis installation problem
Please forget this post, it was send without me giving it free I can login now at the sogo web interface! But I have to adopt postfix a little bit cause my maildomain ist not correctly used! On 03/01/2013 12:09 PM, Dirk Werner wrote: On 03/01/2013 11:54 AM, Olivier Bitsch wrote: You cannot change user password with passwd command, user samba-tools user setpassword username instead. The nologin option is a security recommandation and can be changed in smb.conf. Ok, setting the pwd with samba-tool second time let's me login successfully! One more issue: The mail domain is not the correct one, I have announced airwerk.com while setting up postfix, this is stored in /etc/mailname. Now in the web interface I have mail endings like airwerk.net . My bind olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 03/01/2013 11:10 AM, Olivier Bitsch wrote: Try to add obey pam restrictions = yes in [global] of your Samba4 configuration and restart. If working, I will update the tutorial. Also, simply with su - %username, the home directory should be created automatically. I've done su - username, but I have no chance to set the users password, if I do passwd username, I get: passwd: Authentication token manipulation error passwd: password unchanged The user does not exist in /etc/passwd . Doing getent passwd shows the following line AIRWERKMAIL\dwerner:*:320:100:dwerner:/home/dwerner:/usr/sbin/nologin How can I change the end /usr/sbin/nologin ? 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 03/01/2013 10:51 AM, Olivier Bitsch wrote: Nothing wrong, for the moment (as explained in the tutorial), you have to create the account with samba-tools first in order to have the right RDN for the user. About your SOGo config file, it's seems you miss the SOGoUserSources in the tutorial. Oh, the SOGoUserSources entry got somehow not into the file, I've added that now and I can login, but get as result page object not found: SOGo = dwerner I realise just now that there are no dirs below /home for the users I have created with samba-tool. Do I have to establish users home directories by hand? Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; http://www.gnustep.org/plist-0_9.xml plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope/Berlin/string keyWOLogFile/key string-/string keyWONoDetach/key stringYES/string keyWOPidFile/key string/tmp/sogo.pid/string /dict /dict /plist Anything wrong in there? The file is quite short, compared to the ones I had with other installations before. On 03/01/2013 10:12 AM, Olivier Bitsch wrote: About installation, please choose Samba4 and not Internal as you probably want to link user database with your domain controller. Try to type dpkg-reconfigure igestis to change the options. Best regards. Olivier. 2013/3/1 Olivier Bitsch
Re: [SOGo] iGestis installation problem
On 03/01/2013 12:21 PM, Olivier Bitsch wrote: Yes, the postfix conf provided is very minimalist, you have to adapt mydestination parameters or use an other way to identify the valid mails. Changing the parameters mydestination and myorigin in /etc/postfix/main.cf to /etc/mailname does not change the email address ending, it's still .net. Any further idea? Dirk 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com Please forget this post, it was send without me giving it free I can login now at the sogo web interface! But I have to adopt postfix a little bit cause my maildomain ist not correctly used! On 03/01/2013 12:09 PM, Dirk Werner wrote: On 03/01/2013 11:54 AM, Olivier Bitsch wrote: You cannot change user password with passwd command, user samba-tools user setpassword username instead. The nologin option is a security recommandation and can be changed in smb.conf. Ok, setting the pwd with samba-tool second time let's me login successfully! One more issue: The mail domain is not the correct one, I have announced airwerk.com http://airwerk.com while setting up postfix, this is stored in /etc/mailname. Now in the web interface I have mail endings like airwerk.net http://airwerk.net . My bind olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 03/01/2013 11:10 AM, Olivier Bitsch wrote: Try to add obey pam restrictions = yes in [global] of your Samba4 configuration and restart. If working, I will update the tutorial. Also, simply with su - %username, the home directory should be created automatically. I've done su - username, but I have no chance to set the users password, if I do passwd username, I get: passwd: Authentication token manipulation error passwd: password unchanged The user does not exist in /etc/passwd . Doing getent passwd shows the following line AIRWERKMAIL\dwerner:*:320:100:dwerner:/home/dwerner:/usr/sbin/nologin How can I change the end /usr/sbin/nologin ? 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com On 03/01/2013 10:51 AM, Olivier Bitsch wrote: Nothing wrong, for the moment (as explained in the tutorial), you have to create the account with samba-tools first in order to have the right RDN for the user. About your SOGo config file, it's seems you miss the SOGoUserSources in the tutorial. Oh, the SOGoUserSources entry got somehow not into the file, I've added that now and I can login, but get as result page object not found: SOGo = dwerner I realise just now that there are no dirs below /home for the users I have created with samba-tool. Do I have to establish users home directories by hand? Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; http://www.gnustep.org/plist-0_9.xml plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost:5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope
Re: [SOGo] iGestis installation problem
On 03/01/2013 01:00 PM, Patrick Ben Koetter wrote: * Olivier Bitsch users@sogo.nu: I'm not an expert of postfix, I suggest to search on the web, but normally changing mydestination to example.net permit to postfix to allow all mail from usern...@example.net (when username exists on the system). The Postfix mydestination parameter defines which (sub)domains Postfix will consider 'local'. For these domains Postfix will try to deliver messages via local_transport to system users - that is if you use it with the default settings. p@rick The postfix man page says about the variable $mydomain = The internet domain name of this mail system. I've set this, but it has obviously no influence on the email address I see when I login at the sogo web interface, do I also have to change something in Sogo? With this setting I had no trouble with postfix and my last Sogo installation, actually never. 2013/3/1 Dirk Werner werdi4...@googlemail.com On 03/01/2013 12:21 PM, Olivier Bitsch wrote: Yes, the postfix conf provided is very minimalist, you have to adapt mydestination parameters or use an other way to identify the valid mails. Changing the parameters mydestination and myorigin in /etc/postfix/main.cfto /etc/mailname does not change the email address ending, it's still .net. Any further idea? Dirk 2013/3/1 Dirk Werner werdi4...@googlemail.com Please forget this post, it was send without me giving it free I can login now at the sogo web interface! But I have to adopt postfix a little bit cause my maildomain ist not correctly used! On 03/01/2013 12:09 PM, Dirk Werner wrote: On 03/01/2013 11:54 AM, Olivier Bitsch wrote: You cannot change user password with passwd command, user samba-tools user setpassword username instead. The nologin option is a security recommandation and can be changed in smb.conf. Ok, setting the pwd with samba-tool second time let's me login successfully! One more issue: The mail domain is not the correct one, I have announced airwerk.com while setting up postfix, this is stored in /etc/mailname. Now in the web interface I have mail endings like airwerk.net . My bind olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com On 03/01/2013 11:10 AM, Olivier Bitsch wrote: Try to add obey pam restrictions = yes in [global] of your Samba4 configuration and restart. If working, I will update the tutorial. Also, simply with su - %username, the home directory should be created automatically. I've done su - username, but I have no chance to set the users password, if I do passwd username, I get: passwd: Authentication token manipulation error passwd: password unchanged The user does not exist in /etc/passwd . Doing getent passwd shows the following line AIRWERKMAIL\dwerner:*:320:100:dwerner:/home/dwerner:/usr/sbin/nologin How can I change the end /usr/sbin/nologin ? 2013/3/1 Dirk Werner werdi4...@googlemail.com On 03/01/2013 10:51 AM, Olivier Bitsch wrote: Nothing wrong, for the moment (as explained in the tutorial), you have to create the account with samba-tools first in order to have the right RDN for the user. About your SOGo config file, it's seems you miss the SOGoUserSources in the tutorial. Oh, the SOGoUserSources entry got somehow not into the file, I've added that now and I can login, but get as result page object not found: SOGo = dwerner I realise just now that there are no dirs below /home for the users I have created with samba-tool. Do I have to establish users home directories by hand? Olivier. 2013/3/1 Dirk Werner werdi4...@googlemail.com I have this line in sogo.log when trying to login at the web interface: Feb 28 21:17:26 sogod [1032]: [ERROR] 0x0x7fe4621964f0[SOGoUserManager] No authentication sources defined - nobody will be able to login. Check your defaults. This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml;http://www.gnustep.org/plist-0_9.xml plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:mypwd@localhost :5432/sogo/sogo_alarm_folderdefaults/string keyOCSFolderInfoURL/key stringpostgresql://sogo:mypwd@localhost :5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:mypwd@localhost :5432/sogo/sogo_sessions_folder/string keySOGoMailAuxiliaryUserAccountsEnabled/key stringYES/string keySOGoProfileURL/key stringpostgresql://sogo:mypwd@localhost :5432/sogo/sogo_user_profile/string keySOGoTimeZone/key stringEurope/Berlin/string keyWOLogFile/key string-/string keyWONoDetach/key stringYES/string keyWOPidFile/key string
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
Hi Olivier, this erased the problem with array(4) { [type]= int(1) [message]= string(57) Call to a member function module_access() on a non-object [file]= string(48) /usr/share/igestis/includes/common_librairie.php [line]= int(838) } I don't have that anymore! But I still see as result page an Error: Oops, iGestis encountered a fatal error. In order to fix the issue : Change the variable DEBUG_MODE to true in the file /usr/share/igestis/index.php Change the variable display_errors to On in the file apache configuration (usually in /etc/apache2/conf) Check the logs for Apache or iGestis (usually in /var/log/igestis/igestis.log and /var/log/apache2/error.log) The igestis log files are not being logged anymore, they don't change when accessing igestis and there is also nothing in apache2 logs. Best regards Dirk On 03/01/2013 05:12 PM, Olivier Bitsch wrote: Hi all, In order to have almost the perfect server, and updated again the tutorial available at :http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/ The update bring the following tweak : * Less step to create a new user, ability to create from iGestis. * New iGestis update available today to version 2.3.3. For those that already have iGestis installed on their server, simply made apt-get update apt-get upgrade to have the latest version. Keep your configuration file if asked, and add the following line as is somewhere in /etc/igestis/ConfigIgestisGlobalVars.php (don't try to change %username% by something) : const LDAP_USER_RDN = cn=%username%; Don't hesitate to let me comments. Best regards and have a good weekend. Olivier. 2013/2/26 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi all, I just finished to write a tutorial in order to install Samba4/OpenChange/Sogo on Ubuntu/Debian, available at http://iabsis.com/FR/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu/ (only available in french yet). Basically, you can build your self a ZEG machine, but with Share/Domain Controller working, withtout OpenLDAP (only one directory on Samba4), and simplified way to create users. Also I only use packages provided by inverse.ca http://inverse.ca to install the softwares. I'll very happy if you can test and let comments. Best regards. Olivier. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
Hi Olivier, I'm having fun following your tutorial, nice work! I just got stuck at the installation point 'apt-get install igestis' - this wants to install the following packages: The following NEW packages will be installed: dbconfig-common igestis libdbd-mysql-perl libmcrypt4 mysql-client-5.5 mysql-client-core-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 php5-ldap php5-mcrypt php5-mysql 0 upgraded, 12 newly installed, 0 to remove and 2 not upgraded. Since I have chosen postgresql according to your tutorial, I'm a bit helpless now with all those mysql packages coming. Does igestis work together with postgresql, do I need mysql packages in addition? Best regards and thanks for your tutorial, Dirk On 02/28/2013 04:56 PM, Olivier Bitsch wrote: Once again, I have updated my documentation available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/ The update brring the following fixed : * Give a way to fix SOGo at startup (see known issues chapter). * Small fix about smb.conf to avoid having shared folder working. * Some small other fixes. Don't hesitate to let me a comment on the website or by mail if something work or not. Best regards. 2013/2/28 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com To all, I've updated my SOGo tutorial and bring the following fixed : * Fully translated in English. * Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. Olivier. 2013/2/26 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi all, I just finished to write a tutorial in order to install Samba4/OpenChange/Sogo on Ubuntu/Debian, available at http://iabsis.com/FR/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu/ (only available in french yet). Basically, you can build your self a ZEG machine, but with Share/Domain Controller working, withtout OpenLDAP (only one directory on Samba4), and simplified way to create users. Also I only use packages provided by inverse.ca http://inverse.ca to install the softwares. I'll very happy if you can test and let comments. Best regards. Olivier. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
Many thanks for your reply - I'm curious about igestis, especially by the way you describe it! Dirk On 02/28/2013 10:07 PM, Olivier Bitsch wrote: Yes iGestis needs Mysql for it's own database, so dont worry, you can have Mysql in same time of postgresql. Note that igestis is optional but will offer a very easy way to manage employees . Olivier Le 28 févr. 2013 21:41, Dirk Werner werdi4...@googlemail.com mailto:werdi4...@googlemail.com a écrit : Hi Olivier, I'm having fun following your tutorial, nice work! I just got stuck at the installation point 'apt-get install igestis' - this wants to install the following packages: The following NEW packages will be installed: dbconfig-common igestis libdbd-mysql-perl libmcrypt4 mysql-client-5.5 mysql-client-core-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 php5-ldap php5-mcrypt php5-mysql 0 upgraded, 12 newly installed, 0 to remove and 2 not upgraded. Since I have chosen postgresql according to your tutorial, I'm a bit helpless now with all those mysql packages coming. Does igestis work together with postgresql, do I need mysql packages in addition? Best regards and thanks for your tutorial, Dirk On 02/28/2013 04:56 PM, Olivier Bitsch wrote: Once again, I have updated my documentation available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/ The update brring the following fixed : * Give a way to fix SOGo at startup (see known issues chapter). * Small fix about smb.conf to avoid having shared folder working. * Some small other fixes. Don't hesitate to let me a comment on the website or by mail if something work or not. Best regards. 2013/2/28 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com To all, I've updated my SOGo tutorial and bring the following fixed : * Fully translated in English. * Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. Olivier. 2013/2/26 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi all, I just finished to write a tutorial in order to install Samba4/OpenChange/Sogo on Ubuntu/Debian, available at http://iabsis.com/FR/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu/ (only available in french yet). Basically, you can build your self a ZEG machine, but with Share/Domain Controller working, withtout OpenLDAP (only one directory on Samba4), and simplified way to create users. Also I only use packages provided by inverse.ca http://inverse.ca to install the softwares. I'll very happy if you can test and let comments. Best regards. Olivier. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial
On 02/28/2013 10:11 PM, Olivier Bitsch wrote: I got sometimes issue when trying to having working shares with Samba, but I changed the recommended options in smb.conf and may be it's better now. I understand that my sentence has no sense. (my English is bad). No way Olivier - two days or three ago you published the original french version - now there's an english version by you, your english is far away from being bad! Olivier Le 28 févr. 2013 21:17, Netwo Dist netwod...@gmail.com mailto:netwod...@gmail.com a écrit : What do you mean avoid having shared folder working? On Thu, Feb 28, 2013 at 3:56 PM, Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com wrote: Once again, I have updated my documentation available at http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/ The update brring the following fixed : * Give a way to fix SOGo at startup (see known issues chapter). * Small fix about smb.conf to avoid having shared folder working. * Some small other fixes. Don't hesitate to let me a comment on the website or by mail if something work or not. Best regards. 2013/2/28 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com To all, I've updated my SOGo tutorial and bring the following fixed : * Fully translated in English. * Use PostGreSQL by default to avoid the bug http://tracker.openchange.org/issues/413 * Some small other fixes. Don't hesitate to let me a comment on the website if something work or not. Best regards. Olivier. 2013/2/26 Olivier Bitsch olivier.bit...@gmail.com mailto:olivier.bit...@gmail.com Hi all, I just finished to write a tutorial in order to install Samba4/OpenChange/Sogo on Ubuntu/Debian, available at http://iabsis.com/FR/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu/ (only available in french yet). Basically, you can build your self a ZEG machine, but with Share/Domain Controller working, withtout OpenLDAP (only one directory on Samba4), and simplified way to create users. Also I only use packages provided by inverse.ca http://inverse.ca to install the softwares. I'll very happy if you can test and let comments. Best regards. Olivier. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ZEG and OAnywhere problem
Hi Peter, I'm in doubt about using .local domain endings when running mail servers for existing real world domain names like .hu. I guess you have to use another ending like *.net or so, especially when the reverse address needs to be resolvable, which is the case for most mail servers! Best regards Dirk On 02/22/2013 04:40 PM, Szládovics Péter wrote: 2013-02-22 14:05 keltezéssel, werdi4...@gmail.com írta: Hi Péter, if you're sure that your DNS structure is ok, this is rather an openchange specific problem. A bug report for OpenChange/rpcproxy will be setup later today by Christoph Ehrke, I'll let you know about this! Hi, Thanks your reply! Local nslookup and kerberos is working fine on the host. The remote ip settings for the external IP address too - mail.xxx.hu, autodiscover.xxx.hu and SRV record for autodiscover point to mail. One more piece from the fonfig: The internal DNS and DN is: domain: xxx.local machine: mail.xxx.local dn: dc=xxx,dc=local But the external is: mail.xxx.hu autodiscover.xxx.hu etc. So the mail.xxx.hu on the local machine is resolvable, but it point to the external IP, not the local (external dns records not in the /etc/hosts or the local DNS - yet). Would it be a problem or not? Thanks, Peter -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Outlook 2007 Version question
Hi, I'm trying to connect Outlook 2007 to a working SOGo 2.0.4b installation on centos6.3. When I start Outlook on a Win7 client, it takes approx ten minutes until I get a message that the server cannot be reached. In the file /var/log/httpd/error_log I have [Thu Feb 21 15:02:18 2013] [error] RPCProxy started [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1837): proxy: worker http://127.0.0.1:2/SOGo already initialized [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 4480 for (127.0.0.1) [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 4480 for worker http://127.0.0.1:5000/autodiscover [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1837): proxy: worker http://127.0.0.1:5000/autodiscover already initialized [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 4480 for (127.0.0.1) [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 2 in child 4480 for worker http://127.0.0.1:5000/ews [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1837): proxy: worker http://127.0.0.1:5000/ews already initialized [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 2 in child 4480 for (127.0.0.1) [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 3 in child 4480 for worker http://127.0.0.1:5000/_debug [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1837): proxy: worker http://127.0.0.1:5000/_debug already initialized [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 3 in child 4480 for (127.0.0.1) [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 6 in child 4480 for worker proxy:reverse [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized [Thu Feb 21 15:02:18 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 6 in child 4480 for (*) [Thu Feb 21 15:02:18 2013] [error] no ntlm [Thu Feb 21 15:02:18 2013] [error] no ntlm case:OutlookSession: {98A6921E-BD3B-4D95-B476-8A9635D92CA8} [Thu Feb 21 15:02:18 2013] [error] no ntlm case:Outlook: 12.0.6670.5004 [Thu Feb 21 15:02:18 2013] [error] no ntlm case:OS: 6.2.9200 [Thu Feb 21 15:02:18 2013] [info] mod_wsgi (pid=4480): Initializing Python. [Thu Feb 21 15:02:18 2013] [info] mod_wsgi (pid=4480): Attach interpreter ''. [Thu Feb 21 15:02:18 2013] [info] mod_wsgi (pid=4480): Adding '/usr/lib/openchange/web/rpcproxy' to path. The Outlook 2007 I connect with, has the Version Nr 12.0.6668.5000 which is different from the one in the log above. Do I have a version that is known not to work and how comes that I see two different Version Nrs? Best regards Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Outlook connection
I'm facing the same phenomenon on centOS 6.3 with dovecot 2.1 postfix 2.6.6 and openldap 2.4.23. No other log file entries when connecting with Outlook. It's the only thing not working on a reliable 2.0_20121207-1.centos6 installation. Anyone having a hint where to look deeper about this? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Outlook connection
I'm facing the same phenomenon on centOS 6.3 with dovecot 2.1 postfix 2.6.6 and openldap 2.4.23. No other log file entries when connecting with Outlook. It's the only thing not working on a reliable 2.0_20121207-1.centos6 installation. Anyone having a hint where to look deeper about this? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Outlook connection
Sébastien Blin sebastien.blin@... writes: I have the same problem. The system is Debian 6 with postfix 2.5.5, dovecot 2.0, openldap 2.4.23 Le 30/11/2012 16:46, l.carnini@... a écrit : Hello, we have some trouble connecting outlook to sogo. When configuring the exchange account in the control panel (windows xp) we get the error saying that the exchange server is offline etc.. On the sogo server I see an httpd process coming up and then stays at 100% cpu. The only thing I can find in the logs is in apache error_log: [info] mod_wsgi (pid=4876): Create interpreter 'mail.mydomain.it|/rpc/rpcproxy.dll'. [info] mod_wsgi (pid=4876): Adding '/usr/lib/openchange/web/rpcproxy' to path. [info] mod_wsgi (pid=4877): Create interpreter 'mail.mydomain.it|/rpc/rpcproxy.dll'. [info] mod_wsgi (pid=4877): Adding '/usr/lib/openchange/web/rpcproxy' to path. [error] RPCProxy started [error] RPCProxy started nothing strange appears in samba or ocsmanager logs. The system is centos5 with postfix 2.3, dovecot 1.0, openldap 2.3. Where should I look to find the problem? Has anyone experienced similar problem? Thanks! Luca I'm facing the same phenomenon on centOS 6.3 with dovecot 2.1 postfix 2.6.6 and openldap 2.4.23. No other log file entries when connecting with Outlook 2007. It's the only thing not working on a reliable 2.0_20121207-1.centos6 installation. Anyone having a hint where to look deeper about this? It's obviously not OS, nor dovecot or postfix or openldap related. -- users@sogo.nu https://inverse.ca/sogo/lists