Steve French | 3 Mar 21:41 2015
Picon

rename parent directory and v2 lease breaks

I was testing Samba 4.2 and noticed that renaming the parent directory
did not trigger a v2 lease break for files opened in that directory
(it looks like Windows does send one though).

Shouldn't rename of the parent directory trigger a lease break for
open files in the directory?

--

-- 
Thanks,

Steve

Volker Lendecke | 3 Mar 17:00 2015
Picon

[PATCH] some coverity fixes

Hi!

Review&push appreciated!

Thanks,

Volker

-- 
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:kontakt <at> sernet.de
From 3819466a64e0ee0e3ce151aa8f755ccb894c03b3 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl <at> samba.org>
Date: Tue, 3 Mar 2015 15:48:46 +0100
Subject: [PATCH 1/5] aio_fork: Fix CID 1273291 Uninitialized scalar variable

The previous code left msg.msg_flags uninitialized

Signed-off-by: Volker Lendecke <vl <at> samba.org>
---
 source3/modules/vfs_aio_fork.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index bf29dd1..06f38c2 100644
--- a/source3/modules/vfs_aio_fork.c
(Continue reading)

Michael Adam | 3 Mar 14:33 2015
Picon

[PATCH] fix tab space mixup in waf

Hi,

As it was pointed out to me by waf-upstream,
wafadmin uses tabs instead of spaces, and using
spaces might lead to incompatibilies later on
with newer python versions.

Now the recent openbsd fix uses spaces, which is
the one difference with the patch that has gone
upstream.

Attached find an addon-patch that changes the
spaces into tabs, redering us identical to upstream
again in that area.

Review/push appreciated.

Michael
From 692314da4a3f3f9fb0da645f9704763bb7a1278f Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox <at> samba.org>
Date: Tue, 3 Mar 2015 13:33:10 +0100
Subject: [PATCH] build:wafadmin: fix use of spaces instead of tabs.

Signed-off-by: Michael Adam <obnox <at> samba.org>
---
 buildtools/wafadmin/Tools/ccroot.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(Continue reading)

Volker Lendecke | 3 Mar 08:49 2015
Picon

[PATCH] Fix the O3 developer build

Hi!

Review&push appreciated!

Thanks,

Volker

-- 
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:kontakt <at> sernet.de
From 8843dfde6381723068a4d0e759acb87b22c34f05 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl <at> samba.org>
Date: Tue, 3 Mar 2015 08:48:00 +0100
Subject: [PATCH] Fix the O3 developer build

Different gcc versions complain at different places

Signed-off-by: Volker Lendecke <vl <at> samba.org>
---
 auth/credentials/credentials_secrets.c |  6 ++++--
 lib/ldb/ldb_map/ldb_map_outbound.c     |  2 +-
 source3/lib/ctdbd_conn.c               |  6 +++---
 source3/lib/netapi/file.c              |  2 +-
 source3/lib/netapi/share.c             |  2 +-
 source3/passdb/pdb_ipa.c               |  2 +-
(Continue reading)

Jeremy Allison | 3 Mar 01:46 2015
Picon

[jra <at> samba.org: [PATCH] Fix tevent: Ignore unexpected signal events for ports backend.]

Miss-spelled samba-technical. Doh ! :-).
----- Forwarded message from Jeremy Allison <jra <at> samba.org> -----

Date: Mon, 2 Mar 2015 16:45:20 -0800
From: Jeremy Allison <jra <at> samba.org>
To: ddiss <at> suse.de, samba-technica <at> lists.samba.org
Cc: jra <at> samba.org
Subject: [PATCH] Fix tevent: Ignore unexpected signal events for ports backend.
User-Agent: Mutt/1.5.21 (2010-09-15)

Makes us do things the same way the Linux epoll
backend does.

David, please review !

Thanks,

	Jeremy.

From 025b657ed65e6752ce61b148bfa487d7351054a6 Mon Sep 17 00:00:00 2001
From: Jeremy Allison <jra <at> samba.org>
Date: Mon, 2 Mar 2015 16:17:54 -0800
Subject: [PATCH] lib: tevent: Ignore unexpected signal events in the same way
 the epoll backend does.

https://bugzilla.samba.org/show_bug.cgi?id=11118

Signed-off-by: Jeremy Allison <jra <at> samba.org>
---
 lib/tevent/tevent_port.c | 12 +++++++++---
(Continue reading)

Karolin Seeger | 2 Mar 21:29 2015
Picon

Calling all Samba Users: 2015 User Survey

What Samba features do you care about most? Do you have problems or
ideas to tell the Samba Team? Which parts of the documentation are
most important to you?

The Samba Team invites all users to participate in the Samba Survey at

  https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015

The survey takes only 5-10 minutes to complete and runs until the end
of March. We don't of course ask for any personal information, and the
results will be shared with the community in a presentation at the
SambaXP conference in May (www.sambaxp.org - come and join us there!)

This survey will help us improve Samba and its documentation by better
understanding your needs and listening to your suggestions. If you are
a Samba user, no matter how you use Samba from just experimenting
through to production deployment, we are really keen to get your
feedback. And please do encourage other Samba users to fill it in as well.

Thanks in advance to all survey participants.

Stefan (metze) Metzmacher | 2 Mar 17:29 2015
Picon

Re: Why our autobuilds fail

Hi,

> Oh my goodness, we still use SYSV shared memory somewhere ? !!!!
> 
> Thought we'd removed that many years ago :-).
> 
>> Metze, can we get
>> https://git.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=25ee2483ce3d887d53f72086
>> on the car pool lane? :-)

Here're it is...

I plan to push this tomorrow, if there're no objections.

metze
From 166d671137d9a1a5495115cee2e5f9ffc8fa9f04 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze <at> samba.org>
Date: Fri, 28 Nov 2014 09:33:13 +0100
Subject: [PATCH 1/7] s3:smbprofile: specify SMBPROFILE_STATS_SECTION_START()
 with name vs. display[name]

Signed-off-by: Stefan Metzmacher <metze <at> samba.org>
Reviewed-by: Volker Lendecke <vl <at> samba.org>
Reviewed-by: Ralph Boehme <slow <at> samba.org>
---
 source3/include/smbprofile.h   | 20 ++++++++++----------
 source3/utils/status_profile.c |  4 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)
(Continue reading)

Raj Kumar Sanpui | 2 Mar 16:34 2015
Picon

Hangs !!! Accessing fuse filesystem in Windows through Samba

We are accessing a fuse filesystem in Windows through Samba.

There are 2 category of files in fuse filesystem, local and remote (Data
Center). If the file is in remote, fuse downloads it internally when open(
) syscall is invoked by the filesystem - at which stage open( ) waits or
blocks till the complete file is downloaded - At this stage we see, the
Samba share becomes unresponsive and hangs.

However, if some other user tries the same fuse mount from a Samba share in
different machine it works.

Why does this happen, is it due to the single threaded nature of Samba? Is
there any workaround for this?

wabc wabc | 1 Mar 03:29 2015
Picon

Patch: Implement FSCTL_LMR_REQUEST_RESILIENCY

Is there any new progress on this? I believe there are too many people are
waiting for this feature.

On Thu, Oct 09, 2014 at 02:45:04PM -0700, Richard Sharpe wrote:
>* On Wed, Oct 8, 2014 at 7:29 AM, Richard Sharpe
*>* <realrichardsharpe at gmail.com
<https://lists.samba.org/mailman/listinfo/samba-technical>> wrote:
*>* > Hi folks,
*>* >
*>* > There are indications that HyperV requires the server to implement
*>* > FSCTL_LMR_REQUEST_RESILIENCY, so I have a proposed implementation of
*>* > it.
*>* >
*>* > Attached is a patch for both FSCTL_LMR_REQUEST_RESILIENCY and a small
*>* > torture test for it (doesn't do much as yet.)
*>* >
*>* > Eventually, we will also have to deal with the GUID-tagged blob that
*>* > is an Extra Info (Extra Create Parameter) that was in the CREATE
*>* > request that precedes the FSCTL as well, I imagine.
*> >* While we are arguing about all the abstruse technical details, the
*>* people I did this work for have reported that this change, along with
*>* one other thing, seems to be enough to have HyperV create a Virtual
*>* Disk on a Samba server, start the VM and install Windows.
*
That's *perfect* ! There are a lot of people who
have been waiting for this, so I'm really happy
you helped get this working !

Of course the "abstruse technical details" are the
bits that are going to make Samba -> Samba HyperV
(Continue reading)

Yan, Zheng | 26 Feb 07:44 2015
Picon

[PATCH 1/2] vfs_ceph: fix ntimes_fn callback

Add null timespec check for atime/mtime, also add code that stores
create_time by EA.

Signed-off-by: Yan, Zheng <zyan <at> redhat.com>
---
 source3/modules/vfs_ceph.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c
index 0967428..8c56764 100644
--- a/source3/modules/vfs_ceph.c
+++ b/source3/modules/vfs_ceph.c
 <at>  <at>  -753,8 +753,24  <at>  <at>  static int cephwrap_ntimes(struct vfs_handle_struct *handle,
 {
 	struct utimbuf buf;
 	int result;
-	buf.actime = ft->atime.tv_sec;
-	buf.modtime = ft->mtime.tv_sec;
+
+	if (null_timespec(ft->atime))
+		buf.actime = smb_fname->st.st_ex_atime.tv_sec;
+	else
+		buf.actime = ft->atime.tv_sec;
+
+	if (null_timespec(ft->mtime))
+		buf.modtime = smb_fname->st.st_ex_mtime.tv_sec;
+	else
+		buf.modtime = ft->mtime.tv_sec;
+
+	if (!null_timespec(ft->create_time))
(Continue reading)

Yan, Zheng | 26 Feb 07:41 2015
Picon

[PATCH 1/2] vfs_ceph: fix ntimes_fn callback

Add null timespec check for atime/mtime, also add code that stores
create_time by EA.

Signed-off-by: Yan, Zheng <zyan <at> redhat.com>
---
 source3/modules/vfs_ceph.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c
index 0967428..8c56764 100644
--- a/source3/modules/vfs_ceph.c
+++ b/source3/modules/vfs_ceph.c
 <at>  <at>  -753,8 +753,24  <at>  <at>  static int cephwrap_ntimes(struct vfs_handle_struct *handle,
 {
 	struct utimbuf buf;
 	int result;
-	buf.actime = ft->atime.tv_sec;
-	buf.modtime = ft->mtime.tv_sec;
+
+	if (null_timespec(ft->atime))
+		buf.actime = smb_fname->st.st_ex_atime.tv_sec;
+	else
+		buf.actime = ft->atime.tv_sec;
+
+	if (null_timespec(ft->mtime))
+		buf.modtime = smb_fname->st.st_ex_mtime.tv_sec;
+	else
+		buf.modtime = ft->mtime.tv_sec;
+
+	if (!null_timespec(ft->create_time))
(Continue reading)


Gmane