I can be contacted at joseph@coscend.com Won't work with older ver of perl < ver 5.6. Currently only tested creating the password file on netscape directory server.
This script requires the LDAP perl module which can be found at
http://perl-ldap.sourceforge.net/
which requires this perl module
http://search.cpan.org/search?module=Convert::ASN1
Some useful schema examples can be found at
http://www.padl.com/ldap_examples.html
http://www.hklc.com/ldapschema/
Services, protocols, rpc, hosts and networks map creation doesn't work because of the multiple instances of cn in the schema. If some one can figure out how to order that stuff let me know.
How to maybe get it working.
1)Edit src/ldapquery.in and change ldap.conf path to your path.
2)Edit ldap.conf and set server info, and the path info.
3)Edit ldapmap.conf change the entries to reflect your ldap conf. Remeber not
to change the order of the schemas. This will screw things up.
4)Edit nisldap.conf and tell it what maps to create.
5)Change the paths in you /var/yp/Makefile directory to point at the files
created by nisldap.
6)Possilby add a command to the Makefile to run nisldap before making maps.
7)Make the maps and cross your fingers.
Some potentially useful tools can be found at
http://www.padl.com/tools.html
to help get your current NIS configuration into LDAP. I'm not postive they are
RFC2307 compliant but who the heck is.
Joseph
