Jeff Layton | 4 Feb 2010 16:07
Picon
Favicon

Re: Problems opening existing files over SMB to Windows servers since 2.6.30 or so

On Tue, 02 Feb 2010 13:13:33 -0500
Dale Blount <samba-lists <at> dale.us> wrote:

> Hi List,
> 
> I'm having some issues opening files from a linux client to a Windows
> server since 2.6.30 or so, could have possibly been earlier.   I've
> tried 2 different clients, both running Arch Linux and I can repeat the
> results using Windows 2003, Windows 2008 R2, and Windows 7 as the
> server.
> 
> I can create new files just fine, but editing existing files with
> nedit/gedit fails.  Editing existing files with vim/nano works as it
> should.
> 
> nedit gives "Error opening filename".
> 
> gedit will open the file but gives "Could not find the file filename"
> when trying to save.  You can then press cancel and then reload and the
> change was actually saved.
> 
> My fstab line for the mount:
> //172.21.21.254/Users/sambatest     /mnt/sambatest            cifs
> noauto,username=sambatest,uid=dale,forceuid=dale   0 0
> 
> Attached is a pcap of the session between these 2 hosts and the debug
> added to dmesg by running echo 7 > /proc/fs/cifs/cifsFYI.
> 
> Here is what I believe the same bug at nedit: 
> https://sourceforge.net/tracker/index.php?func=detail&aid=2904949&group_id=11005&atid=211005
(Continue reading)

Dale Blount | 4 Feb 2010 16:15
Picon

Re: Problems opening existing files over SMB to Windows servers since 2.6.30 or so

> > Anyone have a hint as to what's going on?
> > 
> > 
> 
> Is this problem affected at all if you mount with "-o noserverino" ?

Yes, actually.  It works like it used to when mounting with noserverino!

Thanks,

Dale
Jeff Layton | 4 Feb 2010 17:12
Picon
Favicon

Re: Problems opening existing files over SMB to Windows servers since 2.6.30 or so

On Thu, 04 Feb 2010 10:15:14 -0500
Dale Blount <samba-lists <at> dale.us> wrote:

> > > Anyone have a hint as to what's going on?
> > > 
> > > 
> > 
> > Is this problem affected at all if you mount with "-o noserverino" ?
> 
> 
> Yes, actually.  It works like it used to when mounting with noserverino!
> 
> 
> Thanks,
> 
> Dale
> 

Ok, probably related to this bug, which I'm in the process of tracking
down:

http://bugzilla.kernel.org/show_bug.cgi?id=15088

...you might want to add yourself to the cc list.

--

-- 
Jeff Layton <jlayton <at> samba.org>

Gmane