diff options
author | Simo Sorce <idra@samba.org> | 2005-10-29 13:31:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:15 -0500 |
commit | 7ec71aa20d43fd45dd9321e42ada93ee10fd1d45 (patch) | |
tree | 829da267bc12da10dbdb2b3cf735d5de27639dd5 /packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch | |
parent | fa75e8c1d482cdbad2ff074eccb2baf8d5bba856 (diff) | |
download | samba-7ec71aa20d43fd45dd9321e42ada93ee10fd1d45.tar.gz samba-7ec71aa20d43fd45dd9321e42ada93ee10fd1d45.tar.bz2 samba-7ec71aa20d43fd45dd9321e42ada93ee10fd1d45.zip |
r11398: Keep s3 in sync with trunk
(This used to be commit 7fc05b79643c93eaf0ef028a7337889ed21c52ba)
Diffstat (limited to 'packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch')
-rw-r--r-- | packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch b/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch new file mode 100644 index 0000000000..0c81327987 --- /dev/null +++ b/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch @@ -0,0 +1,14 @@ +diff -uNr samba-3.0.14a.orig/source/client/smbmount.c samba-3.0.14a/source/client/smbmount.c +--- samba-3.0.14a.orig/source/client/smbmount.c 2005-06-02 06:49:31.000000000 -0700 ++++ samba-3.0.14a/source/client/smbmount.c 2005-06-02 06:59:41.000000000 -0700 +@@ -213,6 +213,10 @@ + c->capabilities &= ~CAP_STATUS32; + c->force_dos_errors = True; + } ++ /* For now, respect requests for uid-flattening mount options ++ by disabling Unix permissions handling in the kernel driver */ ++ if (mount_uid || mount_gid || mount_fmask || mount_dmask) ++ c->capabilities &= ~CAP_UNIX; + + if (!cli_session_setup(c, username, + password, strlen(password), |