Skip to main content

Always prompted for a password

23 replies [Last post]
Islanti
Offline
Joined: 07/28/2009

I'm using Meerkat to connect to my home machine as a tunnel endpoint. I'm using MobileMe and Back to my Mac on both machines. The tunnel is addressed to "machine.user.members.mac.com." which resolves fine. I have previously been able to authenticate and save the password via Meerkat.

Recently Apple released an update for MobileMe that automatically authenticates Back to my Mac connections. It seems that since this happened Meerkat is no longer saving my password. I'm prompted each time Meerkat connects to enter it.

I've cleared the saved Meerkat keychain and tried again without success. Any suggestions? Can Code Sorcery Workshop confirm this is a bug and work on a fix? I tried contacting CSW via their contact form but received no response.

0
Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi there. I'm sorry, but I

Hi there. I'm sorry, but I did not see an email regarding this issue.

I have not heard of this before, so I will look into the interaction with MobileMe to confirm whether or not this is a bug with Meerkat.

Islanti
Offline
Joined: 07/28/2009
I'm being prompted for the

I'm being prompted for the password several seconds after I connect if I log in to the same machine using the IP rather than the MobileMe DNS name. So clearly something strange is going on. Is there anything else I can check besides the keychain to help troubleshoot this?

Justin
Justin's picture
Offline
Joined: 05/28/2008
Just wanted to check in and

Just wanted to check in and let you know that I'm still working on this. Unfortunately there are some issues with MobileMe usernames that have a period in them (as mine does) so testing this on a working MobileMe setup is proving a little complicated.

Stay tuned and sorry again for the inconvenience.

Islanti
Offline
Joined: 07/28/2009
I'm actually seeing the

I'm actually seeing the behavior outside MobileMe with a different server. I'm getting prompted for the password each time I connect despite having the keychain option checked.

I see nothing for Meerkat or the server in my keychain.

I'm running 1.2.2b1 on 10.6 now (but was on 1.2.1 / 10.5 before).

Justin
Justin's picture
Offline
Joined: 05/28/2008
I have been looking into

I have been looking into this, but on numerous networks, have been unable to access my own or my family member's DNS names as I'm supposed to be able to.

That said, I did read up a bit on the update you mentioned. Apple has some info here:

http://support.apple.com/kb/TS1452

So that I'm understanding you properly, you are being prompted in Meerkat. Is this for the tunnel password or for the MobileMe password? And if the former, if you manually type the tunnel password, does the tunnel then work?

Islanti
Offline
Joined: 07/28/2009
With MobileMe my tunnel

With MobileMe my tunnel password equals my MobileMe password so I'm not sure which is required.

With the 2nd account (on a Linux box) I'm being asked for my account password. If I enter it I authenticate successfully. However, nothing seems to be stored in the keychain so I must enter it each time. Do you have a debug version of Meerkat with logging around the keychain read/write operations? That'd tell you why there's nothing in the keychain I expect.

FYI, you must authenticate to MobileMe before the DNS will resolve. You can check whether resolution is working using the following Terminal command:
dns-sd -B _ssh username.members.mac.com.
...or if you are using a newer MobileMe account:
dns-sd -B _ssh username.members.me.com.

Justin
Justin's picture
Offline
Joined: 05/28/2008
Just wanted to let you know

Just wanted to let you know that I'm still working on this. I have not come up with a solution yet, but have seen similar things around the 'net with SSH and other services. I'll keep at it!

Islanti
Offline
Joined: 07/28/2009
Can you tell me why Meerkat

Can you tell me why Meerkat doesn't seem to be saving ANY password? As I mentioned earlier, I have a non-Mac SSH shell account. Meerkat is not saving the password for that account either. There is nothing in the Mac OS X Keychain from Meerkat at all. I did verify the keychain is working correctly (using Apple's support documents for troubleshooting the keychain). Meerkat is the only application I have this issue with.

A debug version with some logging around keychain operations (writes particularly) would help isolate why Meerkat isn't even trying to write to the keychain.

Justin
Justin's picture
Offline
Joined: 05/28/2008
I will send you such a

I will send you such a version shortly so that we can get to the bottom of this. Thanks for your patience.

Islanti
Offline
Joined: 07/28/2009
I emailed you some details

I emailed you some details but the basic issue according to the console log:
"MDS Error: unable to create user DBs in /var/folders/O3/O3-pqtG0EWiJIv2MfK1u4U+++TI/-Caches-//mds"

This error appears several times after each attempt by Meerkat to save a password.

Justin
Justin's picture
Offline
Joined: 05/28/2008
[contacting user via email

[contacting user via email from here on to resolve this issue]

Islanti
Offline
Joined: 07/28/2009
Just to close the loop in

Just to close the loop in case anyone else has this (bizarre) issue: the problem was fully resolved by deleting Meerkat and all its preferences and application support information. I then downloaded and ran a new copy of Meerkat, which worked as expected.

Thanks to Justin for the patience and assistance in troubleshooting.

eleventeen
Offline
Joined: 10/01/2009
I'm having the same issue

I'm having the same issue with mine, on a fresh install of Snow Lep.

I have deleted and completely reinstalled both the current and the 1.3.1 beta version I found on these forums, and it seems that Meerkat just doesn't add saved passwords into the Keychain.

I checked to make sure that Meerkat checks the keychain each time, and I've got AppTrap installed so when I drag the app to the trash the .plist and any other associated files go with it. So when I reinstall it's a truly clean install.

I had this issue when I upgraded from Leopard the first time, I did an archive and install and had this issue and then it went away. I recently did a clean format and install (no upgrade, no archive) and installed Meerkat and now this issue occurs every time.

Islanti
Offline
Joined: 07/28/2009
If you haven't already run

If you haven't already run through Apple's Keychain troubleshooting steps: http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1777.html

Justin
Justin's picture
Offline
Joined: 05/28/2008
One thing to check that is a

One thing to check that is a commonality here but would not necessarily get touched by AppTrap is the keychain validity. There is an app called Keychain Access in the Utilities folder that can verify and, if necessary, repair your keychain. Can you try that and see what it turns up.

Also, can you search in there on 'meerkat' and see if any entries show up? I'm curious if it's an issue with the saving of them there or the reading of them back out again (or a combination).

Thanks for your patience.

eleventeen
Offline
Joined: 10/01/2009
@ Islanti and Justin: Ran

@ Islanti and Justin:

Ran Keychain Firstaid and found nothing.

I also searched for any references to Meerkat and found nothing.

Uninstalled, emptied trash, rebooted, and reinstalled from 1.2.2 on the site and now it works.

I realized before that when I was installing, it was off of a thumbdrive that had a backup of my Downloads folder from before the last install of Snow Lep, and that could have been an older version (pre-Snow Lep maybe).

Appropriately, there is now a keychain entry for Meerkat.

Thanks guys!

JohnL
Offline
Joined: 01/25/2010
I just started seeing this

I just started seeing this problem.

I deleted Meerkat from my applications directory and reinstalled with no change. What other files do I need to delete to do a "complete uninstall".

I am a MobileMe user. Is this an issue?

Islanti
Offline
Joined: 07/28/2009
Delete the Meerkat

Delete the Meerkat preferences file (net.codesorcery.Meerkat.plist) from your ~/Library/Preferences (AKA Home/Library/Preferences) directory.

Justin
Justin's picture
Offline
Joined: 05/28/2008
Just for completeness, you

Just for completeness, you should also delete any keychain entries for Meerkat. They should show up in Applications > Utilities > Keychain Access when you search for Meerkat.

JohnL
Offline
Joined: 01/25/2010
Any progress on this?

I've gone through the deletion and reinstall process 5 times now and about to do it for the 6th time.

1) Is there any progress towards a real fix for this?

2) Could you post a complete list of all the files/preferences Meerkat creates. I've yet been able to get a reinstall to work on the first time -- I've had to take multiple passes for each of my five reinstalls.

I love Meekat but will be looking for a more robust solution if this problem reoccurs.

Justin
Justin's picture
Offline
Joined: 05/28/2008
John, thanks for your

John, thanks for your patience with this. I don't think that you being on MobileMe is a factor, as the original poster was referring to using his Back To My Mac hostname and that being a factor.

Here is what you can do to completely uninstall Meerkat and start fresh:

1) Quit Meerkat.
2) Open up Activity Monitor and make sure that a process called MeerkatAgent is not running. It shouldn't be, but double-check.
3) Trash the ~/Library/Application Support/Meerkat folder.
4) Trash the ~/Library/Preferences/net.codesorcery.Meerkat.plist file.
5) Open Keychain Access and search on 'meerkat', deleting any entries.

If you still have this issue after doing this, please email me directly at contact-at-codesorcery-dot-net and I will get into more detail with your specific setup.

Islanti
Offline
Joined: 07/28/2009
Justin, This issue has

Justin,

This issue has cropped up again for me. As long as I'm not editing existing Meerkat tunnels saving the password works fine. When it seems to break is after I edit an existing tunnel or account with new information. Please check it out when you have a chance.

Islanti
Offline
Joined: 07/28/2009
FYI, I gave up on this and am

FYI, I gave up on this and am now using RSA pre-shared keys for authentication.