Everybody Staze...

Nobody leavz...

  • Home
  • About Me
    • LinkedIn
    • Lab
  • Contact
  • Links
  • Reviews
  • Sitemap
  • Weather
You are here: Home / 2009 / Archives for September 2009

Archives for September 2009

Missing OD Attributes

2009/09/18 By staze

A while back, when 10.5 first shipped, my boss and I were intrigued by iCal Server. And after getting it going, we found that for some reason, we couldn’t set a calendar server for our users. We’d set the calendar in Workgroup Manager (WGM hereafter), hit save, and right after that, WGM would uncheck the box, and set it back to none. Something was weird with our accounts. My boss deleted his account and recreated it, and that fixed it. So, the problem was obviously something with the “old” accounts on the system (e.g. the accounts that had been migrated from 10.1 -> 10.2 -> 10.3 -> 10.4 -> 10.5. Some attribute didn’t get added.

At first glance, the obvious missing one was there was only one authAuthority entry in our user accounts. Just the ApplePasswordServer entry, no Kerberosv5 entry. And deleting and recreating his account remedied that. So, I put it on the back burner because we figured out that iCal Server was kinda buggy, and later found out that the iPhone couldn’t write to it, just read (no good). When 10.6 was announced, and we heard that iCal Server 2 supported read/write from the iPhone (with version 3.x+ of the iPhone software), I started thinking about it again. So, I looked at the attribute, and figured out that a single “sed” would create the attribute I needed. So, I coded up this. And figured, problem solved.

Alas, it was not. While testing a migration of 10.4 email (cyrus) to a 10.6 server (dovecot) using the migrate_mail_data.pl script, I noticed at the end, the script renames the imap spool folders after the user’s UUID. It failed to rename them for several users (like me) because we didn’t have a UUID. Then it hit me, iCal Server’s URLs contain the UUID for the user. No UUID, no iCal Server calendar. DOH! So, I took the Kerberos script, changed it a bit (using uuidgen), and batch added UUIDs for all the users that didn’t have them (Script here. Re-ran the migrate_mail_data.pl script, and viola, all the spools got renamed. Now, I’m not sure if this really fixes the iCal Server 1 problem, since I don’t have an iCal Server set up, but iCal Server 2 works (though, it works differently, so this issue doesn’t occur). I also got word from a bug I filed about the initial issue, that Apple thinks 10.6 fixed it, so I’d imagine when you upgrade your OD server to 10.6, it adds missing attributes.

More later, work related. Thought I should keep topics distinct.

Filed Under: Coding, Sys Admin Tagged With: 10.6, authAuthority, GeneratedUID, iCal Server, Kerberos, Open Directory, UUID, uuidgen

Been a bit…

2009/09/15 By staze

It’s been a while since I posted, so there’s actually going to be a few posts in a row here.

First, just a house and home update. We just sold our bird, Pablo, to someone else in the area. $20 for all his stuff, which easily was over $100 is equipment. It’s going to be weird to not have him wake us up anymore. But, he’s a pretty noisy bird, so all and all, it’s a good thing. He is/was a probably 10-12 year old Parakeet. Yeah, they don’t normally live that long, but they can apparently live to be 20-25, so I guess we’re just “lucky”. =)

I replaced the webcam, so the image on the front page should “work” now. Though, this camera has a bad habit of making the sky purple with the macam drivers. It’s an Intel CS430 PC Camera Pro. It’s ancient, but it works. I have another camera I might try later, but at this point, it should work.

I haven’t been working on my website in a while, but I hope to start that again soon. There are some errors in the code for the summary of power data (mainly the power used since last reading).

We’re going to have the plumbing installed for a laundry sink end of this week. It’ll be sweet to get a sink down there. I hope to install an RO filter under it, so that I have clean water for plants (carnivorous plants, as well as epiphytic orchids prefer squeaky clean water). Once we have the plumbing installed Tara’s going to build a cabinet for the sink, and we’ll buy the sink (Thermocast Kensington). It’s pretty sweet, it has an integrated washboard.

All and all, that’s about it. I’ll hopefully post more tonight or tomorrow about work related stuff. Since 10.6 has shipped since my last post, and a few other things have happened.

Filed Under: Home Ownership Tagged With: macam, Thermocast Kensington

« Previous Page

Weather

Categories / Archives

  • Apple
  • Coding
  • Electronics
  • Energy
  • Home Ownership
  • Miscellany
  • Politics
  • Prius
  • Sys Admin
  • Travel
  • Uncategorized
  • Work
  • April 2026
  • August 2025
  • April 2025
  • January 2024
  • February 2021
  • July 2020
  • January 2020
  • April 2019
  • March 2018
  • February 2018
  • June 2017
  • February 2017

Copyright © 2026 · Staze On Genesis Framework · WordPress · Log in