LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-18-2013, 12:22 PM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 263

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?

Thanks,
Nick
 
Old 01-19-2013, 09:38 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,082

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, 03:39 PM   #3
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 263

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


Reply

Tags
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 03:37 PM
how to get Windows ACLs after mounting share on linux using samba client shreyas08 Linux - Newbie 0 01-02-2012 12:25 AM
Modifying Linux ACLs with Windows Server 2003 via Samba [LONG] StupidNewbie Linux - Security 1 03-15-2010 02:00 PM
Using Samba with ACLs drenze Linux - Server 1 10-19-2007 08:32 AM
Windows ACLs and FC5/Samba/rsync Unclesmiff Linux - Enterprise 1 02-23-2007 04:12 AM


All times are GMT -5. The time now is 11:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration