08-03-2018
I appreciate that I'm coming to this thread very late (and I'm no expert in Windows) but I think you'd better tell us all what version of Windows you have. Different Windows versions have different cifs versions (e.g. 1, 2.x, or 3). You have said the Linux is Kubuntu and I don't know what version of cifs that has. However, my point is that if the cifs versions are mis-matched, then they won't talk to each other. You might be able to fix that by specifying a 'vers=' parameter on your command line.
Anybody know how to quiz a Kubuntu box for its cifs version?
8 More Discussions You Might Find Interesting
1. Programming
Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter...
thanks (0 Replies)
Discussion started by: marvin51796
0 Replies
2. UNIX for Dummies Questions & Answers
Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated.
Thanks,
Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba".
From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users.
That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies
4. Solaris
Greetings..
I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere...
can u guys gimme a link to a sun compatilble version of samba ?
thanx thanx htanx.....
:rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies
5. UNIX for Dummies Questions & Answers
Hey.
I have a question about adding users and maping theirs dirictorys.
Main Folder |
-User1 Folder
-User2 Folder
-User3 Folder
......
How can I add this users to have folders in the Main Folder ? any simple script?
And I... (0 Replies)
Discussion started by: net555
0 Replies
6. UNIX for Dummies Questions & Answers
after creating username/passwd, vi /usr/lib/smb.conf file
comment = dropoff location
path = /tmp/droloc
browsable = No
available = yes
public = no
writable = yes
printable = no
create mode = 777
valid users = tjmann,palexander,bmartin,....
instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies
7. UNIX for Dummies Questions & Answers
currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies
8. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
LEARN ABOUT CENTOS
setcifsacl
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. Whether a security descriptor to be set is applied or not is determined by the CIFS/SMB server.
This program uses a plugin to handle the mapping of user and group names to SIDs. /etc/cifs-utils/idmap-plugin should be a symlink that
points to the correct plugin to use.
OPTIONS
-h
Print usage message and exit.
-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), 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)