The Death of NetInfo

Not sure how I missed this, but NetInfo is dead as of Leopard. And I don't just mean the NetInfo Manager application. I mean NetInfo technology. It's gone. Completely replaced by a generic set of plist files in plain ol', flat XML. The GUI functionality is found mostly where you'd expect it. Gone, too, are the command-line tools for modifying the NetInfo database. These have been replaced dscl and friends. To quote AFP548:

Since dscl can't do everything there are some new, and greatly enhanced tools to help you:
  • dsenableroot - just like it sounds. This has been on OS X for a while now, but it may be more useful now that NetInfo Manager is gone.
  • dseditgroup - also present in 10.4, but will get more usage now. Good for manipulating group memberships.
  • dscacheutil - brand new in Leopard. This tools allows you to peek into the Directory Service cache and flush it if necessary. Semi-analogous to lookupd -d.
  • dserr - a curious tool. Lives only to lookup DS error codes for you and return the text equivalent of the error. I half expected to find a quick shell script here just grepping the man page for DirectoryService.
  • dsmemberutil - now this is a command you can sink your teeth into! Allows you to check group membership and do some debugging on what groups the system thinks a user is in.

That's about as good a description as I've seen on the topic in a nutshell. Suffice to say, this is a day we've all been waiting for, or at least expecting. That it's come with such little fanfare is probably, in retrospect, not all that surprising. It just took me off guard a little.

In the end I think this will basically be a good thing. So far, things once done with NetInfo look at least a bit easier to do with the dscl and GUI equivalents. So, cool. NetInfo has finally been replaced. Of course it's been replaced with something else proprietary and weird, but it looks like it's at least a bit easier to manage. But, whatever.

So long NetInfo, we hardly knew ye!