It's broken on 386 at least!! I just compiled popauth on my *VERY OLD* Netbsd v1.1 box hosted on Sparc and it worked just fine. I seriously doubt the problem is popauth's code but that rather OpenBSD i386 has a bit_endian problem in libc/db's ndbm compatability mode or thereabouts. I have no other explanation handy. It's gotta be in dbm_fetch().