UpdateLDAPFromNis is a project mainly written in Ruby, it's free.
Simple utility to synchronize NIS and LDAP passwords.