Specifications
3 Click Connect.
4 Enter your user name and password or select Guest, then click Connect.
5 Select the share point you want to use and click OK.
Changing the Default User Name for AFP Connections
When you use the Connect to Server command in the Finder to connect to an AFP
server, the login panel populates your full user name by default. In Mac OS X v10.5 and
later, you can customize this panel to present your short name, a custom name, or no
user name at all.
Important: These instructions involve using the defaults command to edit a property
list (.plist) le and are intended for experienced Mac OS X administrators. Incorrect
editing of this le can lead to unexpected Mac OS X behavior. Before following
these instructions, make a backup copy of the /Library/Preferences/com.apple.
NetworkAuthorization.plist le.
You can edit this le so that the Name eld in the Connect to Server dialog is
populated with one of the following:
Current user’s long name (default behavior) Â
Current user’s short name Â
A custom name Â
No name Â
Note: If you select the “Remember password in keychain” option in the Connect to
Server dialog, the name stored in the Keychain entry overrides the setting in this
preference le.
Use the defaults command in Terminal to change the default name to the following:
To set the current user’s short name:
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization
UseDefaultName -bool NO
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization
UseShortName -bool YES
To set a custom name:
Replace "user" with the custom name and enclose it in quotation marks.
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization
UseDefaultName -bool YES
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization
DefaultName "user"
92 Chapter 4 Working with AFP Service