theweaselking: (Work now)
[personal profile] theweaselking
CVS server set up. User connects, remotely, via SSH to the server to do servery-things and also via TortoiseCVS to make CVS checkouts.

User's account worked in the past, with the same software, same PC, same network, etc.
User's settings in Tortoise are correct.
User's account works for me - same software, etc.
User can connect to the server via PuTTY, no problem, using *exactly* the same username, password, and port that Tortoise uses.

However, user's password does not work when his computer's copy of Tortoise submits it. He has reinstalled the program, still has the same problem.

The only weird thing: When you get a password error from Tortoise, it doesn't say that user@servername's password is wrong, is says that @servername's password is wrong - no "user". Despite the fact that Tortoise's settings show that it is submitting username and password (same as my PC), and the CVSROOT showing :ssh:user@servername, and the *password prompt* knowing the right username, the error message shows that no username is being submitted.

The source of this problem, which is the DUMBEST THING EVER?

Tortoise uses PLink to make a connection.
Plink takes two parameters - username and host.
"host" can be either a hostname, *or the name of a connection entry in PuTTY*.
This user, when connecting through PuTTY, had set the name of his saved connection settings to be the same as the name of the server.

Rename that *label* inside *a different program* so that now the *label* says "Companyname server" rather than "server.domain.tld", and suddenly Tortoise's personal, private, hidden-and-included copy of PLink uses the correct parameters it's been passed instead of just kind of guessing.

HATE ALL PROGRAMMERS.

(no subject)

Date: 2008-09-26 05:13 pm (UTC)
From: [identity profile] jsbowden.livejournal.com
HATE ALL PROGRAMMERS.

Sorry, already followed this directive long before you issued it.

Diagnostic skills

Date: 2008-09-26 05:49 pm (UTC)
From: [identity profile] skippy-fluff.livejournal.com
People really don't understand the diagnostic skills it takes to find something like that. It's outlandishly dumb, and anyone without a sense of the absurd would never even entertain the notion that changing that might fix the problem. Instead they, would replace Tortoise completely. Provided whatever they chose did not also use plink, or had its own conf management wrapper for plink, this would solve the problem.

But they wouldn't hate Tortoise's developer; they might even blame themselves. So this is what your diagnostic skills really get you: the ability to assign blame correctly to others. Given that that, why hate all programmers? Hate the ones who did this, instead. You've earned it (and so have they).

By the way, I still think you should replace Tortoise. Anyone who did this to you is doing something else to you *right now*. You just don't know it yet.

Re: Diagnostic skills

Date: 2008-09-26 06:00 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
All software sucks. The main trick is knowing *how* the software you're using sucks.

And CVS clients other than Tortoise?

REALLY suck.

anyone without a sense of the absurd would never even entertain the notion that changing that might fix the problem.

I got to it by going step by step.

Password fails from Tortoise -> Password works from Putty -> same password, port, and server, so something's wrong with Tortoise -> Tortoise settings match those of a known-good working installation perfectly -> reinstall of Tortoise fixes nothing -> Wait, looks like Tortoise is sending the wrong *username*, not just bad password -> Manually run Tortoise's SSH connector, from the command line, in verbose mode, get same password error for same reason -> check the usage listing, note that line about how "host" can be either a hostname or a PuTTY configuration -> change the name of the PuTTY configuration so it's not the same as the hostname -> problem solved.

This just takes a willingness to step through the problem, narrowing down where the problem had to be each time.

By the way, I still think you should replace Tortoise. Anyone who did this to you is doing something else to you *right now*. You just don't know it yet.

Best of a bad lot, and it's been working perfectly for this bunch for *years* until this problem. All other CVS clients have caused more problems, sooner.

Re: Diagnostic skills

Date: 2008-09-26 06:16 pm (UTC)
From: [identity profile] skippy-fluff.livejournal.com
The "step by step" process is the part of the diagnostic skill I was talking about. Most people will eliminate classes of solution from a problem because they believe there should not be a match there. One example would be saying that the password working from putty and tortoise working from a different system with the same password means the password can't be a problem. That conclusion causes a shift in focus to other aspects of the problem (is something corrupt about the installation so that a re-install isn't fixing it?) and might cause you to replace the software with something else when the avenues you're willing to explore peter out. Most of us are built to "estimate out" classes of solution, to make problem solving faster. It takes skill and knowledge to keep the stepping going in what turn out to be the right places.

"Best of a bad lot"; okay, I buy that other pieces of software might be doing *more* to you.

Re: Diagnostic skills

Date: 2008-09-26 06:26 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
Oh, I know I'm damn good.

And yes, I was almost at the point of switching to WinCVS or something similar - I'd confirmed that SSH wasn't the problem, after all, and WinCVS would either work (and confirm that Tortoise was truly gefucked) or fail (and confirm that there's something wrong with *cvs* from that machine, not just Tortoise.)

My client would not have been happy, though. He *likes* Tortoise, just like I do, which is why I spent the time to look through it.

Re: Diagnostic skills

Date: 2008-09-26 06:27 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
(PS: Never helps when I'm on Canada and he's in the UK. I love the internet - 10 years ago, I would never have been able to solve this problem, because I would never have been able to make an intercontinental remote desktop sharing connection work well enough to let me run his computer so I could duplicate the problem in detail. 15 years ago, the concept of "remote desktop sharing" would meet with blank looks. 20 years ago, "Desktop? What's that?")

Re: Diagnostic skills

Date: 2008-09-26 06:50 pm (UTC)
From: [identity profile] jsbowden.livejournal.com
"Best of a bad lot"; okay, I buy that other pieces of software might be doing *more* to you.

Might?

The only explanation for the state of software today is that programmers are either malicious or incompetent, but John's not kidding when he states that all software sucks. It's only a matter of degree.

Profile

theweaselking: (Default)theweaselking
Page generated Feb. 5th, 2026 09:10 pm