LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-06-2009, 12:19 PM   #1
rockfx01
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Rep: Reputation: 0
Can I retrieve ACLs from Windows share with getfacl or only smbcacl?


Hi,

I have a RHEL 5 server and Windows Server 2003 used for storage. Both are joined to a Windows Server 2003 Active Directory domain with Identity Management for Unix (MSIMU) installed.

A Windows share from the W2k3 Server is mounted on the RHEL 5 server via cifs, and am trying to determine the best way to retrieve and modify Windows ACLs of files on the storage server from the RHEL server.

I am able to retrieve, set, and modify Windows ACL permissions for specific files on the Windows server using the 'smbcacls' command; however, this command is somewhat inefficient and I am wondering if it would be possible to use the "getfacl" and "setfacl" commands instead to retrieve the Windows ACLs. So far I have not been able to make this work, so I wonder if it is simply a limitation, or if perhaps recompiling the cifs.ko module with "ACL support" might yield different results (suggest by RedHat, although I'm not sure I believe this will solve anything).

From what I understand, get/setfacl is designed for retrieving POSIX ACLs from local file systems (such as EXT3) and from Samba shares, i.e. from another Linux file server. So while get/setfacl supposedly will work for Linux smb file systems, they will not work for setting acls on a Windows share. Moving our Windows server to Linux is not an option.

Has anyone been able to make a scenario like this work, or is 'smbcacls' my only hope?
 
  


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
Windows ACLs and Linux Unclesmiff Linux - Software 1 02-24-2007 01:32 PM
Windows ACLs and FC5/Samba/rsync Unclesmiff Linux - Enterprise 1 02-23-2007 03:12 AM
Fedora Core 3, Windows ACLs, POSIX ?? jabran Fedora 6 06-24-2005 10:01 PM
Retrieve Windows password from Linux dom_lochet Linux - Software 3 04-12-2005 09:39 AM
Can Not retrieve mail from a windows machine briz Linux - Newbie 3 02-08-2002 05:01 PM

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

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