Ludovic Marcotte
06903f8376
(fix) use the source's domain if none is defined ( fixes #3523 )
2016-12-20 13:15:15 -05:00
Ludovic Marcotte
f0085ef43e
(fix) correctly block if fail count is within interval ( fixes #2850 )
2016-12-14 21:20:29 -05:00
Francis Lachapelle
bfd3508949
Improve handling of mail delegates
2016-07-06 15:43:38 -04:00
Ludovic Marcotte
749c77ce05
(fix) make sure to handle nil vs. NSNull values correctly
2016-07-05 22:25:01 -04:00
Ludovic Marcotte
29e0799b11
(fix) use uid and not always-nil login value at this point
2016-05-09 15:09:48 -04:00
Ludovic Marcotte
3c6da09ff8
(fix) make sure we don't double-append domain part ( fixes #3614 )
2016-05-06 13:47:35 -04:00
Ludovic Marcotte
2774878fa2
(fix) avoid double-appending domain in cache ( fixes #3614 )
2016-04-12 13:20:09 -04:00
Ludovic Marcotte
5f46df39cd
(fix) avoid going to far when checking logins if no login is defined
2016-04-11 10:18:55 -04:00
Patrice Levesque
7c25b53fdf
Remove pointless #imports from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte
4935eb23a9
(fix) Fixed DomainLessLogin logins in multi-domain
2016-01-08 11:40:02 -05:00
Ludovic Marcotte
ae6ed0c055
(feat) applied all changes as a patch coming from PR #180
2015-12-30 09:22:08 -05:00
Ludovic Marcotte
b80d8dbb06
(fix) Session fix when SOGoEnableDomainBasedUID is enabled but logins are domain-less
2015-08-21 10:51:45 -04:00
Francis Lachapelle
21f214659e
(fix) Some compilation warnings
2015-08-03 12:16:16 -04:00
Ludovic Marcotte
f515106bcc
(fix) added patch from PR93
2015-08-03 09:16:55 -04:00
Ludovic Marcotte
8650492989
Applied PR90 as a patch due to too-many merge conflicts when cherry-picking
2015-07-22 09:05:17 -04:00
Ludovic Marcotte
5ad3662640
(fix) fixed multi-domain support for sogo-tool backup/restore ( #2600 )
2015-06-11 13:32:57 -04:00
Ludovic Marcotte
5e66e8e299
(fix) improvement over previous commit to avoid double-bind
2015-06-11 11:36:03 -04:00
Ludovic Marcotte
85ad849189
Revert "Revert "Improved rationale""
...
This reverts commit 6994c029b8
.
2015-06-10 20:05:13 -04:00
Ludovic Marcotte
2c5f598a23
Revert "Revert "(fix) fixed multidomain issue where UID isn't part of the email address""
...
This reverts commit ac30c82165
.
2015-06-10 20:04:51 -04:00
Ludovic Marcotte
ac30c82165
Revert "(fix) fixed multidomain issue where UID isn't part of the email address"
...
This reverts commit 1f83ba9d50
.
2015-06-10 19:11:26 -04:00
Ludovic Marcotte
6994c029b8
Revert "Improved rationale"
...
This reverts commit 977406de76
.
2015-06-10 19:11:04 -04:00
Ludovic Marcotte
977406de76
Improved rationale
2015-06-10 16:31:30 -04:00
Ludovic Marcotte
1f83ba9d50
(fix) fixed multidomain issue where UID isn't part of the email address
2015-06-10 14:33:22 -04:00
Ludovic Marcotte
b93cbeee26
(fix) fixed some rare cornercases in multidomain configurations
2015-06-05 12:18:27 -04:00
Ludovic Marcotte
d07df554f3
(fix) more fixes and clarifications on the mutli-domain settings
2015-05-25 13:00:08 -04: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
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