Hi again,

I forgot to tell you that I enabled advanced debugging


And this is what I get when I log with my email address (instead of my login) Jan 08 20:23:18 sogod [18285]: |SOGo| starting method 'POST' on uri '/SOGo/connect' Jan 08 20:23:18 sogod [18285]: <0x0x7f9d1555edd0[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldaps://localhost:636 Jan 08 20:23:18 sogod [18285]: [ERROR] <0x0x7f9d1551a910[SOGoUserManager]> Authenticated with multidomain source but login is not an ema. Jan 08 20:23:18 sogod [18285]: SOGoRootPage Login from '192.168.192.100' for user 'xxxxxxx' might not have worked - password policy: 6550 Jan 08 20:23:18 sogod [18285]: |SOGo| request took 0.024464 seconds to execute Jan 08 20:23:18 sogod [18285]: 192.168.192.100 "POST /SOGo/connect HTTP/1.1" 403 34/47 0.026 - - 32K Jan 08 20:23:34 sogod [18285]: |SOGo| starting method 'POST' on uri '/SOGo/connect' Jan 08 20:23:34 sogod [18285]: <0x0x7f9d152f3050[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldaps://localhost:636 Jan 08 20:23:34 sogod [18285]: <0x0x7f9d15520730[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldaps://localhost:636 2016-01-08 20:23:34.958 sogod[18285] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=xxxxxxx,ou=ou' Jan 08 20:23:34 sogod [18285]: SOGoRootPage Login from '192.168.192.100' for user '[email protected]' might not have worked - 0 Jan 08 20:23:34 sogod [18285]: |SOGo| request took 0.030812 seconds to execute Jan 08 20:23:34 sogod [18285]: 192.168.192.100 "POST /SOGo/connect HTTP/1.1" 403 34/69 0.033 - - 0

And on the frontend I have the following error message

An unhandled error occurred.

If it helps

Best
Damien

Firma mail Casa de Velázquez *Damien BRÉMONT*
RESPONSABLE DES SYSTÈMES D'INFORMATION
ET COMMUNICATION
CASA DE VELÁZQUEZ <http://www.casadevelazquez.org>
On 08/01/16 19:58, Damien Brémont wrote:
Hi/Bonsoir Ludovic,

Sorry for impatience.

Here is the list of sogo/sope packages
ii  sogo 2.3.5-1                           a modern and scalable groupware

ii libsope-appserver4.9 4.9.r1664.20160105 SOPE application server libraries ii libsope-core4.9 4.9.r1664.20160105 Core libraries of the SOPE application server ii libsope-gdl1-4.9 4.9.r1664.20160105 GNUstep database libraries for SOPE ii libsope-ldap4.9 4.9.r1664.20160105 SOPE libraries for LDAP access ii libsope-mime4.9 4.9.r1664.20160105 SOPE libraries for MIME processing ii libsope-xml4.9 4.9.r1664.20160105 SOPE libraries for XML processing ii sope4.9-gdl1-mysql 4.9.r1664.20160105 MySQL connector for SOPE's fork of the GNUstep database environmet ii sope4.9-libxmlsaxdriver 4.9.r1664.20160105 XML Parser for SOPE's SAX engine


An my /etc/sogo/sogo.conf
{


SOGoProfileURL = "mysql://xxx:xxxx@localhost:3306/sogo/sogo_user_profile"; OCSFolderInfoURL = "mysql://xxxx:xxxxxxx@localhost:3306/sogo/sogo_folder_info"; OCSSessionsFolderURL = "mysql://xxxx:xxxxx@localhost:3306/sogo/sogo_sessions_folder";

  /* Mail */
  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  SOGoIMAPServer = imaps://localhost:993;
  SOGoSieveServer = sieve://127.0.0.1:4190;
  SOGoSMTPServer = 127.0.0.1;
  SOGoMailDomain = xxxxxxxxx;
  SOGoMailingMechanism = smtp;
  SOGoForceExternalLoginWithEmail = NO;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = "/";

  SOGoAppointmentSendEMailNotifications = YES;
  SOGoACLsSendEMailNotifications = YES;

 /* Authentication */
  SOGoPasswordChangeEnabled = NO;

  /* LDAP authentication example */
  SOGoUserSources = (
   {
      type = ldap;
      CNFieldName = cn;
      UIDFieldName = uid;
      IDFieldName = mail; // first field of the DN for direct binds
      bindFields = (mail); // array of fields to use for indirect binds
      baseDN = "ou=AddressBook,ou=xxxxxx,dc=xxxxxxx,dc=xxxxxx";
      bindDN = "uid=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxx";
      bindPassword = xxxxxx;
      canAuthenticate = NO;
      displayName = "Anuario Global";
      hostname = ldaps://localhost:636;
      id = public;
      isAddressBook = YES;
    },
    {
      type = ldap;
      CNFieldName = cn;
      UIDFieldName = uid;
      IDFieldName = uid; // first field of the DN for direct binds
bindFields = (uid, mail); // array of fields to use for indirect binds
      baseDN = "ou=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxxx";
      bindDN = "uid=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxxx";
      bindPassword = xxxxxxx;
      canAuthenticate = YES;
      hostname = ldaps://localhost:636;
      id = Personnel;
      isAddressBook = NO;
    }
  );

  /* Web Interface */
  SOGoPageTitle = "Casa de Velazquez";
  SOGoVacationEnabled = YES;
  SOGoForwardEnabled = YES;
  SOGoSieveScriptsEnabled = YES;

  /* General */
  SOGoLanguage = Spanish;
  SOGoTimeZone = Europe/Berlin;
  SOGoEnableEMailAlarms = YES;
OCSEMailAlarmsFolderURL = "mysql://xxxxxxx:xxxxxxx@localhost:3306/sogo/sogo_alarms_folder";
  SOGoCalendarDefaultRoles = (
//    PublicDAndTViewer,
    PublicViewer,
    ConfidentialDAndTViewer
  );
  OGoContactsDefaultRoles =
  ("ObjectEditor");

  SOGoMailComposeMessageType = html;
  SOGoMailMessageCheck = every_2_minutes;
  SOGoFirstDayOfWeek = 1;
  SOGoDayStartTime = 8;
  SOGoDayEndTime = 19;
  SOGoCalendarEventsDefaultClassification = PRIVATE;
  SOGoCalendarTasksDefaultClassification = PRIVATE;
  SOGoMailReplyPlacement = above;
  SOGoMailSignaturePlacement = above;

  SOGoSuperUsernames = (xxxxxxx); //This is an array - keep the parens!

}

Thanks in advance for your help
Best
Damien

Firma mail Casa de Velázquez *Damien BRÉMONT*
RESPONSABLE DES SYSTÈMES D'INFORMATION
ET COMMUNICATION
CASA DE VELÁZQUEZ <http://www.casadevelazquez.org>
On 08/01/16 19:41, Ludovic Marcotte wrote:
Hi,

Show the complete list of *installed* SOPE and SOGo packages.

Show your /etc/sogo/sogo.conf file.

Be patient, or get one of these if you want a SLA: http://inverse.ca/#support-plans

Thanks,

On 08/01/2016 13:31, Damien Brémont wrote:
Hi,

I keep fighting with my authentication problems.
But I ail to solve it, and I need to find a solution ASAP.

is there a way to temporary downgrade to 2.3.4-1?

sudo apt-get install sogo=2.3.4-1 fails.
But this version isn't available anymore on the source servers.

Can I download it somewhere to downgrade?

O either, do you have any idea to investigate my problems

Thanks a lot in advance for your help

Best
Damien

Firma mail Casa de Velázquez *Damien BRÉMONT*
RESPONSABLE DES SYSTÈMES D'INFORMATION
ET COMMUNICATION
CASA DE VELÁZQUEZ <http://www.casadevelazquez.org>
On 07/01/16 22:22, Damien Brémont wrote:
Hi:

I recently updated my SOGo server from  2.3.4-1 to 2.3.5-1.

And since the changes, I can't login anymore :(
Before, it was working fine

I'm using an LDAP authentification. My server is working fine, but I get rejected with this king of

When I try with my original configuration, I have the folowing log messages after a fresh restart Jan 07 22:11:10 sogod [4264]: [ERROR] <0x0x7fc825ae9360[NGBundleManager]> could not create bundle for path: '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle' Jan 07 22:11:10 sogod [4264]: [WARN] <0x0x7fc8246bae20[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder Jan 07 22:11:10 sogod [4264]: SOGoRootPage Login from '192.168.192.100' for user '[email protected]' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 Jan 07 22:11:10 sogod [4264]: 192.168.192.100 "POST /SOGo/connect HTTP/1.1" 403 34/69 0.071 - - 3M


I have two sources (openldap) in my configuration

  SOGoUserSources = (
   {
      type = ldap;
      CNFieldName = cn;
      UIDFieldName = uid;
      IDFieldName = mail; // first field of the DN for direct binds
bindFields = (mail); // array of fields to use for indirect binds
      baseDN = "ou=xxxxx,ou=xxxxx,dc=xxxxx,dc=org";
      bindDN = "uid=xxxxx,ou=xxxxx,dc=xxxxx,dc=org";
      bindPassword = xxxxx;
      canAuthenticate = NO;
      displayName = "Anuario Global";
      hostname = ldaps://localhost:636;
      id = public;
      isAddressBook = YES;
    },
    {
      type = ldap;
      CNFieldName = cn;
      UIDFieldName = uid;
      IDFieldName = uid; // first field of the DN for direct binds
bindFields = (uid, mail); // array of fields to use for indirect binds
      baseDN = "ou=xxxxx,ou=xxxxx,dc=xxxxx,dc=org";
      bindDN = "uid=xxxxx,ou=xxxxx,dc=xxxxx,dc=org";
      bindPassword = xxxxx
      canAuthenticate = YES;
      hostname = ldaps://localhost:636;
      id = xxxxx;
      isAddressBook = NO;
    }
  );

And i'm running an Ubuntu 12.04.5 LTS server

Sometime I also get this kind of errors
Jan 07 22:15:01 sogod [4264]: [ERROR] <0x0x7fc82601f860[SOGoUserManager]> Authenticated with multidomain source but login is not an email

I don't SSL.bundle file, but it seems not to be a pb according to different forum??

So I try to login adding my domain, but nothing
I tried to remove the addressbook, tried to adjust settings, .....
Tried to use ldap instead of ldaps...

In fact I've already tried many things, but I miss ideas...

So help is welcome

Thanks in advance
Best
Damien



--
Ludovic Marcotte
[email protected]   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to