[SCM] Samba Shared Repository - branch v3-5-test updated
Karolin Seeger
kseeger at samba.org
Wed Oct 26 11:43:06 MDT 2011
The branch, v3-5-test has been updated
via a7224ca Fix bug #8542 - smbclient posix_open command fails to return correct info on open file. (cherry picked from commit d27f5a277ef47c5ff94e402930680b37e8f4d592)
from 73aee20 Third part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit a7224ca5e77aa3e7d3a460515b07aa5b6cb099ae
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 21 18:08:46 2011 -0700
Fix bug #8542 - smbclient posix_open command fails to return correct info on open file.
(cherry picked from commit d27f5a277ef47c5ff94e402930680b37e8f4d592)
-----------------------------------------------------------------------
Summary of changes:
source3/client/client.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/client/client.c b/source3/client/client.c
index e35eb9b..cf43171 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2305,8 +2305,8 @@ static int cmd_posix_open(void)
}
if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDWR, mode, &fnum))) {
- if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) {
- d_printf("posix_open file %s: for read/write fnum %d\n", targetname, fnum);
+ if (NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) {
+ d_printf("posix_open file %s: for readonly fnum %d\n", targetname, fnum);
} else {
d_printf("Failed to open file %s. %s\n", targetname, cli_errstr(cli));
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list