I was using LDAP authentication for my http shares access.
But I screwed but the LDAP server and now I wanted to configure my http shares against NIS authentication.
I followed the procedure to setup NIS client,
added:
compat in nsswitch.conf
+ entries in passwd and shadow files
Though I am able to ssh to my machine using NIS user, the http is still not authenticating the users
It fails with the following message in /var/log/secure
httpd: pam_unix(httpd:auth): authentication failure; logname= uid=48 euid=48 tty= ruser= rhost= user=nisuser
48 is the default apache user in my /etc/passwd
I don't have any pam_ldap.so in my httpd pam file since I had to remove LDAP configurations and I can't switch back to LDAP.
Has anyone tried this before ??
I can't find any reference over the net for the same
Any help would be much appreciated.
Thanx in advance,
