Hi,

Show me an LDIF entry of one of your user.

Also set LDAPDebugEnabled to YES in /etc/sogo/sogo.conf, restart SOGo, look at /var/log/sogo/sogo.log, try to login, grab the error, post it.

Ludo

On 08/01/2016 13:58, Damien Brémont wrote:
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!

}


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