106 Commits

Author SHA1 Message Date
Hivert Quentin
78655ae127 fix(users): try to always use the user domain in the basDN with %d 2025-01-22 16:16:47 +01:00
Hivert Quentin
beb0d9cb1b fix(users): when using multi-domains configuration, only request the apopriate usersources. 2025-01-22 16:16:47 +01:00
smizrahi
178b1a3a0e feat(core): Check password strength on login (SQL Source). Closes #6025. 2024-12-02 11:08:39 +01:00
Hivert Quentin
04a9a8773d fix(security) : fix a security issue introduced in 5.11.1 2024-10-11 15:10:19 +02:00
Hivert Quentin
56598d1e37 feat(login): add parameters to prevent uneccesary connection request when the domain is unknown 2024-10-01 17:53:46 +02:00
smizrahi
d3634747d5 feat(password-recovery): Change secondary email obfuscation 2022-11-23 10:06:43 +01:00
smizrahi
656807b77d feat(password-recovery): Add password recovery with secret question or secondary email 2022-10-03 08:56:41 +02:00
Francis Lachapelle
373ac51e62 fix(core): don't auto-remove a subscription if any source is in error 2022-05-11 16:29:49 -04:00
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