Re: [SOGo] Signing into sogo redirects you to login again

2019-02-04 Thread Francis Lachapelle
Just to make sure -- is mod_headers enabled?

sudo a2enmod headers


Francis

> On Jan 31, 2019, at 10:42 AM, Matthew Valdez (maval...@ludlums.com) 
>  wrote:
> 
> So this is what I have currently, and it will let me sign in and authenticate 
> with AD, but it redirects me to http://sogo/SOGo/so/username
> 
> http://127.0.0.1:2/SOGo>
> ## Adjust the following to your configuration
> ## and make sure to enable the headers module
> 
>   RequestHeader set "x-webobjects-server-port" "443"
>   SetEnvIf Host (.*) HTTP_HOST=$1
>   RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
>   RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
> env=HTTP_HOST
> 
> 
> On 1/30/2019 8:56 AM, Odhiambo Washington wrote:
>> Senor Valdez,
>> 
>> You were told to leave the values literally :-)
>> There is nothing to try! Do not change the values that you changed.
>> 
>> No cambie los valores:
>> 
>> RequestHeader set "x-webobjects-server-port" "443"
>> SetEnvIf Host (.*) HTTP_HOST=$1
>> RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
>> RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
>> env=HTTP_HOST
>> 
>> ¡Déjalos como eran originalmente!
>> 
>> If you MUST change them, please take a look at https://lists.my.co.ke/~wash/
>> I have put for you two files where I have manually changed the parameters. 
>> You can copy those and replace any values related my.co.ke. Claro? :-) 
>> 
>> Let me know if you are still stuck.
>> 
>> 
>> On Tue, 29 Jan 2019 at 22:52, Matthew Valdez  wrote:
>> I've tried that and tried SERVER_NAME instead of HTTP_HOST, all same 
>> results.
>> 
>> On 1/28/2019 9:52 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:
>> > On 1/28/19 9:20 AM, Matthew Valdez" (maval...@ludlums.com) wrote:
>> >>
>> >> 
>> >> ##  RequestHeader set "x-webobjects-server-port" "80"
>> >>   SetEnvIf Host (.*) HTTP_HOST=$1
>> >> ##  RequestHeader set "x-webobjects-server-name" "SOGoSync"
>> >> ##  RequestHeader set "x-webobjects-server-url" "http://SOGoSync;
>> >>
>> >
>> > You should not have commented those out or modified them.  Those four 
>> > lines should be literally:
>> >
>> >   RequestHeader set "x-webobjects-server-port" "443"
>> >   SetEnvIf Host (.*) HTTP_HOST=$1
>> >   RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" 
>> > env=HTTP_HOST
>> >   RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
>> > env=HTTP_HOST
>> >
>> -- 
>> users@sogo.nu
>> https://inverse.ca/sogo/lists
>> 
>> 
>> -- 
>> Best regards,
>> Odhiambo WASHINGTON,
>> Nairobi,KE
>> +254 7 3200 0004/+254 7 2274 3223
>> "Oh, the cruft.", grep ^[^#] :-)
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Signing into sogo redirects you to login again

2019-02-01 Thread mj

Hi,

Here is what we have set, and things are working nicely here:

SetEnvIf Host (.*) HTTP_HOST=$1
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "webmail" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://ourwebmail.url.com; 
env=HTTP_HOST


Perhaps this helps, specially the last line is different from yours.

MJ
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Signing into sogo redirects you to login again

2019-01-31 Thread Matthew Valdez
So this is what I have currently, and it will let me sign in and 
authenticate with AD, but it redirects me to http://sogo/SOGo/so/username


http://127.0.0.1:2/SOGo>
## Adjust the following to your configuration
## and make sure to enable the headers module

  RequestHeader set "x-webobjects-server-port" "443"
  SetEnvIf Host (.*) HTTP_HOST=$1
  RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" 
env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
env=HTTP_HOST


On 1/30/2019 8:56 AM, Odhiambo Washington wrote:

Senor Valdez,

You were told to leave the values literally :-)
There is nothing to try! Do not change the values that you changed.

No cambie los valores:

RequestHeader set "x-webobjects-server-port" "443"
SetEnvIf Host (.*) HTTP_HOST=$1
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
env=HTTP_HOST


¡Déjalos como eran originalmente!

If you MUST change them, please take a look at 
https://lists.my.co.ke/~wash/
I have put for you two files where I have manually changed the 
parameters. You can copy those and replace any values related my.co.ke 
. Claro? :-)


Let me know if you are still stuck.


On Tue, 29 Jan 2019 at 22:52, Matthew Valdez > wrote:


I've tried that and tried SERVER_NAME instead of HTTP_HOST, all same
results.

On 1/28/2019 9:52 PM, Gordon Messmer (gordon.mess...@gmail.com
) wrote:
> On 1/28/19 9:20 AM, Matthew Valdez" (maval...@ludlums.com
) wrote:
>>
>> 
>> ##  RequestHeader set "x-webobjects-server-port" "80"
>>   SetEnvIf Host (.*) HTTP_HOST=$1
>> ##  RequestHeader set "x-webobjects-server-name" "SOGoSync"
>> ##  RequestHeader set "x-webobjects-server-url" "http://SOGoSync;
>>
>
> You should not have commented those out or modified them.  Those
four
> lines should be literally:
>
>   RequestHeader set "x-webobjects-server-port" "443"
>   SetEnvIf Host (.*) HTTP_HOST=$1
>   RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e"
> env=HTTP_HOST
>   RequestHeader set "x-webobjects-server-url"
"https://%{HTTP_HOST}e;
> env=HTTP_HOST
>
-- 
users@sogo.nu 

https://inverse.ca/sogo/lists



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Signing into sogo redirects you to login again

2019-01-29 Thread Matthew Valdez
I've tried that and tried SERVER_NAME instead of HTTP_HOST, all same 
results.


On 1/28/2019 9:52 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:

On 1/28/19 9:20 AM, Matthew Valdez" (maval...@ludlums.com) wrote:



##  RequestHeader set "x-webobjects-server-port" "80"
  SetEnvIf Host (.*) HTTP_HOST=$1
##  RequestHeader set "x-webobjects-server-name" "SOGoSync"
##  RequestHeader set "x-webobjects-server-url" "http://SOGoSync;



You should not have commented those out or modified them.  Those four 
lines should be literally:


  RequestHeader set "x-webobjects-server-port" "443"
  SetEnvIf Host (.*) HTTP_HOST=$1
  RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" 
env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
env=HTTP_HOST



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Signing into sogo redirects you to login again

2019-01-28 Thread Gordon Messmer

On 1/28/19 9:20 AM, Matthew Valdez" (maval...@ludlums.com) wrote:



##  RequestHeader set "x-webobjects-server-port" "80"
  SetEnvIf Host (.*) HTTP_HOST=$1
##  RequestHeader set "x-webobjects-server-name" "SOGoSync"
##  RequestHeader set "x-webobjects-server-url" "http://SOGoSync;



You should not have commented those out or modified them.  Those four 
lines should be literally:


  RequestHeader set "x-webobjects-server-port" "443"
  SetEnvIf Host (.*) HTTP_HOST=$1
  RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" 
env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
env=HTTP_HOST


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Signing into sogo redirects you to login again

2019-01-28 Thread Matthew Valdez
So I will sign into http://sogosync/SOGo and I will get redirected to 
sogosync/SOGo/username. I can type in 
sogosync/SOGo/so/username/Mail/view#!/Mail/0/INBOX and it will be the 
login, sign into that, and it will be same url with the login. Below is 
a gif of what is happening, and my apache config.


https://gyazo.com/5adaf5ee61f0bbf979bbc01917ed99e3

Alias /SOGo.woa/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/


    AllowOverride None

    
    Order deny,allow
    Allow from all
    
    = 2.4>
    Require all granted
    

    # Explicitly allow caching of static content to avoid browser 
specific behavior.
    # A resource's URL MUST change in order to have the client load the 
new version.

    
  ExpiresActive On
  ExpiresDefault "access plus 1 year"
    


## Uncomment the following to enable proxy-side authentication, you will 
then
## need to set the "SOGoTrustProxyAuthentication" SOGo user default to 
YES and

## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
## below.
#
## For full proxy-side authentication:
#
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#
#
## For proxy-side authentication only for CardDAV and GroupDAV from external
## clients:
#
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install 
cas-proxy-validate.py

# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# http://localhost/app/cas-proxy-validate.py>
#   Order deny,allow
#   Allow from your-cas-host-addr
# 

# Redirect / to /SOGo
#RedirectMatch ^/$ http://mail.yourdomain.com/SOGo

# Enable to use Microsoft ActiveSync support
# Note that you MUST have many sogod workers to use ActiveSync.
# See the SOGo Installation and Configuration guide for more details.
#
#ProxyPass /Microsoft-Server-ActiveSync \
# http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync \
# retry=60 connectiontimeout=5 timeout=360

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

http://127.0.0.1:2/SOGo>
## Adjust the following to your configuration
## and make sure to enable the headers module

##  RequestHeader set "x-webobjects-server-port" "80"
  SetEnvIf Host (.*) HTTP_HOST=$1
##  RequestHeader set "x-webobjects-server-name" "SOGoSync"
##  RequestHeader set "x-webobjects-server-url" "http://SOGoSync;

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
  RequestHeader unset "x-webobjects-remote-user"
#  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" 
env=REMOTE_USER


  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"


  AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all


# For Apple autoconfiguration

  RewriteEngine On
  RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]
  RewriteRule ^/.well-known/carddav/?$ /SOGo/dav [R=301]



On 1/28/2019 11:05 AM, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2019-01-28 11:37 a.m., Matthew Valdez (maval...@ludlums.com) wrote:

So I am using apache, and I have seen numerous people have this same 
issue. Everything I am reading it says it has something to do with 
the SOGo.conf file in the apache folder but that does not seem to be 
the case. I tried all the suggestions like this one 
https://www.mail-archive.com/users@sogo.nu/msg27894.html . I also 
tried copying the SOGo.conf from the ZEG release and still the same 
issue. 
Show your Apache SOGo configuration file and tell us which URL you use 
to access SOGo.



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Signing into sogo redirects you to login again

2019-01-28 Thread Odhiambo Washington
Please follow this HOWTO and don't dare skip even a single step even when
you feel you know it already :-)
Go through it with a tooth-comb.If you get stuck, I will help you diagnose
the problem personally, okay?
https://wiki.archlinux.org/index.php/SOGo


On Mon, 28 Jan 2019 at 20:27, Matthew Valdez  wrote:

> So I am using apache, and I have seen numerous people have this same
> issue. Everything I am reading it says it has something to do with the
> SOGo.conf file in the apache folder but that does not seem to be the
> case. I tried all the suggestions like this one
> https://www.mail-archive.com/users@sogo.nu/msg27894.html . I also tried
> copying the SOGo.conf from the ZEG release and still the same issue.
>
>
> -Matthew
>
> On 1/25/2019 5:36 PM, Pedro Antunes (pantu...@suroot.pt) wrote:
> > 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"  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
>


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Signing into sogo redirects you to login again

2019-01-28 Thread Ludovic Marcotte

On 2019-01-28 11:37 a.m., Matthew Valdez (maval...@ludlums.com) wrote:

So I am using apache, and I have seen numerous people have this same 
issue. Everything I am reading it says it has something to do with the 
SOGo.conf file in the apache folder but that does not seem to be the 
case. I tried all the suggestions like this one 
https://www.mail-archive.com/users@sogo.nu/msg27894.html . I also 
tried copying the SOGo.conf from the ZEG release and still the same 
issue. 
Show your Apache SOGo configuration file and tell us which URL you use 
to access SOGo.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (https://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Signing into sogo redirects you to login again

2019-01-28 Thread Matthew Valdez
So I am using apache, and I have seen numerous people have this same 
issue. Everything I am reading it says it has something to do with the 
SOGo.conf file in the apache folder but that does not seem to be the 
case. I tried all the suggestions like this one 
https://www.mail-archive.com/users@sogo.nu/msg27894.html . I also tried 
copying the SOGo.conf from the ZEG release and still the same issue.



-Matthew

On 1/25/2019 5:36 PM, Pedro Antunes (pantu...@suroot.pt) wrote:

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


Re: [SOGo] Signing into sogo redirects you to login again

2019-01-25 Thread Pedro Antunes
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" 
 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

[SOGo] Signing into sogo redirects you to login again

2019-01-25 Thread Matthew Valdez

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