LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-06-2019, 04:50 PM   #1
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Rep: Reputation: 1
Centos 7 in and AD Domain - advice needed


I have the following requirements:
1. Integrate C7 server into AD domain. I followed these instructions and it worked really well: https://www.linuxtechi.com/integrate...ive-directory/
2. Integrate samba on the same server such that domain users can connect to shares automatically using their windows credentials. The purpose is to allow connections without going through any password prompt.

I tried setting up samba as a domain member and as a stand alone server. As a member I couldn't get a clean testparm. As a stand alone I couldn't get it to recognize AD logins or even work as a wide open share (EG guesk ok = yes). Can anyone point me to a blog/url that explains how to do this?
 
Old 02-26-2019, 10:25 PM   #2
dieselboy
LQ Newbie
 
Registered: Feb 2019
Posts: 25

Rep: Reputation: Disabled
I'm not sure I understand your Samba requirement, could you elaborate? What is a testparm? I think you are wanting a network share server, hosted by Centos7 with AD login.

I have integrated centos6/7 and rhel6/7 with AD. It's much much easier with 7 compared to 6 but it's not problem-free. I have found differences in experience on 7 machines simply by minor package versions. Very frustrating. For example, SSSD dynamic DNS not updating dns, or only updating its IPv6 IP. AD Join sending hostname in full capitals rather than actual case.

Now with AD login, depending on your config you can have people enter their user-IDs as "userID" or "userID@somedoma.in". Whatever your design has, you would need to ensure that samba is expecting the same.
To allow connections without a password prompt you need kerberos set up and working. You need the krb5 keytab (if I remembered correctly). May be you need to enable Samba for kerberos?

If nothing more, hope the above gives you a bit more info than you already had; to keep you moving forward.
 
Old 02-28-2019, 01:27 PM   #3
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 243

Rep: Reputation: Disabled
Can you post your samba config? What version(s) of Windows are the clients?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 6 RAID advice needed johnsfine Linux - Desktop 5 04-08-2014 11:18 AM
Mounting SFS on CentOS (or any RHEL system) - Advice needed! sofly Linux - Software 2 08-25-2011 08:19 PM
Sendmail doubling sender domain- ex. hostname.domain.net.domain.net halborr Slackware 7 08-23-2010 08:37 AM
IPtables - block subdomains (a.domain.com, b.domain.com, c.domain.com,...) benjalien Linux - Networking 6 06-24-2009 07:03 AM
Helpful advice needed for initial setup of CentOS 5 server running Tomcat JohnRock Linux - Newbie 14 05-05-2009 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 01:01 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