Wrong user name for network connection

Axel Luttgens luttgens at fusl.ac.be
Sun Apr 20 02:47:01 PDT 2008


Le 19 avr. 08 à 15:41, Bill Cheeseman a écrit :

> I have several Macs on my home network. All of them appear in the  
> "Shared"
> section of the Finder sidebar on every other machine, and my keychain
> contains the password for each. So, when I click once on a machine  
> in the
> sidebar, the "Connecting as..." legend appars, and a moment later it  
> changes
> to "Connected as: <username>" without presenting a dialog to enter the
> password. Great! That's just as it should be.
>
> However, one machine always connects as my .Mac email address
> ("myusername at mac.com") instead of connecting as the machine's short  
> username
> ("myusername"). This happens when I am connecting from any other  
> machine on
> the network. I can disconnect the rogue machine and click it again  
> in the
> sidebar, then enter my short username manually in the connection  
> dialog that
> comes up, and that works -- I am connected as my short username. But  
> if I
> disconnect again, then click that machine in the sidebar again, it  
> once more
> connects as my .Mac email address.
>
> What can I change so that a click will automatically connect to the  
> rogue
> machine using my short username? I've checked all the keychain  
> entries using
> Keychain Access on all machines, and I don't see the .Mac email  
> address in
> any of them. I've checked the Accounts prefpane in System  
> Preferences on all
> machines, and the long and short user names are correct (i.e., they  
> contain
> no reference to the .Mac email address).
>
> Connecting to the rogue machine as my .Mac email address works  
> perfectly
> well. But I see this as an esthetic problem. It disturbs my sense of  
> the
> order of the universe. Even worse, it keeps reminding me that I don't
> understand how this works.

Hello Bill,

 From your description, it seems one could infer that all boxes on  
your home network are standalone ones (i.e., not bound to an OD server)?
In which case accounts involved in the above are all local ones?

Before going further with (very) rough guesses, I'll have to confess  
that I never had a .Mac account, so that I don't have the slightest  
idea on how such an account may be integrated into the OS.
When writing "Connecting to the rogue machine as my .Mac email address  
works perfectly well", do you mean that you may enter "myusername at mac.com 
" and corresponding password in the login window on the rogue  
computer? As well as make use of that "myusername at mac.com" name when  
connecting through AFP?
Out of curiosity, could you show the user record of that user (yes,  
who would have guessed, with something like dscl . read /Users/ 
myshortname) on the rogue box?

On the machine that "always connects as my .Mac email address", does  
the "rogue" machine appear in the Apple/Recent Items/Servers menu item  
(not sure of the translation)?
If yes, perhaps could you try to get rid of it, either by clearing the  
whole menu, or by deleting the corresponding entry in the ~/Library/ 
Preferences/com.apple.recentitems.plist file.
Unless I'm wrong, the alias information stores the user name to be  
used for the connection.

In the hope this is not just plain noise,
Axel


More information about the MacOSX-admin mailing list