sogo/SoObjects/SOGo
Jesús García Sáez 9414df26c5 getUIDForEmail works on multidomain: returns login
This method is used everywhere to try to retrieve the login of the user
(and normally use the return value to [SOGoUser initwithLogin: ...])

In multidomain environments (with DomainLessLogin = false) there were
several paths (mostly in SOGoAppointmentObject.m) that were trying to
create SOGoUser objects with incorrect login: using only the uid part,
not full email. Then like domain based uid was enabled, these users
had DomainLessLogin set to true and further calls tried to authenticate
only with the uid part (and they should not).

This affects to several methods in:

  * ActiveSync/SOGoActiveSyncDispatcher.m
  * Appointments/SOGoAppointmentFolder.m
  * Appointments/SOGoAppointmentObject.m
  * Appointments/SOGoCalendarComponent.m
  * SOGoSAML2Session.m

Probably a few features related with calendars are now fixed or working
as intended in multidomain environments where the email is used as login
2015-07-29 17:40:56 +02:00
..
BSONCodec.h Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
BSONCodec.m Use UTC offset to encode NSCalendarDate in BSON 2015-05-26 21:42:57 +02:00
CASLogoutRequestMap.plist Add CASLogoutRequestMap.plist 2013-06-25 09:12:27 -04:00
DAVReportMap.plist Monotone-Parent: 04adb21a2d66943bc4fbda82a60f41695303ccfb 2010-01-14 23:19:19 +00:00
DOMNode+SOGo.h Fixed most build warnings 2012-10-22 10:09:13 -04:00
DOMNode+SOGo.m Fixed most build warnings 2012-10-22 10:09:13 -04:00
EOBitmaskQualifier.h Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
EOBitmaskQualifier.m Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
EOQualifier+SOGoCacheObject.h Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
EOQualifier+SOGoCacheObject.m oc: Search for properties in a SOGoMAPIDB object now works 2015-04-13 11:37:48 +02:00
GCSSpecialQueries+SOGoCacheObject.h Renamed folder cache creation method 2014-05-14 09:56:10 -04:00
GCSSpecialQueries+SOGoCacheObject.m Fix for bug #2825 2014-06-23 12:19:02 -04:00
gen-saml2-exceptions.py Auto-generate the SOGoSAML2Exceptions helper module 2012-11-02 13:54:52 -04:00
GNUmakefile (fix) fixed md4 support (for NTLM password changes) with GNU TLS 2015-04-17 09:29:49 -04:00
GNUmakefile.preamble (fix) fixed md4 support (for NTLM password changes) with GNU TLS 2015-04-17 09:29:49 -04:00
LDAPSource.h now possible to configure objectClass names for LDAP groups using GroupObjectClasses (#1499) 2015-03-24 08:40:13 -04:00
LDAPSource.m ActiveSync: can be controlled by module constraint 2015-06-23 09:11:45 +02:00
LDAPSourceSchema.h Monotone-Parent: d8a02a76c20d760d00a46a0e98b6ca134a05cbc7 2011-12-30 20:41:30 +00:00
LDAPSourceSchema.m Monotone-Parent: d8a02a76c20d760d00a46a0e98b6ca134a05cbc7 2011-12-30 20:41:30 +00:00
lmhash.c now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
lmhash.h now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
md4.c Do not include nonexistent config.h 2015-04-25 14:40:42 +02:00
md4.h (fix) fixed md4 support (for NTLM password changes) with GNU TLS 2015-04-17 09:29:49 -04:00
NSArray+DAV.h Monotone-Parent: 86d5fda1266a9ae6071c1b0c48daa229594679fb 2009-10-06 18:24:47 +00:00
NSArray+DAV.m Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
NSArray+Utilities.h Monotone-Parent: b1c2ca52ec5ce74741f62b95f3be18e4d6c99949 2012-03-01 21:55:41 +00:00
NSArray+Utilities.m Monotone-Parent: b1c2ca52ec5ce74741f62b95f3be18e4d6c99949 2012-03-01 21:55:41 +00:00
NSCalendarDate+SOGo.h Monotone-Parent: 64430bce96a9562bf8914d9e581ba26e9cbf2a9a 2008-03-10 14:17:11 +00:00
NSCalendarDate+SOGo.m Added new failed login rate-limiting options 2013-06-11 09:41:17 -04:00
NSData+Crypto.h now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
NSData+Crypto.m (fix) fixed md4 support (for NTLM password changes) with GNU TLS 2015-04-17 09:29:49 -04:00
NSDictionary+DAV.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSDictionary+DAV.m Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
NSDictionary+URL.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSDictionary+URL.m See Changelog. 2010-09-02 19:11:20 +00:00
NSDictionary+Utilities.h Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
NSDictionary+Utilities.m Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c 2011-12-30 20:39:07 +00:00
NSNull+Utilities.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSNull+Utilities.m Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSNumber+Utilities.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSNumber+Utilities.m Monotone-Parent: 8330dfa1ad05eb096cee895845442bf564cf19bd 2010-08-02 20:29:38 +00:00
NSObject+DAV.h Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
NSObject+DAV.m Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
NSObject+Utilities.h Added memory statistics - set SOGoDebugLeaks = YES and call [[self class] memoryStatistics] 2014-12-22 19:32:17 -05:00
NSObject+Utilities.m Fixed memory leaks in SOGoSyncCacheObject and correctly kill the cache upon each EAS iteration 2014-12-22 19:59:33 -05:00
NSString+Crypto.h now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
NSString+Crypto.m now possible for SOGo to change the sambaNTPassword/sambaLMPassword 2015-02-11 11:31:35 -05:00
NSString+DAV.h Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
NSString+DAV.m Monotone-Parent: 4c862893152bb1557702d3a6ebc6412e3edd9d17 2010-03-05 15:34:24 +00:00
NSString+Utilities.h Revert merge from inverse 2015-07-28 12:37:33 +02:00
NSString+Utilities.m Revert merge from inverse 2015-07-28 12:37:33 +02:00
NSURL+DAV.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
NSURL+DAV.m Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
SOGoAuthenticator.h See ChangeLog 2011-02-17 20:55:19 +00:00
SOGoBuild.h Monotone-Parent: 10ffe772d1b4699a4fc8aa41c3f3354e492d3e35 2011-03-30 15:01:55 +00:00
SOGoBuild.m Monotone-Parent: 10ffe772d1b4699a4fc8aa41c3f3354e492d3e35 2011-03-30 15:01:55 +00:00
SOGoCache.h We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoCache.m We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoCacheGCSFolder.h oc: Set right container in dbFolder when moving a folder 2015-01-28 11:26:56 +01:00
SOGoCacheGCSFolder.m oc: Set right container in dbFolder when moving a folder 2015-01-28 11:26:56 +01:00
SOGoCacheGCSObject.h Added support for multiple calendars/addressbooks over ActiveSync 2014-10-29 14:20:03 -04:00
SOGoCacheGCSObject.m Radically reduced EAS memory usage 2014-12-04 11:27:10 -05:00
SOGoCacheObject.h Properly destroy cache objects of vanished folders 2014-07-24 08:39:41 -04:00
SOGoCacheObject.m New cache subsystem for ActiveSync. 2014-05-15 15:03:24 -04:00
SOGoCASSession.h We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoCASSession.m Fix some gcc warnings 2015-03-03 21:23:19 -05:00
SOGoConstants.h Added the modifications specified by extrafu 2014-03-25 14:53:42 -04:00
SOGoConstants.m See ChangeLog 2010-03-18 12:58:39 +00:00
SOGoContentObject.h Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
SOGoContentObject.m Refactored GCSFolder: -writeContent and fixed sogo-tool restore 2014-08-01 09:40:45 -04:00
SOGoCredentialsFile.h Add SOGoCredentialsFile 2013-08-27 12:56:07 -04:00
SOGoCredentialsFile.m Add SOGoCredentialsFile 2013-08-27 12:56:07 -04:00
SOGoDateFormatter.h Monotone-Parent: 672551e38e8a075f699074177a66d9f7f114f873 2007-06-19 18:03:18 +00:00
SOGoDateFormatter.m Monotone-Parent: 2fdf0ead0781ef2362dd389811d5db44ca4cc84a 2009-11-29 04:19:32 +00:00
SOGoDAVAuthenticator.h Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoDAVAuthenticator.m whitespace fixes. tabkill 2013-06-12 02:36:50 -04:00
SOGoDefaults.plist Revert merge from inverse 2015-07-28 12:37:33 +02:00
SOGoDefaultsSource.h Monotone-Parent: afb2242cf07ec3d3c9cbe25bb4a43d4e15d1ec70 2009-12-01 14:29:56 +00:00
SOGoDefaultsSource.m Fixed most build warnings 2012-10-22 10:09:13 -04:00
SOGoDomainDefaults.h Revert merge from inverse 2015-07-28 12:37:33 +02:00
SOGoDomainDefaults.m Revert merge from inverse 2015-07-28 12:37:33 +02:00
SOGoFolder.h Fix for bug #3054 2015-01-06 10:59:56 -05:00
SOGoFolder.m Fix for bug #3054 2015-01-06 10:59:56 -05:00
SOGoGCSFolder.h Fix for bug #3054 2015-01-06 10:59:56 -05:00
SOGoGCSFolder.m Use the right cutoff date 2014-12-22 12:39:58 -05:00
SOGoGroup.h See ChangeLog 2012-05-31 12:36:00 +00:00
SOGoGroup.m now possible to configure objectClass names for LDAP groups using GroupObjectClasses (#1499) 2015-03-24 08:40:13 -04:00
SOGoLDAPDefaults.h Monotone-Parent: 58bcff9040e0537925f1331d2d02052a22281972 2009-11-30 22:38:22 +00:00
SOGoLDAPUserDefaults.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
SOGoLDAPUserDefaults.m Fix for bug #1582 2012-01-30 19:07:24 +00:00
SOGoLDAPUserDefaultsBootstrap.m Monotone-Parent: 2fdf0ead0781ef2362dd389811d5db44ca4cc84a 2009-11-29 04:19:32 +00:00
SOGoMailer.h Cosmetic improvements to the code 2014-12-22 15:26:22 -05:00
SOGoMailer.m More NSLog usage cleanups 2015-01-23 15:32:22 -05:00
SOGoObject.h Merge branch 'master-upstream' into jjgarcia/merge-from-upstream 2015-02-02 12:53:49 +01:00
SOGoObject.m Fix for bug #3054 2015-01-06 10:59:56 -05:00
SOGoParentFolder.h Fix for bug #3054 2015-01-06 10:59:56 -05:00
SOGoParentFolder.m Reverted bug fix from #3054 and added comment 2015-01-29 16:21:06 -05:00
SOGoPermissions.h Monotone-Parent: 45a909a97ed4304fcd6107fccb0e129e9db8d87a 2010-06-02 16:42:58 +00:00
SOGoPermissions.m Fixed copyright 2014-05-15 14:45:32 -04:00
SOGoProductLoader.h Monotone-Parent: f69c7f912f9958f232e0641fbdf872d37a2aa9bd 2010-02-18 22:34:51 +00:00
SOGoProductLoader.m Monotone-Parent: f69c7f912f9958f232e0641fbdf872d37a2aa9bd 2010-02-18 22:34:51 +00:00
SOGoProxyAuthenticator.h Monotone-Parent: 6661b82baa487cf8e72c04a8e31c6c05b7c58321 2010-01-31 00:53:37 +00:00
SOGoProxyAuthenticator.m Updated patch 2013-06-19 17:36:43 -04:00
SOGoPublicBaseFolder.h Monotone-Parent: 4ac4ae3613d51d31b8aa0f22e8581e25651b89fd 2010-06-02 16:35:59 +00:00
SOGoPublicBaseFolder.m Fix for bug #2237 2013-06-19 15:45:40 -04:00
SOGoSAML2Metadata.xml Update SOGoSAML2Metadata.xml 2014-12-02 19:33:54 -05:00
SOGoSAML2Session.h We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoSAML2Session.m We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoSession.h Fix for bug # 2014-11-26 13:00:47 -05:00
SOGoSession.m Merge branch 'upstream-master' into merge-from-upstream 2015-06-02 12:27:20 +02:00
SOGoSieveManager.h Fix sogo-tool operations on Sieve script 2014-03-03 22:07:24 -05:00
SOGoSieveManager.m Fix for bug #2332 2015-02-09 16:12:59 -05:00
SOGoSource.h now possible to configure objectClass names for LDAP groups using GroupObjectClasses (#1499) 2015-03-24 08:40:13 -04:00
SOGoSQLUserProfile.h Monotone-Parent: 2fdf0ead0781ef2362dd389811d5db44ca4cc84a 2009-11-29 04:19:32 +00:00
SOGoSQLUserProfile.m Monotone-Parent: ed35a0aec1eed0f78e69e747bdd6871d62118111 2012-02-21 20:51:52 +00:00
SOGoStartupLogger.h Monotone-Parent: 26c7b9bc924807f585951102db6677a54ac082b3 2009-11-29 04:02:47 +00:00
SOGoStartupLogger.m Monotone-Parent: 26c7b9bc924807f585951102db6677a54ac082b3 2009-11-29 04:02:47 +00:00
SOGoStaticAuthenticator.h Add SOGoStaticAuthenticator 2013-08-27 12:59:03 -04:00
SOGoStaticAuthenticator.m Add SOGoStaticAuthenticator 2013-08-27 12:59:03 -04:00
SOGoSystemDefaults.h (feat) now possible to log EAS commands using the SOGoEASDebugEnabled system defaults 2015-05-14 15:26:18 -04:00
SOGoSystemDefaults.m (feat) now possible to log EAS commands using the SOGoEASDebugEnabled system defaults 2015-05-14 15:26:18 -04:00
SOGoUser.h now favor login@domain as the default email address if multiple mail: fields are specified 2015-03-23 14:08:31 -04:00
SOGoUser.m Revert merge from inverse 2015-07-28 12:37:33 +02:00
SOGoUserDefaults.h Draft autossave feature 2014-12-11 13:31:32 -05:00
SOGoUserDefaults.m Revert merge from inverse 2015-07-28 12:37:33 +02:00
SOGoUserFolder.h Change ACL modification text to non-gender specific terms 2014-12-19 11:04:05 +10:30
SOGoUserFolder.m (fix) avoid appending the domain unconditionally when SOGoEnableDomainBasedUID is set to YES 2015-05-21 17:13:11 +02:00
SOGoUserManager.h Fix contacts lookup by UID 2015-03-03 21:26:09 -05:00
SOGoUserManager.m getUIDForEmail works on multidomain: returns login 2015-07-29 17:40:56 +02:00
SOGoUserProfile.h Monotone-Parent: 2fdf0ead0781ef2362dd389811d5db44ca4cc84a 2009-11-29 04:19:32 +00:00
SOGoUserProfile.m Monotone-Parent: 4ad21ea0342a626a99aabc213cf8ed9a827eb0c4 2010-11-02 13:16:05 +00:00
SOGoUserSettings.h Dropped old user-settings for ActiveSync 2014-05-15 14:32:46 -04:00
SOGoUserSettings.m Dropped old user-settings for ActiveSync 2014-05-15 14:32:46 -04:00
SOGoWebAuthenticator.h Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
SOGoWebAuthenticator.m We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
SOGoWebDAVAclManager.h See ChangeLog 2009-10-15 21:33:56 +00:00
SOGoWebDAVAclManager.m More NSLog usage cleanups 2015-01-23 15:32:22 -05:00
SOGoWebDAVValue.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
SOGoWebDAVValue.m Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
SQLSource.h Fix for bug #1061. 2012-11-26 13:13:06 -05:00
SQLSource.m Filter sql source entries based on the user domain 2013-03-29 10:38:52 -04:00
WOContext+SOGo.h Fix for bug #2960 2015-01-09 09:04:15 -05:00
WOContext+SOGo.m Fix for bug #2960 2015-01-09 09:04:15 -05:00
WORequest+SOGo.h Fix for bug #2960 2015-01-09 09:04:15 -05:00
WORequest+SOGo.m Fix for bug #2960 2015-01-09 09:04:15 -05:00
WOResourceManager+SOGo.h Monotone-Parent: 659def76b8868bdc540986987d61b39410737054 2011-02-03 16:12:22 +00:00
WOResourceManager+SOGo.m See ChangeLog. 2012-01-31 20:18:49 +00:00
WOResponse+SOGo.h Monotone-Parent: 04adb21a2d66943bc4fbda82a60f41695303ccfb 2010-01-14 23:19:19 +00:00
WOResponse+SOGo.m Updated copyright info 2014-05-14 09:58:05 -04:00