Commit graph

111 commits

Author SHA1 Message Date
Ludovic Marcotte c3121c50d5 (fix) make sure to use crypt as the scheme for md5/sha256/sha512 (fixes #4137) 2017-05-08 10:45:01 -04:00
Ludovic Marcotte b7e40776ad (fix) also use the filter when doing DN lookups (fixes #2253) 2016-12-22 14:27:07 -05:00
Ludovic Marcotte 73cc81c71f (fix) only consider SMTP proxyAddresses for AD (fixes #3842) 2016-10-17 11:40:17 -04:00
Ludovic Marcotte ec11b8abb4 (fix) strip protocol value from proxyAddresses (fixes #3182) 2016-08-18 15:36:46 -04:00
Roel van Meer b4d51391ed Fix error when adding entry to LDAP address book [bug 3621] 2016-06-16 09:14:34 -04:00
Ludovic Marcotte 7f6211ae4a (fix) avoid going to far when checking logins if no login is defined 2016-04-11 10:18:09 -04:00
Ludovic Marcotte 5ae40a02ec (fix) respect the LDAP attributes mapping in the list view 2016-03-18 12:37:21 -04:00
Enrique J. Hernández 2e1bfb25d5 Merge pull request #210 from zentyal/cperez/ldapsource-refactor
Unify user sources API
2015-12-03 17:15:20 +01:00
Jesús García Sáez 9d3f3c619d LDAPSource: release displayName on dealloc 2015-11-05 19:11:19 +01:00
Jesús García Sáez 7d49674d9d Add domain to lookupContactEntry 2015-11-05 19:11:19 +01:00
Jesús García Sáez 48832a4878 Add domain to lookupGroupEntryByUID/ByEmail 2015-11-05 19:11:19 +01:00
Euan Thoms eda84c7b5d Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
Javier Amor García 72aab7f83f ActiveSync: can be controlled by module constraint
Added 'ActiveSync' module constraint. If constraint is not
honored the ActiveSync request returns a forbidden (403).
2015-06-23 09:11:45 +02:00
Julio García c61eca27a1 Merge branch 'upstream-master' into merge-from-upstream
Conflicts:
	SoObjects/SOGo/LDAPSource.m
	SoObjects/SOGo/SOGoUserManager.m
2015-06-02 12:27:20 +02:00
Javier Amor García 725dea5f6f Show 'complexity password' error instead of a generic error
There is not discrimination between complexity and
length errors because LDAP does not
return different error codes for each case.
2015-05-22 14:59:49 +02:00
Javier Amor García 5a8f310bc8 Show 'complexity password' error instead of a generic error.
There is not discrimination between complexity and length errors because backend does not
return different error codes for each case.
2015-05-19 15:00:18 +02:00
Ludovic Marcotte 097d5c2333 now possible to configure objectClass names for LDAP groups using GroupObjectClasses (#1499) 2015-03-24 08:40:13 -04:00
Ludovic Marcotte e5d01428ad now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
Skruppy 1c3f1af662 ModulesConstraints tests all values of a multi-valued attributes 2014-03-15 15:10:26 +01:00
Francis Lachapelle 826537ed01 Fix caching of DN in LDAP source 2014-02-05 09:04:00 -05:00
Ludovic Marcotte 3950e9d4c3 Moved DN cache to SOGoCache 2014-02-04 21:03:11 -05:00
Ludovic Marcotte ddd7be4333 Fix for bug #2187 2014-01-31 15:03:40 -05:00
Ludovic Marcotte 656869a4a2 Fix for bug #1328 2013-10-18 13:16:30 -04:00
Jean Raby d7e6648396 Reworked password change logic and add AD support 2013-08-28 17:11:07 -04:00
Jean Raby e07734fa5f Filter sql source entries based on the user domain
When using dynamic domains with SQL sources (DomainFieldName),
let WebUI and dav lookups return entries from current domain
and other domains visible from the originating domain.

Fixes #2269

SQLSource.m: _visibleDomainsQualifierFromDomain:
  returns a EOQualifier OR'ing all visible domains from specified domain
  (including specified domain)

SQLSource.m: allEntryIDsVisibleFromDomain
  Replacement for allEntryIDs.
  Instead of returning all entries from the sql source,
  only return the entries visible from the specified domain.

SoObjects/SOGo/SQLSource.m: allEntryIDs
  Changed to call allEntryIDsVisibleFromDomain with an empty domain.

SQLSource.m fetchContactsMatching:inDomain:
  Use _visibleDomainsQualifierFromDomain to filter entries

LDAPSource.m: allEntryIDsVisibleFromDomain
  Simply call allEntryIDs, discarding the domain.
  LDAP does need to do the extra domain filtering

SOGoContactSourceFolder.m: toOneRelationshipKeys
   Call new method: allEntryIDsVisibleFromDomain
2013-03-29 10:38:52 -04:00
Jean Raby 9e38c5060a Plug ldap fd leak in login checks 2013-01-22 18:42:00 -05:00
Jean Raby 7d24ece7d6 Log ldap exception details + catch tls exceptions
Make sure to catch exceptions raised by _setupEncryption
Reindent due to NS_DURING
Log ldap exceptions details
2012-12-19 18:37:36 -05:00
Jean Raby e253a7429c Fix whitespace - remove tabs 2012-12-19 18:02:32 -05:00
Ludovic Marcotte 7c250fad8f Fix for bug #1061. 2012-11-26 13:13:06 -05:00
Ludovic Marcotte 6ad59a8481 Apply patches for bug #2060 2012-11-06 09:04:18 -05:00
Wolfgang Sourdeau 20cb769db1 style 2012-10-26 22:38:41 -04:00
Jean Raby 0f65eab377 * SoObjects/SOGo/LDAPSource.m (changePasswordForLogin):
if userPasswordAlgorithm was not set or was set to "none",
    use the plaintext password directly instead of using '{none}plaintext'
    which isn't valid.

Monotone-Parent: d538a70c8651aa1849c88eedda7782a21b41b591
Monotone-Revision: a6dfa4114eeabf1790dbbd7a169d81c988375c12

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-03T18:10:01
2012-08-03 18:10:01 +00: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 18ffca1924 See ChangeLog
Monotone-Parent: d29498142c4a9f1d780373bd5f0d80b17f6e2c33
Monotone-Revision: 747fe8c2134a990c1cdf3b494c2b7776021cb736

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T12:36:00
2012-05-31 12:36:00 +00:00
Wolfgang Sourdeau f06d57373a Applied last changed from ca.inverse.sogo branch, pertaining to iOS handling of CardDAV
Monotone-Parent: bee9d78831eda60f6cda2aadb62fc4a04a2e8e10
Monotone-Revision: 693036245b42a3d0059f8c06a2a725e716d54c9e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T14:07:36
2012-03-30 14:07:36 +00:00
Wolfgang Sourdeau 347bc411ac Monotone-Parent: ef48f0aa709b92913c131c539cb55562e8c56ebf
Monotone-Revision: 40141d367c9c6560edf3b306cee2aa7683dad3ec

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-01T21:57:16
2012-03-01 21:57:16 +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
Francis Lachapelle a79036fbf9 propagate from branch 'ca.inverse.sogo.1_3_12' (head 2b438d60e3231cf7f4811dadaf9a91a62885d15b)
to branch 'ca.inverse.sogo' (head 2a5d61f1ed60b9d00203fc41d7b5af818e00391f)

Monotone-Parent: 2a5d61f1ed60b9d00203fc41d7b5af818e00391f
Monotone-Parent: 2b438d60e3231cf7f4811dadaf9a91a62885d15b
Monotone-Revision: 96f11391475b0d4e71002f19f89309839d039b36

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-07T14:12:46
Monotone-Branch: ca.inverse.sogo
2012-02-07 14:12:46 +00:00
Wolfgang Sourdeau 4239a71516 Monotone-Parent: 95c7a1c7bf37236d7e711c323e1798c779fd1f21
Monotone-Revision: 9885caef81ed03ae9c3c25ac8c9a6c0bf60db18b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-06T13:57:44
2012-02-06 13:57:44 +00:00
Wolfgang Sourdeau d32f0d32b8 Monotone-Parent: c8a56f550a65316cf040c7624d75ba835bbf97c8
Monotone-Revision: 6bc1556981bffd1a4a80e25cdf6ae2e257e57631

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-06T13:55:46
Monotone-Branch: ca.inverse.sogo
2012-02-06 13:55:46 +00:00
Ludovic Marcotte 68b99f2f28 Fixed merge
Monotone-Parent: 24936b7a90184df1eebd3fa1c0df81c4dcbb2751
Monotone-Revision: f2612a8cd144efc05fbd0847e973f12e72643c9b

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-01-26T16:27:18
Monotone-Branch: ca.inverse.sogo
2012-01-26 16:27:18 +00:00
Ludovic Marcotte 9ad7a6fa08 propagate from branch 'ca.inverse.sogo.1_3_12' (head 64559b055668abe30f492544f049160b05cf7ab9)
to branch 'ca.inverse.sogo' (head deed692cb3c352022ee720bc7f7b2d91e734367b)

Monotone-Parent: 64559b055668abe30f492544f049160b05cf7ab9
Monotone-Parent: deed692cb3c352022ee720bc7f7b2d91e734367b
Monotone-Revision: 24936b7a90184df1eebd3fa1c0df81c4dcbb2751

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-01-26T16:26:28
Monotone-Branch: ca.inverse.sogo
2012-01-26 16:26:28 +00:00
Ludovic Marcotte 2d03fb1055 See ChangeLog - also updated the doc
Monotone-Parent: 05f7c7299403692e01480ce30ae2a612e6172f84
Monotone-Revision: 64559b055668abe30f492544f049160b05cf7ab9

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-01-26T16:22:28
2012-01-26 16:22:28 +00:00
Francis Lachapelle 537604d65a Fixed previous propagate.
Monotone-Parent: 62ee066ad239ea56d6f2dc0b73f12d399813d68c
Monotone-Revision: cd6f87a655862b556c2f1e1031a0cdd43a995041

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-12T22:12:02
Monotone-Branch: ca.inverse.sogo
2012-01-12 22:12:02 +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 15e606341e Monotone-Parent: 16b846dd0fb3a63bdd80cb7ed360972da407527b
Monotone-Revision: bb276eea8dc76b5c71f49df1d23424ab19015233

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-04T15:26:30
Monotone-Branch: ca.inverse.sogo
2012-01-04 15:26:30 +00:00
Wolfgang Sourdeau 4ba4c622bc Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c
Monotone-Revision: 61fe02b6c3bc4f0aa3797d661d014d8c256b0de9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-30T20:39:07
Monotone-Branch: ca.inverse.sogo
2011-12-30 20:39:07 +00:00
Ludovic Marcotte b87a7ceeac See ChangeLog
Monotone-Parent: 0b515b8331401536a0de4cc2ca53fce6dd6ca6ed
Monotone-Revision: 3f570612955fe5748f947cb46b0d25c731f1bffb

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-07-05T20:10:45
Monotone-Branch: ca.inverse.sogo
2011-07-05 20:10:45 +00:00
Ludovic Marcotte e0f6982de2 one more sanity check
Monotone-Parent: dc5ddbbb3305b9f0cb8fe2e2044f0a2673ef24ca
Monotone-Revision: 94b9cd9ca57eca41ee588c8d41da668682bdb1d0

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-06-23T19:09:01
Monotone-Branch: ca.inverse.sogo
2011-06-23 19:09:01 +00:00