Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-18-2013, 11:22 AM   #1
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 297

Rep: Reputation: Disabled
Using Windows ACLs with Samba

I have now got Linux authenticating correctly with a Windows 2012 Domain Controller, I can use Windows Users and Groups to set file permissions.

The next issue to try and tackle is how to allow Windows ACLs on a Linux (Samba) Server. I am a bit confussed on trying to read about this as there seems to be varying opinions maybe all coming from different times in Sambas development.

So simple question is how can I enable Windows ACLs on a Samba share and what is the best file-system to use on that share? Do different file systems make any difference to the ACL functionality?

Old 01-19-2013, 08:38 PM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,485

Rep: Reputation: Disabled
You say you can set file permissions. What exactly do you mean by "using Windows ACLs"?

If you mean you can currently refer to Windows Domain groups and users when setting Unix file permissions with chown but can't do the same from a Windows client, the problem is probably related to lacking file system support for ACLs and extended attributes.

When you modify file permissions from a Windows client, Samba will modify the ACL on the file in question. It also stores the hash of the ACL as an extended attribute of the same file. This will obviously only work if the file system supports those features.

Most file systems support both ACLs and extended attributes, but mounting a file system with default options will usually leave both deactivated. You may need to add the "acl" and "user_xattr" parameters to /etc/fstab and remount the file system.
Old 01-20-2013, 02:39 PM   #3
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 297

Original Poster
Rep: Reputation: Disabled
Thanks that worked perfectly.


acl, filesystems, samba

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
Samba, SSSD, Active Directory 2008 R2 and ACLs on Windows clients HowellBP Linux - Server 2 10-07-2013 02:37 PM
how to get Windows ACLs after mounting share on linux using samba client shreyas08 Linux - Newbie 0 01-01-2012 11:25 PM
Modifying Linux ACLs with Windows Server 2003 via Samba [LONG] StupidNewbie Linux - Security 1 03-15-2010 01:00 PM
Using Samba with ACLs drenze Linux - Server 1 10-19-2007 07:32 AM
Windows ACLs and FC5/Samba/rsync Unclesmiff Linux - Enterprise 1 02-23-2007 03:12 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:04 PM.

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