| Summary: | [Pserver] Nedd to handle E message on authentication failure | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Robin Rosenberg <robin.rosenberg> |
| Component: | CVS | Assignee: | Michael Valenta <Michael.Valenta> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | 3.1 M3 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Robin Rosenberg
What CVS server verson are you using? Is there anything in the log file? If you set the password in the Properties dialog of the repository location in the CVS Repositories view, does it then work? standard cvs 1.12.9 (with Linux and PAM on the server, but that shouldn't matter). 1.11.9 doesn't work either. I've snooped the connection now. It connects using pserver but sends a null passord. User is correct. In the password management view there are no connections and no way I can see to add one. cvs access from the command line and e.g. cervisia which is the cvs gui I usually use, but now I want the quickdiffs in eclipse. Apparently eclipse doesn't even try to use .cvspass, but reads ~/eclipse-3.0/configuration/org.eclipse.core.runtime/.keyring In the cases where authentication fails, Eclipse should prompt. The only time this wouldn't happen is if the failure string returned by the server wasn't recognized by Eclipse. Could you perorm the steps outlines at the following URL to get a trace of the failed login attemp. http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm- home/docs/online/cvs_features2.0/cvs-faq.html#misc_0 Also, you should be able to specify a password for the connection in the CVS Repositories view. Open the view, select the location you are trying to connect to and choose Properties from the context menu. You can enter the password in the dialog and subsequently you should be able to connect. These two lines appeared when I tried to share the project. E PAM authenticate error: Authentication failure I HATE YOU Setting the password in the CVS Repositories view worked. Thanks a lot. The problem is due to the E line which is not standard behavior. What is PAM anyway? PAM=Pluggable Authentication Modules When authenticating, the pserver connection method should gather the E messages and then interpret the failure as usual. This will allow reprompting in this case. Fix released to HEAD |