LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-17-2015, 06:39 AM   #1
swap25091
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Dual Auth for Linux Clients


Hello,

We are planning to migrate NIS users to OpenLDAP and during migration is it possible if we can configure TWO Auth. Protocol like NIS and LDAP, if user does not found into NIS it should look into LDAP and authenticate?

Please suggest or if anyone has done the migration, plz share how we can migrate UNIX client & users & NFS share

Regards,
Swap
 
Old 07-22-2015, 05:57 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,617

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Easy

What you want to do is read the documentation and how-to pages for PAM, SAMBA and LDAP. You are going to use exactly the same PAM tricks to enable each kind of authentication on TOP of local authentication so that the first one that works will suffice for access.

Only one warning, it has been my experience that the more authentication sources you stack, the more time authentication can take. To get to local it will have to fail or time out of BOTH the others. This can be irritating.

OK, I lied, here is a second warning. Never log off your main work session. Start second sessions to test, but keep one active that you can use to roll things back in case your change makes it impossible to log in. Always leave yourself a way back.

Last edited by wpeckham; 07-22-2015 at 06:00 AM.
 
2 members found this post helpful.
Old 07-24-2015, 10:20 AM   #3
swap25091
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for suggestion, it worked perfectly
 
  


Reply



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
[SOLVED] Postfix: SMTP Relay Access Denied with external auth'd clients Gargravarr2112 Linux - Server 4 01-17-2016 12:36 PM
[SOLVED] URGENT: vsftpd-2.0.1-6 auth tls clients not connect SteveInTallyFL Linux - Server 5 04-12-2010 09:51 AM
vsftpd 2.0.1-6 auth tls clients not connect SteveInTallyFL Linux - Networking 2 04-11-2010 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 PM.

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
Open Source Consulting | Domain Registration