The Ultimate Business Machine - Archives
List of Categories : Database * Technology * Commentary * Singapore * Travel *
Sun 15 May 2005
The Mystery of the Invalid Password
Category : Commentary/InvalidPassword.txt
I'm getting a little bit closer to solving the mystery of the invalid password. I've got an example of a password which couldn't work - it's one that contains a diacritical mark. That means that passwords containing umlauts and Chinese characters, say, will not work.
Now why does the same password work in Postfix Enabler for Panther and not Postfix Enabler for Tiger?
Postfix Enabler for Panther was built using AppleScript Studio. It is clear now that AppleScript's "do shell script with administrator privileges and password" command handles diacriticals the correct way.
"do shell script" changed in Tiger and I re-wrote Postfix Enabler for Tiger using Objective-C to avoid doing major surgery to my shell scripts. It's clear now that I hadn't emulated "do shell script"'s old behaviour quite far enough.
There must be a way to do it, though exactly how "do shell script" did it is not clear to me. But, at least, I have a lead to work on now.