[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-215-g9dd18bb
Michael Adam
ma at sernet.de
Tue Nov 6 18:39:49 GMT 2007
Hi Jeremy,
I have put the posix/nfs4 acl separation fix upstream.
Pleas check!
Cheers, Michael
Michael Adam wrote:
> The branch, v3-2-test has been updated
> via 9dd18bb534bca6b5de6cad9580b48681b36c0832 (commit)
> via c61b4222d30288add216fac4da3cfaa537f5cd01 (commit)
> via 6f961a23de745aba5dcd4585b731e651b8cbeef4 (commit)
> from 7b582af2107bed3b864bb408b5c9bcce4b8e4c72 (commit)
>
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
>
>
> - Log -----------------------------------------------------------------
> commit 9dd18bb534bca6b5de6cad9580b48681b36c0832
> Author: Michael Adam <obnox at samba.org>
> Date: Fri Oct 26 19:50:55 2007 +0200
>
> Move some access check functions that are not posix-acl specific
> to a new source file of their own.
>
> Michael
>
> commit c61b4222d30288add216fac4da3cfaa537f5cd01
> Author: Michael Adam <obnox at samba.org>
> Date: Thu Oct 25 13:32:56 2007 +0200
>
> Don't repeat fast-pathing...
>
> Michael
>
> commit 6f961a23de745aba5dcd4585b731e651b8cbeef4
> Author: Michael Adam <obnox at samba.org>
> Date: Sat Oct 20 02:17:07 2007 +0200
>
> This is a proposed patch for Bug #5023.
>
> The three can_* access check functions in smbd/posix_acls.c that are used in
> smbd/open.c and smbd/nttrans.c explicitly called check_posix_acl_group_access()
>
> This lead to errors with nfsv4 acls (ZFS and GPFS).
>
> This changes the can_* functions to get the nt_acl via VFS layer and call
> se_access_check on that. It also removes check_posix_acl_group_access()
> which has no more callers.
>
> NOTE: The can_* functions should really not be in smbd/posix_acls.c but
> in a separate file (I propose smbd/access.c).
>
> Michael
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> source/Makefile.in | 1 +
> source/smbd/file_access.c | 239 ++++++++++++++++++++++++
> source/smbd/posix_acls.c | 442 ---------------------------------------------
> 3 files changed, 240 insertions(+), 442 deletions(-)
> create mode 100644 source/smbd/file_access.c
--
Michael Adam <ma at sernet.de>
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE
More information about the samba-technical
mailing list