10 More Discussions You Might Find Interesting
1. AIX
Hi,
We have a number of Windows Server 2003 shares mounted on our AIX server via CIFS, using a command similar to this:
mkcifsmnt -f /test -d testshare -h testserver -c testuser -p pass -w DOMAIN
The windows servers are currently being upgraded to 2012, and as part of this they are setting... (0 Replies)
Discussion started by: AndyG
0 Replies
2. AIX
Hi All,
I was trying to setup a file share between AIX and widnows servers. I have installed cifs filesets on my AIX LPAR. but when i was trying to mount the share on AIX , got the below errors.
There was an error connecting the share or the server.
Make sure the lsdev command shows that... (3 Replies)
Discussion started by: System Admin 77
3 Replies
3. UNIX for Dummies Questions & Answers
hi guys
I have to umount a CIFS from a Windows machine...but it's been imposible
there is one special task
/sbin/umount.cifs /mondobackup
that task cannot be kill...so I cannot umount the unit
any idea how to kill this and umount this CIFS share?
by the way I've tried
umount... (5 Replies)
Discussion started by: kopper
5 Replies
4. AIX
Dear Experts,
Im facing a unique situation. We got a windows server folder cifs mounted on my AIX server. Before restarting the win server I tried unmounting the cifs mount. It got hanged and win server was restarted however.
Now Im trying to mount the same. It prompts for password... (3 Replies)
Discussion started by: jayadeava
3 Replies
5. AIX
Hi,
I want to access windows folder from aix and viceversa. Is it possible to do that? I came to know we can do that from cifs but when tried to install
cifs.base.cmd 3.2.1.0
cifs.base.lic 3.2.1.0
cifs.base.smit 3.2.1.0
cifs.basic.rte 3.2.1.0
cifs.client.rte 3.2.1.0
cifs.websm.apps 3.2.1.0... (4 Replies)
Discussion started by: vjm
4 Replies
6. OS X (Apple)
Can all you OS X xperts help me?
OS X Leopard 10.5.6:
mount -t cifs -o username=name,password=secret //server/share /mnt/dir
Works from every linux box I have ever used. This does not work from the OS X terminal. Why?
The gui/finder/go: cifs://server/share just works... command line... (2 Replies)
Discussion started by: cjohnsoia
2 Replies
7. 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
8. Shell Programming and Scripting
Hi all,
I am using script to take mysql database backup... its arrround 12 GB ...... I have used tar -a , cp -a and rsync -a to take backup on CIFS mounted drive but it fails to take backup more than 2 GB as well as not able to take backup with ownership,timestamps.
Conf files... (3 Replies)
Discussion started by: jagnikam
3 Replies
9. AIX
Im trying to share a directory with cifs my aix box with a windows server.
but when I try to mount
mount -v cifs -n 172.19.90.240/suc_user/tommy /directory /directory1/directory1
I got this error
There was an error connecting the share or the server.
Make sure the lsdev command shows that... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
10. Solaris
Is it possible to mount a samba share on a solaris system? I know this is possible with Linux using a fstype of smbfs. I am trying to aviod having to share the same directories via cifs and nfs on a solaris box to windows and solaris clients. (3 Replies)
Discussion started by: mhm4
3 Replies
SETCIFSACL(1) CIFS Access Control List Tools SETCIFSACL(1)
NAME
setcifsacl - Userspace helper to alter an ACL in a security descriptor for Common Internet File System (CIFS)
SYNOPSIS
setcifsacl [-v|-a|-D|-M|-S] "{one or more ACEs}" {file system object}
DESCRIPTION
This tool is part of the cifs-utils suite.
setcifsacl is a userspace helper program for the Linux CIFS client file system. It is intended to alter an ACL of a security descriptor
for a file system object. It is best utilized when an option of cifsacl is specified when mounting a cifs share in conjunction with
winbind facility of Samba suite. Whether a security descriptor to be set is applied or not is determined by the CIFS/SMB server.
OPTIONS
-v
Print version number and exit.
-a
Add one or more ACEs to an ACL of a security descriptor. An ACE is added even if the same ACE exists in the ACL.
-D
Delete one or more ACEs from an ACL of a security descriptor. Entire ACE has to match in an existing ACL for the listed ACEs to be
deleted.
-M
Modify one or more ACEs from an ACL of a security descriptor. SID and type are used to match for existing ACEs to be modified with the
list of ACEs specified.
-S
Set an ACL of security descriptor with the list of ACEs Existing ACL is replaced entirely with the specified ACEs.
Every ACE entry starts with "ACL:" One or more ACEs are specified within double quotes. Multiple ACEs are separated by a comma.
Following fields of an ACE can be modified with possible values:
SID: Either a name or a raw SID value.
type: ALLOWED (0x0), DENIED (0x1), OBJECT_ALLOWED (0x5), OBJECT_DENIED (0x6)
flags: OBJECT_INHERIT_FLAG (OI or 0x1), CONTAINER_INHERIT_FLAG (CI or 0x2), NO_PROPAGATE_INHERIT_FLAG (NI or 0x4), INHERIT_ONLY_FLAG (IO or
0x8), INHERITED_ACE_FLAG (IA or 0x10) or a combination/OR of these values.
mask: Either one of FULL, CHANGE, READ, a combination of R W X D P O, or a hex value
EXAMPLES
Add an ACE
setcifsacl -a "ACL:CIFSTESTDOMuser2:DENIED/0x1/D" <file_name> setcifsacl -a "ACL:CIFSTESTDOMuser1:ALLOWED/OI|CI|NI/D" <file_name>
Delete an ACE
setcifsacl -D "ACL:S-1-1-0:0x1/OI/0x1201ff" <file_name>
Modify an ACE
setcifsacl -M "ACL:CIFSTESTDOMuser1:ALLOWED/0x1f/CHANGE" <file_name>
Set an ACL
setcifsacl -S "ACL:CIFSTESTDOMAdministrator:0x0/0x0/FULL,
ACL:CIFSTESTDOMuser2:0x0/0x0/FULL," <file_name>
NOTES
Kernel support for getcifsacl/setcifsacl utilities was initially introduced in the 2.6.37 kernel.
SEE ALSO
mount.cifs(8), winbindd(8), getcifsacl(1)
AUTHOR
Shirish Pargaonkar wrote the setcifsacl program.
The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs.
cifs-utils 08/19/2011 SETCIFSACL(1)