[p4] P4win and eclipse recently started prompting for loginpassword

Robert Cowham robert at vaccaperna.co.uk
Fri Jun 1 03:30:19 PDT 2007


I have seen similar.

Basically if there is an entry in the P4TICKETS file it can interfere with
picking up P4PASSWD from the environment.

You can either logout or just edit the file and remove the line...

Regards
Robert 

> I had this same issue (regarless of using Eclipse) when 
> upgrading the server from 2003 to 2006.1.  There is a new 
> ticket-based authentication feature that uses tickets as 
> default (with a 12-hour expiration).  Users who have their 
> password set in a file where the P4CONFIG variable was 
> pointing were getting prompted for their password.
> 
> By doing a 'p4 logout' I was able to resolve this issue.  It 
> returns to using the previous authentication method.
> 
> There may be a more elegant solution, but this did the trick for me.
> 
> 
> On 5/31/07, Karr, David <david.karr at wamu.net> wrote:
> > For the longest time, I used p4win and the p4 plugin in Eclipse, 
> > without having to reenter my p4 password each time I 
> started up.  In 
> > my client views, I have ".p4env" files with the relevant 
> properties, 
> > including the P4PASSWD property.  I have the env var 
> "P4CONFIG" set to 
> > ".p4env".  I believe that's what's required to allow me to 
> not have to 
> > enter my password each time.  A few weeks ago, after something 
> > obviously changed (it might have been a p4 server upgrade), 
> whenever I 
> > startup p4win or eclipse, it asks me for my p4 password.  
> My p4 server 
> > version string is
> > "P4D/NTX86/2006.1/108384 (2006/10/05)".
> >
> > What's likely to have caused this change in behavior?


More information about the perforce-user mailing list