Sorry for not replying soon to your email. I have been trying to get this script to work on my system. My server administrator needs to configure the php to enable yp. He says it takes time. So, I am still stuck.
My administrator was suggesting if we could use PAM (http://www.kernel.org/pub/linux/libs/pam/index.html) instead. Is it possible to modify nis.php to use PAM instead? Is the installation process same too?
Please give me some advise, as to whether using PAM is more secure and quick way of authenticating the users.
Also, thanks for taking time to write the NIS script. I definately want to set this up on my site soon.
Best regards
user999