05-25-2011
Linux mount cifs with Windows ACL support
I'm in the process of migrating my windows file servers to a Ubuntu Samba server.
My plan is to use cp -Rp to copy all the mounted files to the proper directory on my Ubuntu server.
I can mount them just fine but if I run getfacl against a mounted directory its not showing any of my Windows NTFS permissions.
Is there a switch that I might use?
10 More Discussions You Might Find Interesting
1. HP-UX
hi everyone
months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful.
Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies
2. UNIX for Advanced & Expert Users
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies
3. Red Hat
Hi,
I am using redhat linux 5.1 - 64bit,
using command
mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test
I am getting below error.
mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only
mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
4. AIX
Hello,
I've been using AIX cifs to mount windows XP shares with no problems till now.
Now it's Windows Server 2008 R2 - no go:
mount -v cifs -n host1/user1/pass1 /share1 /mountpt1
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Discussion started by: vilius
6 Replies
5. HP-UX
Hello,
I try to find what year HP-UX got support for ACL (Access Control List)? I know that HP-UX was the first Unix with ACL support, but it is very hard to find the information on when that occured.
So anyone here know when that did happen?
Any answers are appreciated,
/eXpander (1 Reply)
Discussion started by: eXpander
1 Replies
6. AIX
Hi
i have some problem to mount a Windows Server 2008 R2 share on AIX. I found the artikel 157701-aix-cifs-mount-windows-server-2008-share on the Forum (cant post the Link) witch decribe my situation but there is no solution.
I can mount a share to a Windows 2003 SP2 Server but not to 2008 R2... (2 Replies)
Discussion started by: MrTee
2 Replies
7. Red Hat
hi,
I have the following permission problems with cifs.mount : a share on a VNXe (EMC NAS) is accessed by two RHEL 5.9 accounts (authenticated by Active Directory); One account has read+wite permission to the share , the second one has only read permission. Both accounts uses the following... (0 Replies)
Discussion started by: Zarake
0 Replies
8. AIX
Hello AIX gurus,
I am trying to mount a CIFS share on AIX and I could use some help. Here are the environment details:
AIX - 6100-05-01-1016
Domain Controller - WIN2K8R2 (authentication takes place here)
CIFS share is stored on a NetApp storage array that is joined to the domain
I have... (2 Replies)
Discussion started by: jhall
2 Replies
9. AIX
Hi guys,
I'm trying to mount a windows share (hosted on a NetApp filer with clustered Ontap 8.3) and I have no luck doing it.
This worked before when we used an old NetApp with Ontap 7.3.
Seems there is an issue with ASCII/non-unicode support.
I'm wondering if anybody here has mounted... (7 Replies)
Discussion started by: mikedavis
7 Replies
10. UNIX for Beginners Questions & Answers
I have a Linux server with a cifsmount, the entry in /etc/fstab looks like this: //windows_server_name/xyz /opt/xyz cifs credentials=/etc/creds/xyz.creds,uid=abc,gid=abc,noserverino,directio,_netdev 0 0
The username and password are stored in /etc/creds/xyz.creds
This works fine.:wall: How... (1 Reply)
Discussion started by: Joke Holmer
1 Replies
LEARN ABOUT DEBIAN
ntfs-3g.usermap
NTFS-3G.USERMAP(8) System Manager's Manual NTFS-3G.USERMAP(8)
NAME
ntfs-3g.usermap - NTFS Building a User Mapping File
SYNOPSIS
ntfs-3g.usermap windows-system-device [other-ntfs-device...]
Where windows-system-device is the device containing the Windows system whose users are to be mapped to current Linux system.
And other-ntfs-device is another device containing files which are to be accessed both by the Windows mentioned above and current Linux
system.
the ntfs-3g.usermap command must be started as root, and the designated devices must not be mounted.
Typing ntfs-3g.usermap with no args will display a summary of command arguments.
DESCRIPTION
ntfs-3g.usermap creates the file defining the mapping of Windows accounts to Linux logins for users who owns files which should be visible
from both Windows and Linux.
It relies on existing files which were created on Windows, trying to locate significant files and asking which Linux user or group should
own them. When a Linux owner or group is requested, the reply may be :
- the uid or gid (numeric or symbolic) of Linux owner or group of the file.
In that situation, no more file with the same Windows owner will be selected.
- or no answer, when not able to define the owner or group.
In that situation another file owned by the same Windows user or group may be selected later so that a mapping can be defined.
The mappings for standard Windows users, such as "Administrator" or "All Users" are defined implicitly. As a consequence a user mapping
should never be defined as Linux root.
When there are no more significant files, ntfs-3g.usermap create the mapping file into the file UserMapping in the current directory. This
file has to be moved to the hidden directory .NTFS-3G in the root of all the NTFS file systems to be shared between Windows and Linux. This
requires the file system to be mounted, but the created file will not be taken into account if not present at mount time, which means the
file system has to be unmounted and mounted again for the new mapping file to be taken into account.
OPTIONS
No option is defined for ntfs-3g.usermap.
EXAMPLES
Map the users defined on the Windows system present on /dev/sda1 :
ntfs-3g.usermap /dev/sda1
A detailed example, with screen displays is available on http://pagesperso-orange.fr/b.andre/usermap.html
EXIT CODES
ntfs-3g.usermap exits with a value of 0 when no error was detected, and with a value of 1 when an error was detected.
KNOWN ISSUES
Please see
http://www.tuxera.com/community/ntfs-3g-faq/
for common questions and known issues. If you would find a new one in the latest release of the software then please send an email
describing it in detail. You can contact the development team on the ntfs-3g-devel@lists.sf.net address.
AUTHORS
ntfs-3g.secaudit has been developed by Jean-Pierre Andre.
THANKS
Several people made heroic efforts, often over five or more years which resulted the ntfs-3g driver. Most importantly they are Anton Alta-
parmakov, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy, Yuval Fledel, and the author of the groundbreaking FUSE filesystem develop-
ment framework, Miklos Szeredi.
SEE ALSO
ntfsprogs(8), attr(5), getfattr(1)
ntfs-3g.usermap 1.1.2 February 2010 NTFS-3G.USERMAP(8)