Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.2

Bug #18771 AUTH DIGEST-MD5 not working
Submitted: 2011-08-31 17:44 UTC
From: tyrone Assigned:
Status: Open Package: Net_LMTP (version 1.0.1)
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2011-08-31 17:44 UTC] tyrone (Thomas Beutin)
Description: ------------ when using the athentification "DIGEST-MD5" i cannot login to the lmtp server. the error i've found in the logfile is: Aug 31 13:30:13 hostname lmtp[15722]: badlogin: 127.0.0.1 DIGEST-MD5 SASL(-13): authentication failure: bad digest-uri: doesn't match service using the same credentials but the authenfication method "CRAM-MD5" instead the login succeeds. digging into the response string to the lmtp server i've found the substring '...digest-uri="smtp/localhost" ... '. this (probably) has to be replaced by '...digest-uri="lmtp/localhost" ... '. Test script: --------------- <?php include 'Net/LMTP.php'; $conn = new Net_LMTP(); $conn->setDebug(TRUE); $conn->connect(); $conn->auth('validuser', 'password', 'DIGEST-MD5'); $response = $conn->getResponse(); $conn->disconnect(); ?> Expected result: ---------------- i expect a login to the lmtp server using the authentification method "DIGEST-MD5" Actual result: -------------- the authentification failed because of the wrong digets-uri in the response to the lmtp server.

Comments