Phasor Burn

Warning: Do not look into phasor with remaining eye.

About

Yet another collection of random links and rantings of a greying unix geek with a photography bent. Pass the Guinness and Grecian Formula.

Archive for the 'System Administration' Category

Lazy ass developers

Tuesday, December 13th, 2011

So, what school of laziness did you not attend to come up with this wonderful method of using a database?

This is almost, but not quite, as bad as storing it as blobs.

wtf.png

Hmm, what else… oh yeah, it doesn’t appear that they close the xml tag. Double plus goodness.

Log Levels

Friday, December 9th, 2011

log-levels.png

Enabling legacy SMB support on OS X Lion

Wednesday, November 30th, 2011

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

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.

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 1

Make 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 Authentication Methods (UAMs)

defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams

By 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

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

I know we’re trying to be more secure these days, but sometimes you just gotta interoperate with a legacy chunk of iron..

Cooking with Gas

Friday, November 18th, 2011

This site should load a bit faster for you now.

We’ve moved from a Telus ADSL at a supposed speed of 2Mbps in / 0.6 Mbps out (consistently measured at 1.4/0.3)
to a Shaw 50/5 (measurement varies 48/4.8 down to 15/1.4)

Call in the professionals

Sunday, October 30th, 2011

better-call-a-professional.png