svn commit: samba r3832 - in branches/SAMBA_4_0/source: include libcli/security librpc/idl ntvfs/posix ntvfs/unixuid

tridge at samba.org tridge at samba.org
Thu Nov 18 03:31:36 GMT 2004


Author: tridge
Date: 2004-11-18 03:31:35 +0000 (Thu, 18 Nov 2004)
New Revision: 3832

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3832

Log:
added NT ACL query/set to the posix NTVFS backend. The default ACL is
based on the current nttoken, which is completely wrong, but works as a start.

The ACL is stored in the xattr system.DosAcl, using a NDR encoded IDL
union with a version number to allow for future expansion.

pvfs does not yet check the ACL for file access. At the moment the ACL
is just query/set.

We also need to do some RPC work to allow the windows ACL editor to be
used. At the moment is queries the ACL fine, but displays an error
when it fails to map the SIDs via rpc.

Added:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c
Modified:
   branches/SAMBA_4_0/source/include/rpc_secdes.h
   branches/SAMBA_4_0/source/include/structs.h
   branches/SAMBA_4_0/source/libcli/security/security_descriptor.c
   branches/SAMBA_4_0/source/librpc/idl/xattr.idl
   branches/SAMBA_4_0/source/ntvfs/posix/config.mk
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_qfileinfo.c
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_xattr.c
   branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
   branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c


Changeset:
Sorry, the patch is too large (442 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3832


More information about the samba-cvs mailing list