After reading all this, you'll be able to empty your /etc/passwd and get user data from an LDAP server. Other files like /etc/group and /etc/services might follow if you join the team and hack the rest.
Before you start check out these links:
uid=sascha, dc=free,dc=de description=No Plan! objectclass=posixAccount gecos=Sascha Gresk userpassword={crypt}sdsPTg5qBDYTg uid=sascha gidnumber=0 gidnumber=1001 gidnumber=1111 gidnumber=69 gidnumber=504 loginshell=/bin/csh homedirectory=/home/sascha uidnumber=503 cn=Sascha Gresk
So this is what I did: >fetch ftp://ftp.padl.com/pub/nss_ldap.tgz >md5 nss_ldap.tgz MD5 (nss_ldap.tgz) = e87bc89fc4b36bed22c71814153f38ef >tar xvzf nss_ldap.tgz cd nss_ldap-113 fetch http://www.free.de/homes/sascha/Makefile.freebsd ln -s Makefile.freebsd Makefile make depend make make install