[Tickets #14434] Net_Sieve authentication problem PLAIN

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 4 11:29:05 UTC 2016


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14434
------------------------------------------------------------------------------
  Ticket             | 14434
  Created By         | ricardo at wenn.com
  Summary            | Net_Sieve authentication problem PLAIN
  Queue              | Ingo
  Version            | 3.2.10
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


ricardo at wenn.com (2016-08-04 11:29) wrote:

PLAIN authentication fails when $user & $euser ID are different.

Auth should only be done against $user & $pass, this takes into  
account ingo hooks, euser is not needed.

I would also assume that all other auth methods are affected by the  
same thing.


     function _authPLAIN($user, $pass, $euser)
     {
         return $this->_sendCmd(
             sprintf(
                 'AUTHENTICATE "PLAIN" "%s"',
                 base64_encode($euser . chr(0) . $user . chr(0) . $pass)
             )
         );
     }






More information about the bugs mailing list