How to configure samba 3 with Windows AD

Latest response

Hello,

I need some help with configuring Samba 3 with Windows AD.
All what I want is to share a folder, give permission to Windows Ad group to be able to access the shared folder.
I am using RHEL 6.9 fully patched. the server is already AD joined.
I installed SMB, NMB and Winbind.
I already reviewed this solution https://access.redhat.com/solutions/43065 but no luck

Can someone please help me with this?

Best regards,
Qusay Jibrail

Responses

Hi,

could you describe what you did so far and what is not working?

//Zdenek

Hi, I managed that samba is working for no fault. Wbinfo -t and wbinfo -u -g is working Also id domain name/username is working I see the shares but can't access it via Windows Explorer. Please see here my share settings

[xxxxx] comment = sources path = /home/xxxxx hide special files = yes hide dot files = yes veto files = /.*/ valid users = @"Domain/Ad group" read list = @"Domain/Ad group" write list = @"Domain/Ad group" force user = user force group = @group

Testparam gives an OK. Thanks for you help. Qusay

Your share is located under /home, so you are likely to need:

# setsebool -P samba_enable_home_dirs 1

(Yes, I know it might not actually be anyone's home directory, but under the default SELinux rules, it would get labeled as one.)

Hi Matti, SELinux is disabled. So I don't think that this is the issue. When I try to access the share from windows explorer I am getting a login screen. I am able to fill in my AD credentials, but no luck :-( I tried it with Windows 7 and Windows 10 and I am getting the same login screen. I am member of the AD group which is used for valid user, read list and write list

Best regards, Qusay

Is SMB1 disabled on the Windows end? https://access.redhat.com/solutions/3037571

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.