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
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
Francis Lachapelle
f44212f0e6
See ChangeLog
...
Monotone-Parent: c0fdc871e5cf2faadbed16ce1c4275647d0928b4
Monotone-Revision: 178cf4e5311729ac333305676b5ad2aa35a7ca71
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-06-24T19:19:50
Monotone-Branch: ca.inverse.sogo
2011-06-24 19:19:50 +00:00
Ludovic Marcotte
12856abe4d
See ChangeLog
...
Monotone-Parent: be9e28d5d42ed05605b27d2127cf29b07678495b
Monotone-Revision: 5de6a9584cf27a2c1dad8d1ab8b84fc9ddab2720
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-04-25T10:31:08
Monotone-Branch: ca.inverse.sogo
2011-04-25 10:31:08 +00:00
Francis Lachapelle
a87bba64b2
Added support for the parameter "IMAPLoginMailField" for SQL/LDAP sources, and the parameter "authenticationFilter" for SQL sources. See ChangeLog.
...
Monotone-Parent: 1cdaff22cdbdb961e1937dc8f1ac1936bd06dc99
Monotone-Revision: 36439821e42cfcb830bfff9081d7e1318f1e92ab
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-04-14T18:41:10
Monotone-Branch: ca.inverse.sogo
2011-04-14 18:41:10 +00:00
Wolfgang Sourdeau
3dd32709b9
Monotone-Parent: 9e635b25216d0eadcf76cf6cf3aa6e006edaeca6
...
Monotone-Revision: 42caf93c5de027c15e42a14d1ebfa2b4b02a8630
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-04-05T15:13:43
Monotone-Branch: ca.inverse.sogo
2011-04-05 15:13:43 +00:00
Francis Lachapelle
c33821349e
See Changelog.
...
Monotone-Parent: 7644c155b02b86d417852ac59361714181ec8c18
Monotone-Revision: 66faeac6511d176fd1b35b6a0a5b8cbb20b0b2d1
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-01-24T18:02:12
Monotone-Branch: ca.inverse.sogo
2011-01-24 18:02:12 +00:00
Ludovic Marcotte
13798939bf
See ChangeLog
...
Monotone-Parent: 6bd02ef1f10a4cfb8e4199f21aebc3e20539ebca
Monotone-Revision: 4bf1d5199159aabb88dec15bd4be9362748e3ba1
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-12-29T13:01:16
Monotone-Branch: ca.inverse.sogo
2010-12-29 13:01:16 +00:00
Ludovic Marcotte
f46ebda105
See ChangeLog
...
Monotone-Parent: f5359c59c0bb008203154487db17e1ecdd274c0d
Monotone-Revision: 7c78ba28d583536196a1acf34df5c96f40db238e
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-12-28T17:42:50
Monotone-Branch: ca.inverse.sogo
2010-12-28 17:42:50 +00:00
Ludovic Marcotte
2c246f3e7a
See ChangeLog
...
Monotone-Parent: 535292a4d5c9f53624dcaabc419821b5755e9ccc
Monotone-Revision: c35e5e0bbfa47c91a6b8c9b68bf31ca78ee421fc
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-12-14T18:08:36
Monotone-Branch: ca.inverse.sogo
2010-12-14 18:08:36 +00:00
Wolfgang Sourdeau
bbb5714807
reindentation
...
Monotone-Parent: 2b4b3166fde94aa23081f426fb0b81c34f751ff3
Monotone-Revision: bb751d75e7021415c3bfb2e701ecf6acb2adad9e
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-15T19:48:55
Monotone-Branch: ca.inverse.sogo
2010-11-15 19:48:55 +00:00
Wolfgang Sourdeau
5c811e36ca
Monotone-Parent: 4ad21ea0342a626a99aabc213cf8ed9a827eb0c4
...
Monotone-Revision: d175e2ab17f0d56d2fdc9a046048a0302d9fd0f7
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-02T13:16:05
Monotone-Branch: ca.inverse.sogo
2010-11-02 13:16:05 +00:00
Wolfgang Sourdeau
3743b78fff
Monotone-Parent: 652fb1324338399d044d5f01bb158d94080a27c0
...
Monotone-Revision: ea84b0da49761a54044bb70c2502171c1b981e86
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-26T18:20:46
Monotone-Branch: ca.inverse.sogo
2010-10-26 18:20:46 +00:00
Wolfgang Sourdeau
db99b3510c
Monotone-Parent: 8d12e48e58680d1195d0d7a0f514a3cac44d0767
...
Monotone-Revision: ceeed83c021dfd38a21395784e4f16ca9f08acd3
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-07T21:30:36
Monotone-Branch: ca.inverse.sogo
2010-06-07 21:30:36 +00:00
Wolfgang Sourdeau
786d7a1558
Monotone-Parent: a5bfd93a503f6042740a0ab88ca339c566d81c1f
...
Monotone-Revision: e5e3e8aeac9b5235e537766deabadd79882c8c99
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-01T18:48:14
Monotone-Branch: ca.inverse.sogo
2010-06-01 18:48:14 +00:00
Ludovic Marcotte
40c3cb74d0
See ChangeLog
...
Monotone-Parent: 024380d579a482e49866c36ef54561cf8b39ab02
Monotone-Revision: 2cbc46c16f9b3d45d868b15a968f614dbbaf9749
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-03-08T15:18:05
Monotone-Branch: ca.inverse.sogo
2010-03-08 15:18:05 +00:00
Wolfgang Sourdeau
bc8e5a9998
Monotone-Parent: 4e7dca3054e95b38b822f5fc8ff05e3b263e1e91
...
Monotone-Revision: 78533df190b5cd6050f9b57ff65db1e242028164
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-12-02T20:53:52
Monotone-Branch: ca.inverse.sogo
2009-12-02 20:53:52 +00:00
Wolfgang Sourdeau
bdb9169442
Monotone-Parent: 7df1edc5e4fb86c8fe01354ff89b73239e5a4e37
...
Monotone-Revision: 4ac298b0202fa194faaffcdf551137eb8bdd429b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-11-29T21:48:00
Monotone-Branch: ca.inverse.sogo
2009-11-29 21:48:00 +00:00
Wolfgang Sourdeau
b79a7e5a00
Monotone-Parent: 2fdf0ead0781ef2362dd389811d5db44ca4cc84a
...
Monotone-Revision: c91eef7edcfd08d414664c25a590b6268a7e58e2
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-11-29T04:19:32
Monotone-Branch: ca.inverse.sogo
2009-11-29 04:19:32 +00:00