Francis Lachapelle
451989ac9c
style(obj-c): improve formatting
2021-10-01 11:35:48 -04:00
Francis Lachapelle
a073241e0f
fix(addressbook): use pool to lower memory usage
2021-10-01 11:11:34 -04:00
Francis Lachapelle
a370aa70f2
fix(core): properly validate domain using "domains" keys
...
Instead of checking if the domain match a source ID, we now check if the
domain match a key of the "domains" configuration parameter.
2021-08-17 15:59:33 -04:00
Francis Lachapelle
debcbd16db
fix(core): avoid appending an empty domain to uid in cache
2021-05-14 10:43:07 -04:00
Francis Lachapelle
da366083e9
fix(core): change password in user's matching source only
2021-05-05 10:21:15 -04:00
Ludovic Marcotte
8c77145b9f
(fix) avoid warning
2019-08-15 15:54:48 -04:00
Ludovic Marcotte
f57ff86951
(fix) fixed domain placeholder issue when using sogo-tool ( fixes #4723 )
2019-05-23 15:02:10 -04:00
Ludovic Marcotte
008e901ad6
(fix) we update the baseDN placeholders of all LDAP sources upon login
2019-03-15 13:35:12 -04:00
Ludovic Marcotte
bc456dcef8
(fix) fixed bad password login interval ( fixes #4664 )
2019-02-19 11:59:49 -05:00
Francis Lachapelle
e8b29add3a
Fix calls to fetchContactsMatching:
2017-11-22 09:28:34 -05:00
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