yp2ldap is a Perl script that symlinks to ypwhich, ypcat and ypmatch. It is a hook script the returns the results you would have expected from NIS, but uses LDAP instead to obtain the results. It relies on NIS maps being available within an LDAP directory using the RFC2307 schema.
yp2ldap uses Kerberos, so you must have Kerberos authentication set-up and you should already have a ticket available (run kinit to obtain one if necessary).
See README in download source for further information. See INSTALL for installation instructions. Once installed, run man yp2ldap for the online manual page.