LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2010, 03:25 AM   #1
luvshines
Member
 
Registered: Apr 2009
Posts: 74

Rep: Reputation: 16
Question Unable to configure HTTP with NIS


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,
 
Old 02-10-2010, 05:56 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Have a read through this; may give you a few ideas http://www.linuxhomenetworking.com/w...onfiguring_NIS
 
Old 02-16-2010, 03:58 AM   #3
luvshines
Member
 
Registered: Apr 2009
Posts: 74

Original Poster
Rep: Reputation: 16
Got it working finally.

Somehow found this link(google is GOD)

http://www.blu.org/pipermail/discuss...st/026234.html


And it's working now. Though some security hazards both on client and server side, but for now, that's it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to login to NIS client machine(Ubuntu) using NIS login user name crazymoonboy Linux - Server 10 05-08-2015 07:28 AM
How to configure NIS Server ? kamaleshsah07 Linux - Newbie 6 09-04-2009 06:58 AM
How NIS Server Configure asraful islam Linux - Certification 2 05-20-2009 03:56 PM
how to configure the nis server chaithanya Red Hat 3 12-11-2007 05:01 AM
how to configure NIS sheetu Solaris / OpenSolaris 3 08-07-2006 07:57 AM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration