Category Archives: Computing

Hardware, software, computer science and the rest

Less Downtime And Problems

A while ago I complained about problems with NIS under Mac OS X. The amount of comments I received on that posting suggests that a lot of people had similiar experiences.

Encouraged by Iain Patterson’s excellent post about using LDAP under Mac OS X and with a bit of help from my fellow worker Robert Brown I managed to get LDAP working. I’m using OpenLDAP on my NetBSD server to provided this service.

The LDAP directory is kept up to date by a self written Perl script. It automatically replicates the contents of the NIS maps passwd.byname, group.byname and mounts.byname into the LDAP database. As the script is automatically run by the makefile on the NIS master the LDAP server will pick up all changes immediately.

I’m using LDAP instead of NIS on my Mac for several weeks now. The change-over fixed all the problems I previously encountered:

  1. I can always login using my LDAP account after the machine finished booting up.
  2. lookupd doesn’t wedge after DNS problems anymore.
  3. I can suspend and wake up my Mac without losing access to my NFS mounted home directory.
  4. When I rebooted my server to finish the NetBSD 4.0 RC1 update the Mac handle that outage without problems.

To say it with the words of Daniel Jackson: The only way to defeat NIS is to deny it battle.

Next Generation Spam

Last Wednesday I received spam over IPv6 for the first time. Somebody (or something?) tried to post a spam comment to this Blog from a computer in Japan using an IPv6 network connection to my web server.

One of the things I really liked about IPv6 so far was the total absence of spam. But thanks to Microsoft’s Windows Vista (with builtin IPv6 support) spammers are now invading this domain, too. 🙁