LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-07-2017, 09:56 PM   #1
soulinlinx
LQ Newbie
 
Registered: Jan 2012
Distribution: Redhat 7/8, Ubuntu, SLES
Posts: 10

Rep: Reputation: Disabled
Linux with AD auth from Multiple Domains


Hello Experts -

I have been told to achieve linux AD authentication failover , by configuring multiple AD domain controllers in the linux configs. So that, if one AD domain controller is down, OS should lookup for another domain controller in the config and continue to authenticate, even if one of the domain controller is down.

Please suggest how this can be achieved.

OS used: RHEL 6.9 64 bit
AD solution: Windows Active Dir Services



Thanks

Last edited by soulinlinx; 06-07-2017 at 09:57 PM.
 
Old 06-08-2017, 07:50 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,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
If you have a licensed copy of RHEL you should be able to use the Red Hat support pages, documentation, and forums. Have you researched SAMBA setup with Red Hat already?
 
1 members found this post helpful.
Old 06-08-2017, 07:59 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by soulinlinx View Post
Hello Experts -
I have been told to achieve linux AD authentication failover , by configuring multiple AD domain controllers in the linux configs. So that, if one AD domain controller is down, OS should lookup for another domain controller in the config and continue to authenticate, even if one of the domain controller is down.

Please suggest how this can be achieved.

OS used: RHEL 6.9 64 bit
AD solution: Windows Active Dir Services
Read the "Question Guidelines" link in my posting signature. We're happy to help, but you need to do some basic research first, before posting. As said by wpeckham, since you're using RHEL you are paying for it, RIGHT?? Since you are, there is ample documentation in the Red Hat knowledgebase you can access, with complete how-to guides.

Putting "how to configure linux as active directory server" into Google pulls up, as the VERY FIRST HIT:
https://wiki.samba.org/index.php/Set...ain_Controller

...including a link to the complete documentation where they take you through setting up replication:
https://wiki.samba.org/index.php/User_Documentation
 
Old 06-08-2017, 08:32 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
In many tools you can specify multiple Active Directory (AD) servers (usually called domain controllers) simply by separating them with a comma.

For example using the ldapsearch command line to see various fields:
ldapsearch -x -H "ldap://<first_domain_contorller>,ldap://<second_domain_controller>" -D "<ad_user>@<ad_domain>" -w '<ad_password>' -b "dc=<ad_domain before the dot>,dc=<ad_domain_after the dot>" -E "pr=1000/noprompt" -s sub cn streetAddress physicalDeliveryOfficeName postalcode title telephoneNumber mobile facsimileTelephoneNumber mail

If your domain were billybob.net what follows -b would be "dc=billybob,dc=net".
 
1 members found this post helpful.
Old 06-09-2017, 02:37 AM   #5
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
It is not about multiple domains, it is about fail over to next DC in same domain, right ?

It do fail over to next DC if DC completely dead. But if it still up, linux locked on it without rolling to next. Even service restart was not helped. The solution was ask windows team fix broken DC that was done with many thanks for alert.
 
Old 06-09-2017, 06:14 AM   #6
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,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
The last time I configured SAMBA the DC was not defined. You set the DOMAIN and it FINDS the DC the same way Windows clients do. I do not remember the version for certain, but that was CentOS v6 so it should be the same version available to you in the RHEL repos.
 
  


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
Join Linux Server With Multiple Domains ? prayingtosky Linux - Newbie 1 01-13-2011 08:05 PM
Multiple emails accounts(with different from domains) on multiple domains on 1 server locoputo Linux - Server 0 04-12-2009 06:29 PM
Multiple domains in LDAP and 1 samba server for all domains, what to do? xnomad Linux - Server 1 11-14-2008 09:12 AM
Sub Domains & Multiple Domains (Apache) lugos Linux - Server 1 09-01-2006 10:22 PM
Bind configuration for multiple sub-domains on multiple sites JF1980 Linux - Networking 3 08-31-2006 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:48 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
Open Source Consulting | Domain Registration