Knowledge is freedom

Gallery

OS X Lion (10.7.x)


Apple Terminal

Post upgrade to Lion which I found smooth a couple of issues were found or should we say in Microsoft terms (additional features)

1. Out dated printer driver

This is not solely the fault of Apple as the hardware provider should be more alert and provide some kind of support or info, this does not help me to recommend Lexmark at all.  So it’s time for a new printer which is no show stopper, goodbye Lexmark.

2. Connectivity, legacy protocols no longer supported

This is a massive issue for me connecting to legacy servers and some legacy commercial network attached servers.  Meaning updating of the protocols is not possible, Apple have supplied a solution to this.

Lion maintains a list of authentication methods that are not allowed. These are the older, less secure authentication methods. You may need to enable one or more of these methods to support legacy devices or protocols.

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

Open Terminal.
Execute the following commands:sudo chmod o+w /Library/Preferences
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1Make an AFP connection to another system so that the AFP Client preference file will be filled in with the default set of values. Note: You must connect as a registered user, not as a guest.
Execute the following command to see a list of the disabled User AuthenticationMethods (UAMs)defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uamsBy default the disabled UAMs are “Cleartxt Passwrd”, “MS2.0″, “2-Way Randnum exchange”, and “DHCAST128″. Note: if you don’t see a list, restart your computer and repeat step 3.To enable one of these UAMs, remove it from the list of disabled UAMs. For example, this command enables DHCAST128 by removing it from the list of disabled authentication methods:

sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”

After the desired changes have been made, restore the permissions on the Preferences folder with this command:

sudo chmod o-w /Library/Preferences

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s