EntryID comparison fails due to case sensitivity


Part of an Entry ID contains a legacyExchangeDN. In operations like AddFolderPermission, we resolve the user specified at the command line to an Entry ID, and then we compare it to the Entry ID we find on the ACE in the ACL to determine if it's the same object.

However, if the Entry ID on the ACE is in uppercase and the resolved EID is mixed-case, this comparison fails, because right now we're just comparing memory. As a result, we think the user isn't in the ACL. When we try to add them, we fail.

We need to use IMAPISession::CompareEntryIDs() instead.
Closed May 22, 2014 at 5:21 AM by bilong
Resolved in