Javier Amor García
72aab7f83f
ActiveSync: can be controlled by module constraint
...
Added 'ActiveSync' module constraint. If constraint is not
honored the ActiveSync request returns a forbidden (403).
2015-06-23 09:11:45 +02:00
Julio García
c61eca27a1
Merge branch 'upstream-master' into merge-from-upstream
...
Conflicts:
SoObjects/SOGo/LDAPSource.m
SoObjects/SOGo/SOGoUserManager.m
2015-06-02 12:27:20 +02:00
Julio García
90e11d76f6
Revert "(fix) more multi-domain fixes and cleanups"
...
This reverts commit ed42d1e26b
.
2015-06-02 12:24:44 +02:00
Julio García
3dd8bddc0e
Revert "(fix) more fixes and clarifications on the mutli-domain settings"
...
This reverts commit d07df554f3
.
2015-06-02 12:24:32 +02:00
Enrique J. Hernández
13f2ac9cbb
Merge pull request #138 from Zentyal/jgarcia/fix-multidomain-web
...
Avoid reading emails from other domains (info@foo vs info@bar)
2015-05-25 22:17:42 +02:00
Ludovic Marcotte
d07df554f3
(fix) more fixes and clarifications on the mutli-domain settings
2015-05-25 13:00:08 -04:00
Jesús García Sáez
7dc333e790
Fix warning distinct Objective-C type
...
failedCount is a NSDictionary *, not NSMutableDictionary *
2015-05-25 17:33:46 +02:00
Jesús García Sáez
cc62576fef
Avoid cache entries with uid@domain@domain prefix
...
Depend of the current workflow these paths are reached with
username as uid and sometimes as uid@domain. So in multidomain
environments only append @domain when needed.
2015-05-25 17:33:32 +02:00
Ludovic Marcotte
ed42d1e26b
(fix) more multi-domain fixes and cleanups
2015-05-25 09:19:04 -04:00
Ludovic Marcotte
2ae5f342da
Fix a crasher
2015-05-22 13:47:48 -04:00
Jesús García Sáez
7990e23aaa
Fix warning distinct Objective-C type
...
failedCount is a NSDictionary *, not NSMutableDictionary *
2015-05-22 10:19:09 +02:00
Jesús García Sáez
04ce8d1066
Avoid cache entries with uid@domain@domain prefix
...
Depend of the current workflow this paths are reached with
username as uid and sometimes as uid@domain. So in multidomain
environments only append @domain when needed.
Conflicts:
SoObjects/SOGo/SOGoUserManager.m
2015-05-22 10:18:55 +02:00
Jesús García Sáez
37461e650d
Fix conflicts with externalLoginWithEmail + DomainBasedUid
...
On multidomain environment (SOGoEnableDomainBasedUID) with email for imap
authentication (SOGoForceExternalLoginWithEmail) we need to use uid@domain
instead of just uid in method getEmailForUID
2015-05-22 10:14:49 +02:00
Jesús García Sáez
9922ec56d9
Avoid uid+attributes entries on shared cache
...
In multidomain environments this will produce that info@domain1.com
can read info@domain2.com emails when info@domain2.com log in after
info@domain1.com is already logged in.
If multidomain is not enabled, this action is not needed because
uid+attributes has been already saved on shared cache
2015-05-22 10:14:43 +02:00
Jesús García Sáez
76dd53b461
Fix conflicts with externalLoginWithEmail + DomainBasedUid
...
On multidomain environment (SOGoEnableDomainBasedUID) with email for imap
authentication (SOGoForceExternalLoginWithEmail) we need to use uid@domain
instead of just uid in method getEmailForUID
2015-05-21 17:13:18 +02:00
Jesús García Sáez
020c895925
Avoid uid+attributes entries on shared cache
...
In multidomain environments this will produce that info@domain1.com
can read info@domain2.com emails when info@domain2.com log in after
info@domain1.com is already logged in.
If multidomain is not enabled, this action is not needed because
uid+attributes has been already saved on shared cache
2015-05-21 17:13:18 +02:00
Ludovic Marcotte
f4963df50f
(fix) avoid appending the domain unconditionally when SOGoEnableDomainBasedUID is set to YES
2015-05-21 17:13:11 +02:00
Jesús García Sáez
7160d94e91
Set domain before fetching auth sources
...
In multidomain environment right now we are trying to authenticate against
all sources defined in sogo.conf because the domain is not set at this point.
In sogo.conf we have to specify the domain a source is useful for, so with this
patch instead of 'n' tries of authentication we will perform only 1 (in a scenario
where we have 1 source per domain, and we have 'n' domains).
2015-05-20 18:33:11 +02:00
Ludovic Marcotte
416711ea43
(fix) avoid appending the domain unconditionally when SOGoEnableDomainBasedUID is set to YES
2015-05-19 13:48:59 -04:00
Ludovic Marcotte
fbb779a71d
(fix) During login, we now extract the domain from the user to accelerate authentication requests on sources
2015-05-06 16:03:33 -04:00
Jesús García Sáez
0f432b654f
oc: Fix internal EntryIds properties on multidomain
...
PidTag*EntryId properties were not being generated (which contain
the email address and so on). Functionality on Outlook clients like
"Reply All" were not working because of this (probably a lot more
stuff related with email addresses).
With multidomain support enabled outlook clients will use full email
address (e.g. user@domain.com ) as login.
This change is needed because we were performing ldap queries on samdb
using (sAMAccountName=UIDFieldName), being UIDFieldName the parameter
configured in sogo.conf for that source. In multidomain environment
this field could be `sAMAccountName` but it could not. Actually the
more logical scenario will be to use `uid` field here (which will be
just `user`, without the `@domain.com` part).
SOGoUserManager will return `sAMAccountName` if the contact has it
(in Outlook environment that means always) so it can (and must) be
used to query samdb in MAPIStoreSamDBUtils properly.
TL;DR: use sAMAccoutName instead of uid to query samdb
2015-04-16 11:32:24 +02:00
Francis Lachapelle
cbba0719bb
Fix exception in SOGoUserManager
2015-03-04 10:05:12 -05:00
Francis Lachapelle
8e0849029e
Fix contacts lookup by UID
...
When looking for a specific contact UID, we no longer match a pattern
that could return multiple results. We search for the exact UID only.
2015-03-03 21:26:09 -05:00
Francis Lachapelle
6192322513
Fix some gcc warnings
2015-03-03 21:23:19 -05:00
Jesús García Sáez
8d21bc3e36
Fix change password with DomainBasedUID
...
When users use full domain to login (SOGoEnableDomainBasedUID) the
user attributes in the cache were not being properly updated because
in this case the key is `uid@domain` instead of just `uid`.
2015-02-25 12:39:01 +01:00
Ludovic Marcotte
b1ac7a0cca
MultipleBookingsFieldName can be set to -1
2015-01-05 13:49:28 -05:00
Ludovic Marcotte
5304461e4c
now possible to see who created a event/task in a delegated calendar
2013-06-19 10:23:47 -04:00
Ludovic Marcotte
cfee5aa3f4
Added new failed login rate-limiting options
2013-06-11 09:41:17 -04:00
Jean Raby
451c82c815
Don't use user/password cache from the login page
...
The idea is to always use memcached for credentials to avoid hitting
the authentication backend on every click but to check with the auth backend
for every login requests.
This should fix #2169
While there, fix whitespace (killtab)
2013-02-01 18:35:10 -05:00
Ludovic Marcotte
c066136a06
Reverted code that was causing issues with groups ( #2090 )
2013-01-28 08:34:40 -05:00
Ludovic Marcotte
9d4f4c3a9c
Proper fix for #2163 .
2013-01-11 09:55:10 -05:00
Ludovic Marcotte
aa7aa6a973
Initial patch from #1866 to fix c_sievehostname.
2012-12-03 16:42:56 -05:00
Wolfgang Sourdeau
37b9aca940
Do not consider fetching and storing user info for user ids or emails which contain spaces
2012-10-09 14:03:28 -04:00
Wolfgang Sourdeau
3c0e534d11
Keep unresolved users in the cache too, to avoid useless queries to the user database
2012-10-06 14:51:26 -04:00
Ludovic Marcotte
08230b33bb
See ChangeLog
...
Monotone-Parent: 747fe8c2134a990c1cdf3b494c2b7776021cb736
Monotone-Revision: 3c4baa92c5634d4da061da739a9b544d04c44586
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T13:24:32
2012-05-31 13:24:32 +00:00
Ludovic Marcotte
dbd99fac84
See ChangeLog
...
Monotone-Parent: 8ff4e6d2b420caded81d7317c1170ff6ce35249e
Monotone-Revision: 2b7803f8e993e96ff4490197722ef0a2a5faad70
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-04-18T17:39:11
2012-04-18 17:39:11 +00:00
Wolfgang Sourdeau
7a655ff8ce
Monotone-Parent: 54cc41b15e02fc61bfa80e7db07aeb97e541fdfc
...
Monotone-Revision: 3c8a49fe7ef93ec55aaeef9dd064be1de6052cfe
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-21T15:50:07
2012-03-21 15:50:07 +00:00
Francis Lachapelle
7815b3403c
See ChangeLog.
...
Monotone-Parent: d4394b4b92fdfda720d67698c9fbadc75787ad18
Monotone-Revision: e8c7d8a4465a1b9357c1d9f201dec2b93c5f3507
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-11T07:08:02
Monotone-Branch: ca.inverse.sogo
2012-02-11 07:08:02 +00:00
Wolfgang Sourdeau
dc0083ba4d
propagate from branch 'ca.inverse.sogo.1_3_12' (head c5233a2a4e6a6abdb50191daf1eb589c9ff5cf80)
...
to branch 'ca.inverse.sogo' (head 212622191a26c7b5f257c536a45dfea03f404bc1)
Monotone-Parent: 212622191a26c7b5f257c536a45dfea03f404bc1
Monotone-Parent: c5233a2a4e6a6abdb50191daf1eb589c9ff5cf80
Monotone-Revision: e18b5ae2235fde5d7f7f569ead8452a2217d9b5c
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-14T21:24:10
Monotone-Branch: ca.inverse.sogo
2012-02-14 21:24:10 +00:00
Wolfgang Sourdeau
da111aa6cc
Monotone-Parent: bdd1da1e1be522e483da3257b19a669856f518d6
...
Monotone-Revision: c5233a2a4e6a6abdb50191daf1eb589c9ff5cf80
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-14T21:23:31
2012-02-14 21:23:31 +00:00
Francis Lachapelle
b26858fdc2
propagate from branch 'ca.inverse.sogo.1_3_12' (head c241a8e1e716fa0db3e4f4e370c051096cc2c3e2)
...
to branch 'ca.inverse.sogo' (head d807738c8f35c5080fb2e1684404fb8d992c8032)
Monotone-Parent: c241a8e1e716fa0db3e4f4e370c051096cc2c3e2
Monotone-Parent: d807738c8f35c5080fb2e1684404fb8d992c8032
Monotone-Revision: 62ee066ad239ea56d6f2dc0b73f12d399813d68c
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-12T21:01:06
Monotone-Branch: ca.inverse.sogo
2012-01-12 21:01:06 +00:00
Francis Lachapelle
ccf847f555
See ChangeLog
...
Monotone-Parent: ed15d4f340fd47347d881c8826eb40a2dc22763d
Monotone-Revision: d669b0b3e321e22c68d092f984d543560ae1af0e
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-12T20:01:34
2012-01-12 20:01:34 +00:00
Wolfgang Sourdeau
5468b9b1a2
propagate from branch 'ca.inverse.sogo.1_3_12' (head f5ba6db440f5a8ba817af65dea12b4a616fdfe71)
...
to branch 'ca.inverse.sogo' (head df5dd81d62db331ba5c8de9f2257f9430c586534)
Monotone-Parent: df5dd81d62db331ba5c8de9f2257f9430c586534
Monotone-Parent: f5ba6db440f5a8ba817af65dea12b4a616fdfe71
Monotone-Revision: 31373520d86c320c1658f22e3bde2eee178c2003
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-09T16:38:18
Monotone-Branch: ca.inverse.sogo
2012-01-09 16:38:18 +00:00
Francis Lachapelle
1bf0fb1244
See ChangeLog.
...
Monotone-Parent: 299e74bad69ad3fc8b6fe30fbd3be53ee3045ff7
Monotone-Revision: 6e892bd0470a59c4edc792bd0d24b13e56e6a5e0
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-05T15:03:05
2012-01-05 15:03:05 +00:00
Wolfgang Sourdeau
53feece892
Monotone-Parent: f2f2f66b3df579ca384e578aded6976b6634ffcb
...
Monotone-Revision: c7009a2d8a1dce845aa1a365123f4b438e3168fe
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-03T22:52:27
Monotone-Branch: ca.inverse.sogo
2012-01-03 22:52:27 +00:00
Francis Lachapelle
fafcd1aaab
See ChangeLog.
...
Monotone-Parent: 9622fc005299a8ed3c143c177667be6f33df9523
Monotone-Revision: d03d3ac4770756bf4494d9e20e9768b28e5ff0cb
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-10-26T15:25:49
2011-10-26 15:25:49 +00:00
Francis Lachapelle
f1da116a55
See ChangeLog.
...
Monotone-Parent: f6c6bfab15922450127ccb9597bbc97468d695c0
Monotone-Revision: afd67b085b60bc29f1319198a1796a532db22ebf
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-10-21T20:12:38
Monotone-Branch: ca.inverse.sogo
2011-10-21 20:12:38 +00:00
Francis Lachapelle
20e43626b5
Renamed SOGoEnableDomainWithUID to SOGoEnableDomainBasedUID.
...
Monotone-Parent: 297140f163083c23ae6ed58e7f2fe17a62277d31
Monotone-Revision: 6d9f4a1dbd4808e626cd25041219c5bb22a5626f
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-19T16:25:11
Monotone-Branch: ca.inverse.sogo
Monotone-Tag: SOGo_v1.3.8a
Monotone-Tag: v1.3.8a
2011-07-19 16:25:11 +00:00
Francis Lachapelle
26126b8959
See ChangeLog
...
Monotone-Parent: b60a07f4bcb416be85fafcd1299d398c09b58190
Monotone-Revision: b836806e761968a4845035ee408cce501a3f9fc5
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-19T01:21:18
Monotone-Branch: ca.inverse.sogo
2011-07-19 01:21:18 +00:00
Francis Lachapelle
620872202d
See ChangeLog.
...
Monotone-Parent: 42fa26da9b1def06a194726cab4199338a4bdf4c
Monotone-Revision: 88b07aa8edf775fa02705a9c03a0f8f14f905db3
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-15T22:22:11
Monotone-Branch: ca.inverse.sogo
2011-07-15 22:22:11 +00:00