Commit Graph

156 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 01863987dd fix(calendar): fix commit f1257088 2024-11-04 10:22:08 +01:00
Hivert Quentin f1257088f2 fix(calendar): prevent to return the same user twice in ldap groups 2024-10-29 17:14:25 +01:00
smizrahi fd9b8dcfcd fix(core): Add disableSubgroups option in SOGoUserSources LDAP settings to avoid infinite recursive loop when using a group name with the same name as a member. Fixes #5913 2024-02-28 11:08:51 +01:00
smizrahi 4dba56f70d fix(addressbook): Removed SOGoGlobalAddressBookFirstEntries (use listRequiresDot instead) and move SOGoGlobalAddressBookFirstEntriesCount to globalAddressBookFirstEntriesCount in source scope. This fixed the broken listRequiresDot in 5.10 2024-02-26 15:40:49 +01:00
Hivert Quentin 427f7f4b4f feature(contact): Show 100 first results for global address book. Fix commit #17eca6f 2023-12-20 15:36:37 +01:00
smizrahi 17eca6f96a feature(contact): Show 100 first results for global address book 2023-12-18 08:34:53 +01:00
smizrahi d50080ea5b feat(password-recovery): Add LDAP password recovery 2022-10-16 14:46:19 +02: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 2ef849ca65 feat(preferences): password constraints for SQL sources
Initial implementation of some password policy support for SQL sources.
2022-06-06 16:39:26 -04: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 8409c3cbb5 fix(addressbook(dav)): add support for mail property in addressbook-query
Fixes #5489
2022-03-04 08:29:03 -05:00
Francis Lachapelle 7faab9117a fix(addressbook(dav)): improve handling of addressbook-query 2022-02-28 17:07:39 -05:00
Francis Lachapelle 348a79c795 fix(addressbook): close DB connection after DAV query 2022-02-01 10:14:37 -05:00
Francis Lachapelle a073241e0f fix(addressbook): use pool to lower memory usage 2021-10-01 11:11:34 -04:00
Francis Lachapelle 3da633aebf fix(addressbook): reuse LDAP connection in CardDAV report
Fixes #5355
2021-09-29 16:00:10 -04:00
Francis Lachapelle a3ae2b8ea5 Revert "fix(core): don't bind a DN to LDAP sources with a different search base"
This reverts commit e0b6e22fa2.

This change was causing issues with LDAP virtual list views.
2021-06-18 17:22:02 -04:00
Francis Lachapelle d0056d3b27 perf(core): cache the schema of LDAP user sources 2021-05-14 11:56:13 -04:00
Francis Lachapelle bdd8e3500a fix(web): allow to change expired password from login page 2021-05-06 16:35:42 -04:00
Francis Lachapelle e0b6e22fa2 fix(core): don't bind a DN to LDAP sources with a different search base 2021-05-05 09:48:17 -04:00
Francis Lachapelle a83b0d822a fix(core): decompose LDAP nested groups, cache logins
We now decompose entries with attributes "member" or "uniquemember".

We now properly cache decomposed subgroups.
2021-04-19 14:42:30 -04:00
Francis Lachapelle 6aca61d8ae fix(core): decompose LDAP nested groups 2020-08-17 16:03:29 -04:00
Francis Lachapelle b8595d7ae6 fix(calendar): return SOGoUser instances when expanding LDAP groups
Fixes #5043
2020-07-01 16:58:16 -04:00
Francis Lachapelle cddfac82dd Revert "Revert "Revert "fix(core): added back instance caching for LDAP members"""
This reverts commit 056004bca1.
2020-06-09 15:15:06 -04:00
Francis Lachapelle cb08abfa67 Revert "fix(core): avoid caching group members per instance"
This reverts commit 0ff0d43e1e.
2020-06-09 15:14:47 -04:00
Nicolas 27840093f5 feat(core): add lookupFields attribute in LDAP source
This field allows for looking up attributes not returned with the
default query, such as operational attributes.

Fixes #568

Co-authored-by: Skrupellos <skruppy@onmars.eu>
2020-06-09 11:52:07 -04:00
Ludovic Marcotte 0ff0d43e1e fix(core): avoid caching group members per instance 2020-06-08 10:26:33 -04:00
Ludovic Marcotte 056004bca1 Revert "Revert "fix(core): added back instance caching for LDAP members""
This reverts commit ca5df1a153.
2020-06-08 09:53:44 -04:00
Francis Lachapelle ca5df1a153 Revert "fix(core): added back instance caching for LDAP members"
This reverts commit b94175cc0c.
2020-06-04 16:13:45 -04:00
Ludovic Marcotte b94175cc0c fix(core): added back instance caching for LDAP members 2020-06-03 14:53:26 -04:00
Francis Lachapelle 7b5c787718 fix(core): LDAP group expansion must use all user sources 2020-05-05 12:18:37 -04:00
Francis Lachapelle 8f7b2bfbed fix(core): LDAP group expansion must use all user sources 2020-05-04 12:25:16 -04:00
Extra Fu 62823815a7 Merge pull request #263 from jkanefendt/revise-group-expansion
Revision of the group member expansion interface
2020-04-02 09:52:21 -04:00
Ludovic Marcotte f0980a9cbd feat(core): Added AES-128-CBC password scheme for SQL authentication.
This allows SOGo to use Plesk's database as an authentication source.
2020-01-06 15:47:47 -05:00
Johannes Kanefendt 278d4ab4cb Return NSDictionary contact entries from [MembershipAwareSource membersForGroupWithUID] instead of SOGoUser objects.
Optimization for user sources that are capable of fetching lists of group members at once, might save a lot of expensive SOGoUser lookups.
2019-11-26 22:20:28 +01:00
Johannes Kanefendt 2e98929900 Removed tight coupling of group membership expansion and LDAPSource.
Any implementation of SOGoSource may now support group expansion by implementing the protocol MembershipAwareSource.
2019-11-26 15:29:02 +01:00
Francis Lachapelle 25021c192c New paramter SOGoLDAPGroupExpansionEnabled
Fixes #2506
2019-09-05 12:42:25 -04:00
Ludovic Marcotte b68c9bd302 (fix) silence log call 2019-08-23 08:46:27 -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 dad0be1815 (fix) make sure we keep a pristine version of the baseDN 2019-02-19 13:40:58 -05:00
Ludovic Marcotte d908468442 (fix) dynamic basdDN support for the top-level SOGoUserSources 2019-02-14 09:48:03 -05:00
Ludovic Marcotte d9943e559f (feat) baseDN now accept dynamic domain values (fixes #3685) 2019-02-04 07:37:56 -05:00
Ludovic Marcotte b0e59f9ac9 Revert "(fix) make sure to use crypt as the scheme for md5/sha256/sha512 (fixes #4137)"
This reverts commit 63cb80142b.
2018-04-27 08:55:13 -04:00
Francis Lachapelle eb90760b39 Use address books search fields in Contacts module
Searches can now be scoped to one or multiple fields. Those fields are
now dynamic and can be defined using SearchFieldNames in external
contacts sources (SQL and LDAP).
2017-11-21 15:56:16 -05:00
Francis Lachapelle a2129f3e4a ModulesConstraints and listRequiresDot for SQL
SQL sources used for authentication can now have module constraints.
Entries of SQL sources used as address books can now be displayed
automatically.
2017-11-16 21:46:44 -05:00
Ludovic Marcotte 63cb80142b (fix) make sure to use crypt as the scheme for md5/sha256/sha512 (fixes #4137) 2017-05-08 10:44:12 -04:00
Ludovic Marcotte 94fc5d17db (fix) also use the filter when doing DN lookups (fixes #2253) 2016-12-22 14:26:27 -05:00
Ludovic Marcotte 836fdb1722 (feat) added photo support for LDAP-based address books 2016-11-23 16:30:41 -05:00