Hi Matthew,

I had same problem but it was related with virtualhost that I created to 
webmail.

My solution was redirect / to /SOGo on nginx.

location / {
    try_files $uri $uri/ @strip-ext;
    return 301 /SOGo$1;
  }

Regards,
Pedro Antunes

On 25/01/2019, 23:32, "users-requ...@sogo.nu on behalf of Matthew Valdez" 
<users-requ...@sogo.nu on behalf of users@sogo.nu> wrote:

    Hello all,
    
    Currently have SOGo setup to authenticate and login using ldap for our 
    Active directory and when I go to sign in, it will redirect you to 
    sogo/SOGo/username and it will be the login screen again, and you can 
    keep repeating the login. I am assuming it has something to do with the 
    database? I created the database and the user, I tried creating the 
    tables and nothing changes. Below is my sogo config file with a few 
    modifications to remove any "sensitive" data.
    
    Thanks,
    
    -Matthew
    
    
    {
    
             SOGoProfileURL                        = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_user_profile";
             OCSFolderInfoURL                      = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_folder_info";
             OCSSessionsFolderURL                  = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_sessions_info";
             OCSEMailAlarmsFolderURL               = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_alarms_folder";
             OCSStoreURL                           = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_store";
             OCSAclURL                             = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_acl";
             OCSCacheFolderURL                     = 
    "mysql://sogo:sogo@127.0.0.1:3306/sogo/sogo_cache_folder";
    
             SOGoLanguage                          = English;
             SOGoAuthenticationType                = LDAP;
             SOGoSieveScriptsEnabled               = YES;
             SOGoForwardEnabled                    = YES;
             SOGoVacationEnabled                   = YES;
             SOGoEnableEMailAlarms                 = YES;
             SOGoTimeZone                          = US/Central;
             SOGoSieveServer                       = sieve://127.0.0.1:4190;
             SOGoCalendarDefaultRoles              = ("PublicDAndTViewer");
             SOGoAppointmentSendEMailNotifications = YES;
    
    
             SOGoUserSources = (
                     {
                             type            = ldap;
                             CNFieldName     = cn;
                             IDFieldName     = uid;
                             UIDFiledName    = sAMAccountName;
                             baseDN          = "CN=Users,DC=domain,DC=local";
                             bindDN          = "CN=Sogo 
    User,CN=Users,DC=domain,DC=local";
                             bindFields      = (sAMAccountName);
                             bindPassword    = sogo;
                             canAuthenticate = YES;
                             displayName     = "Active Directory";
                             hostname        = "ldap://ipaddress:389";;
                             id              = directory;
                             isAddressBook   = YES;
                     }
             );
    }
    
    
    
    -- 
    Matthew Valdez
    Ludlum Measurements, Inc.
    501 Oak Street
    Sweetwater, TX 79556 USA
    (325) 235-5494 Phone, ext:3393
    maval...@ludlums.com
    
    -- 
    users@sogo.nu
    https://inverse.ca/sogo/lists
    
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to