Using NFS between OSX and Ubuntu with mis-matched uids I have a fileserver running Ubuntu 10.04 I'd like to access via NFS from my Mac running 10.6.8. Problem is, while the usernames are the same, the uids are different.

Googling suggests that the past method of dealing with this was static uid mapping on the server end, but that seems to have been eliminated in NFSv4, which is the only version on 10.04 that I can find.

Is there any way to map the uids so I can get proper NFS read/write access? Or do I have to change the uid on one of the machines? If so, what's the best and most fool-proof way to go about it. I'm concerned about borking permissions all over the place.
Ultimately, the proper solution is to use a directory service (like NIS or LDAP) to provide consistent UID/GID mapping for all users.  Of course, this is a very heavy solution for a smaller and/or home network.

The easiest thing to do is to simply make the UIDs/GIDs consistent on all the hosts involved.