View Issue Details

IDProjectCategoryView StatusLast Update
0003984SOGo Connectorwith external serverpublic2017-02-07 11:54
ReporterColmar0 Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Platform64-BitOSUbuntuOS Version16.04.1 LTS
Summary0003984: Sogo does not work with Active directory and LDAP connection; No logging information
Description

We are using Sogo Ubunto server with separate email server and
LDAP-Server and Active directory. Every user exist in the active directory and in the LDAP-Server. The LDAP-Server contains all possible email aliases of one user. Before I install the SOGO Connnectors the system was working
well only by the use of the LDAP users.

After installing the SOGO components and changing the sogo.conf file
to use Active directory and

I enter following additional lines in the "/etc/sogo/sogo.conf" file to get any logging information:

GCSFolderDebugEnabled = YES
GCSFolderStoreDebugEnabled = YES
LDAPDebugEnabled = YES
MySQL4DebugEnabled = YES
NGImap4DisableIMAP4Pooling = YES
ImapDebugEnabled = YES
OCSFolderManagerSQLDebugEnabled = YES
PGDebugEnabled = YES
SOGoDebugRequests = YES
SOGoMailKeepDraftsAfterSend = YES
SOGoUIxDebugEnabled = YES
SoDebugObjectTraversal = YES
SoSecurityManagerDebugEnabled = YES
WODontZipResponse = YES
WODebugZipResponse = YES

The complete file is visable down.

There are no debugging informations found in the
/var/log/sogo/sogo.log
file after trying to restart the service.

Sogo does simply not start.

  1. How can I get the logging information why it does not start?
  2. Is the sogo.conf file correct configurated to authenticate
    active directoy users and to get the email addresses out from the
    LDAP directory?
Additional Information

The /etc/sogo/sogo.conf file has following content:

{
WOListenQueueSize = 40;
OCSEMailAlarmsFolderURL = "mysql://sogo:3aumro@localhost:3306/sogo/sogo_alarms_folder";
OCSFolderInfoURL = "mysql://sogo:3aumro@localhost:3306/sogo/sogo_folder_info";
OCSCacheFolderURL = "mysql://sogo:3aumro@localhost:3306/sogo/sogo_cache_folder";
OCSStoreURL = "mysql://sogo:@localhost:3306/sogo/sogo_store";
OCSAclURL = "mysql://sogo:@localhost:3306/sogo/sogo_acl";
OCSSessionsFolderURL = "mysql://sogo:3aumro@localhost:3306/sogo/sogo_sessions_folder";
SOGoCacheCleanupInterval = 1500;
SOGoACLsSendEMailNotifications = NO;
SOGoAppointmentSendEMailNotifications = YES;
SOGoDraftsFolderName = Drafts;
SOGoEnableEMailAlarms = YES;
SOGoEnablePublicAccess = YES;
SOGoFirstDayOfWeek = 1;
SOGoFoldersSendEMailNotifications = NO;
SOGoForwardEnabled = YES;
SOGoIMAPAclConformsToIMAPExt = YES;
SOGoIMAPServer = "imaps://mail.test-domain.de:993";
SOGoLanguage = German;
SOGoMailAuxiliaryUserAccountsEnabled = "=";
SOGoMailDomain = "test-domain.DE";
SOGoMailShowSubscribedFoldersOnly = YES;
SOGoMailingMechanism = smtp;
SOGoMemcachedHost = "127.0.0.1";
SOGoPageTitle = "test Rechenzentrum";
SOGoProfileURL = "mysql://sogo:3aumro@localhost:3306/sogo/sogo_user_profile";
SOGoSMTPServer = "smtp.test-domain.de";
SOGoSentFolderName = Sent;
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = "sieve://localhost:4190";
SOGoTimeZone = "Europe/Berlin";
SOGoTrashFolderName = Trash;
SOGoHideSystemEMail = YES;
SOGoSuperUsernames = ("arno");

GCSFolderDebugEnabled = YES
GCSFolderStoreDebugEnabled = YES
LDAPDebugEnabled = YES
MySQL4DebugEnabled = YES
NGImap4DisableIMAP4Pooling = YES
ImapDebugEnabled = YES
OCSFolderManagerSQLDebugEnabled = YES
PGDebugEnabled = YES
SOGoDebugRequests = YES
SOGoMailKeepDraftsAfterSend = YES
SOGoUIxDebugEnabled = YES
SoDebugObjectTraversal = YES
SoSecurityManagerDebugEnabled = YES
WODontZipResponse = YES
WODebugZipResponse = YES

OGoUserSources = (

// Active Directory Authentifikation:
{
CNFieldName = displayName;
IDFieldName = CN;
UIDFieldName = CN;
baseDN = "DC=rz,DC=test-domain,DC=de";
bindDN = "CN=sogo,OU=Gaeste,DC=rz,DC=test-domain,DC=de";
bindFields = (
CN
);
bindPassword = "%1OpenChange";
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "127.0.0.1";
id = samba;
isAddressBook = NO;
port = 389;
},

// Adressbuch auslesen:
{
CNFieldName = cn;
IDFieldName = uid;
MailFieldNames = (
mail,
);
SearchFieldNames = (
sn,
cn
);
UIDFieldName = uid;
baseDN = "ou=people,dc=fh-test,dc=de";
bindAsCurrentUser = YES;
canAuthenticate = NO;
displayName = "Adressen test";
// encryption = SSL;
// hostname = "ldap1.test-domain.de ldap2.test-domain.de";
hostname = "ldap://localhost:389 ldap://localhost:390";
id = public_addr;
isAddressBook = YES;
passwordPolicy = NO;
type = ldap;
},
{
CNFieldName = cn;
IDFieldName = cn;

TagsNo tags attached.

Activities

ludovic

ludovic

2017-01-09 15:26

reporter   ~0011180

OGoUserSources ?

How about using SOGoUserSources?

Christian Mack

Christian Mack

2017-02-07 11:00

developer   ~0011272

Also there are a lot of missing semicolons after the debugging options ;-)

ludovic

ludovic

2017-02-07 11:54

reporter   ~0011274

No feedback provided.

Issue History

Date Modified Username Field Change
2017-01-09 15:25 Colmar0 New Issue
2017-01-09 15:26 ludovic Note Added: 0011180
2017-02-07 11:00 Christian Mack Note Added: 0011272
2017-02-07 11:54 ludovic Note Added: 0011274
2017-02-07 11:54 ludovic Status new => closed
2017-02-07 11:54 ludovic Assigned To => ludovic
2017-02-07 11:54 ludovic Resolution open => suspended