When will I learn? I don't care how many times in the last five years I've had to mess with LDAP, I never learn. Why the hell don't I write shit down when I figure it out. Do I enjoy re-learning the same stupid crap over and over and over? Must be.
Okay here's the thing. I shall endeavor to remember the following:
Pretty damn simple, eh? Not so simple when I've forgotten more of this LDAP shit than any sane person would care to remember.
While I'm at it, please oh please, remember for the next time about the dbmmange httpd password files. You've got to export the old entries, and then import them dbmmanage2 users import < old-data, modify the .htaccess files and be done with it.
Oh and a neat trick for dumping reliably an entire PosgreSQL database for an upgrade:
pg_dumpall > backup.sql
stop PostgreSQL, upgrade it, wipe the data directory, run initdb as user postgres and then psql -f backup.sql template1
Flawless. At least that part went well. The cursing was fun though.