INCLUDE_DATA

Archive for August, 2007

Rebuilding Open Directory Replicas

Friday, August 31st, 2007

Cleaning up remnets of a Replica
http://docs.info.apple.com/jarticle.html?artnum=302332-en

NeST -stoppasswordserver
mv /var/db/authserver /var/db/authserver.old
mv /var/db/krb5kdc /var/db/krb5kdc.old
mv /etc/krb5.keytab /etc/krb5.keytab.old
mv /Library/Preferences/edu.mit.Kerberos /Library/Preferences/edu.mit.Kerberos.old

Troublesome files in:
/var/run/openldap-slurp/replica/10.32.1.10:389.rej

Making a keytab file
kadmin.local
ktadd -k /etc/krb5.keytab.lex -glob *lex.dukes.lan*

More promotion info:
http://lists.apple.com/archives/macos-x-server/2006/Nov/msg01118.html

Cross compiling (x86 and PPC) rsync for OSX

Sunday, August 26th, 2007

Preserving this for future references, the commands I used to compile a Universal Binary of rsync (with patches) for Tiger.

uname
uname -a
ls -l /
softwareupdate -l
mkdir rsync-build
cd rsync-build
curl -O http://www.opensource.apple.com/darwinsource/10.4.3/rsync-20/rsync-2.6.3.tar.gz
curl -O http://www.opensource.apple.com/darwinsource/10.4.3/rsync-20/patches/EA.diff
curl -O http://www.opensource.apple.com/darwinsource/10.4.3/rsync-20/patches/PR-3945747-endian.diff
curl -O http://www.lartmaker.nl/rsync/rsync-tiger-fixes.diff
ls -l /usr/include/
curl -O http://www.opensource.apple.com/darwinsource/10.4.3/Libc-391.2.3/darwin/copyfile.h
mv -n copyfile.h /usr/include
tar zxf rsync-2.6.3.tar.gz
cd rsync-2.6.3
patch -p0 < ../EA.diff
patch -p0 < ../PR-3945747-endian.diff
patch -p0 < ../rsync-tiger-fixes.diff
./configure --enable-ea-support
make
cat /usr/include/copyfile.h
cat > /usr/include/copyfile.h
make
make clean
./configure --enable-ea-support
make
make install
man make
cd rsync-build/
cd rsync-2.6.3
make clean
less configure
CFLAGS="-arch i386 -arch ppc" ./configure --enable-ea-support
make clean
CFLAGS="-arch ppc" ./configure --enable-ea-support
make
ls -l
./rsync
lipo
lipo -info
lipo -info rsync
make clean
CFLAGS="-arch i386 -arch ppc" ./configure --enable-ea-support
make
lipo -info rsync
scp rsync root@10.32.45.254:~/rsync-osxs

Of particular interest to me is “CFLAGS=”-arch i386 -arch ppc” ./configure –enable-ea-support” which is the command that actually tells the gcc compiler to compile for both x86 and ppc. Neat! Also handy to know is the lipo command “lipo -info rsync” which tells you what architectures are contained by a FAT binary.

Microsoft Works To Be Made Free - An Article by Zoomba

Friday, August 10th, 2007

Microsoft Works To Be Made Free - An Article by Zoomba
If you have to do a lot of writing for your job (and who doesn’t these days?) chances are you spend a good portion of your life staring at Microsoft Office. MS Office is pretty much the gold-standard these days for word processors, though it carries with it a pretty hefty price tag. The cheapest version, Office Home & Student 2007, goes for $150 USD at most retailers, which is no small chunk of change to most households on a budget. As a result, an increasing number of users are looking to free Office alternatives. The current pack leader is OpenOffice, an open source office tools suite that aims to mimic the Microsoft offering and be as cross-compatible as possible. Other options are web-based services such as Google Docs.

Free is a big incentive, and can overcome lacking features and imperfect compatibility with the industry standard. Free is slowly starting to erode Microsoft’s control of the market space. So, to keep competitive and in people’s minds, Microsoft announced that the next version of their little-brother office productivity suite, Microsoft Works, will be free to download and use. The catch? There will be embedded advertisements.

The History of Spam - An Article by Zoomba

Friday, August 10th, 2007

The History of Spam - An Article by Zoomba
The year is 1978, the ARPAnet connects research institutions and government think tanks across the country. These are the early days of the Internet, when things were pure and clean, and unsullied by the garbage we dig through today in our daily use. It was in the spring of that year though that the slow downward spiral began. The first spam email.

Looking back, we can blame the start of spam on one man at once company, Gary Thuerk at the Digital Equipment Corporation in Maynard, Massachusetts. You see, DEC had a new product coming out later that year, and Gary wanted to spread the word to the folks on the West Coast, since DEC was well-known on the East Coast already. But, instead of calling or emailing users individually to talk to them, the idea struck him that he could just send one message to everyone in one pass. Of course, this was a period where you could conceivably have every address on the network listed in a text document, and the file wouldn’t be that big.

The reaction to this first ever mass email advertisement? Overwhelming hostility.

Money Well Spent - The 18 Year Old Mouse - An Article by Zoomba

Friday, August 10th, 2007

Money Well Spent - The 18 Year Old Mouse - An Article by Zoomba
When dealing with any piece of electronics, or any mechanical doodad that malfunctions, someone will usually pipe up and say “They don’t make ‘em like they used to!” While that’s usually a load of bull as people often remember things better than they were, sometimes you run across a device that proves that statement true. In this case it’s a 1989 Macintosh mouse connected to a still-functioning Maintosh IIci which put in 18 mighty years of service before going off to that big electronics bin in the sky.

18 years, 3 offices, and countless clicks. I don’t know of many devices that could withstand that kind of use.

Do you have any computer hardware still in use that’s coming up on the two decade mark?

The 10 Sexiest Women In HDTV!

Friday, August 10th, 2007

The 10 Sexiest Women In HDTV!
High-Definition TV can be most cruel. The picture is so clear that you can detect even the hint of a new wrinkle forming on an otherwise perfect face.

However, celebrities who are naturally beautiful in real-life look even better in ultra-real HD. Their skin, hair and smile somehow take on an extra radiance, all but overwhelming the viewer with their raw physical attractiveness.

How not to survey your customers | Reg Developer

Sunday, August 5th, 2007

How not to survey your customers | Reg Developer
Blog [David Norfolk says: I don’t like most surveys I see – they’re normally from the armed and dangerous wing of the PR industry – but they can be useful, when done properly. So I was interested when Richard Collins (he wrote a piece for Reg Dev on test-driven development here earlier this year) pointed me at this piece from one of his staff – and I thought it was worth sharing with our readers – , Editor]

3Com mounts school Wi-Fi fightback | The Register

Sunday, August 5th, 2007

3Com mounts school Wi-Fi fightback | The Register
3Com has decided to fight the hysteria over WiFi in schools. The company has hooked up with a reseller that specialises in the education market called 802.UK to promote “second-generation wireless” - by which it means enterprise-class managed WLANs - for schools.

One of those days

Thursday, August 2nd, 2007

You know, there are some days that I wish I just hadn’t got out of bed. This was one of those days. I start out to work this morning and the scooter is wobbling a little bit. Okay, I should have known something was wrong, but I thought that MAYBE I just wasn’t quite awake and might have been imagining it. So, I continue on to work. I spend the morning at the High School doing the same thing I have been all week. Then I get a call from one of the Tweedles. The imaging at Lexington just isn’t working. Machines are failing all over the place. So I ride over there. I walk into the lab and immediately netboot a machine and start restoring it. No problem there. Kevin walks in behind me and goes “oh. That one worked.” No shit that one worked. Master of the obvious. I asked him what machines are failing. I go look at one of those machines. When I look at the error log (which thankfully wasn’t dismissed from the screen), I notice that the machine is trying to mount the afp volume on the Staff server at the high school- and failing. Now, I AM curious to know why that failed, but I decide instead to just change to configuration to the lexington server- and everything works. I tell Tweedle Dumb this and head off to Marlboro. Pickup the server at Marlboro and head back to the high school. Things are quite uneventful until Gary comes in and tells me that the Arts program going on next week need to use the computer lab for Photoshop. Now, lack of proper software be damned, exactly WHEN was someone going to tell us?!?!?!? On top of this, we need to figure out exactly WHEN we are going to get the lab at MMS built. Somewhere in the process of me trying to figure this out Gary decides that he is going to use the Tweedles to finish some of the little projects that are in need of completion around the building. That’s all well and fine until I get dragged into the mess because Gary doesn’t know what he’s doing with the mechanical things. So I spend the rest of the day trying to help with the smartboard in one of the Math rooms. When I leave the school I head to the bank to get some money to go see the simpsons movie with Gary. I notice that the bike is now handling very poorly and take it slow going to the bank and then the theatre. Movie was good. After I leave the theatre I decide I need to get air in my tire- things definitely are not good. I pull into the gas station and up to the Air compressor / vacuum. This truck pulls up beside me and the guy in the passenger seat leans out the window and makes a comment about I need to vacuum out the interior. I say, no, one of the tires is just a little low. He proceeds to say that it’s probably because I’m so fat! I say yup, that’s probably it and turn around to put a quarter in the machine. After I do, I turn around and the truck is on the other side of me. The driver rolls down his window and the passenger says ” that was really inappropriate of me” or something like that. He tried to apologize and I just told him not to worry about it- hoping he would leave. I finally got some air in my tire and went over to WalMart to get some groceries. The bike felt better, but still definitely not good. The trip from Walmart to home was okay. I got home, ate dinner, talked to mom and dad, and went to get an air hose. Finally found the recommended pressure in my manual (I was at 15 and should be at 39) and started filling the tire. However, I didn’t get far. Just above the fill tube was a !@#$ nail. No idea where it came from or how it got there (tho I have my ideas). Great. There’s a one month old tire with a !@#$ hole in it. So I grab my stuff from the bike and take it over to put in the truck. At this point, I notice some shit all over the side of my truck! No, it’s not just on the side of my truck, it covers the truck. It’s like there was a fine mist of something sticky sprayed on my truck!!!! So, I spend the next hour washing my truck in hopes that I can prevent and furthur damage from whatever is all over it. After that, I help mom get rid of the stump that dad so kindly pulled out of the yard and into the second driveway. Then I push the bike into the garage, and rant about how I can’t afford to replace the tire AGAIN.Finally I decide I’ve had enough of the lot and head up to my room.