NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mount_smbfs and ls : invalid argument

On Thu, Feb 16, 2012 at 04:28:53PM +0100, wrote:
> Hello,
> This is on a 5.0.2 kernel. I'm trying to access a SHARE on a NAS, using
> smbclient(1) from the samba pkg works, but if I can mount the share with
> mount_smbfs, and even cd(1) (if I know the hierarchy), ls(1), du(1),
> find(1) answer: "invalid argument".
> I've found messages dating back from 2009, with patches proposed, IIRC,
> by Nicolas Joly fixing this very thing.
> I "think" (I have not access to the computer right now) that the
> userland has been updated from a previous 5.0.x upgrade (the kernel is
> slightly newer).

I fixed it in -current with the following commit, but never requested
a pullup for 5 at that time. Will do ...

Module Name:    src
Committed By:   njoly
Date:           Fri Jul  3 18:35:34 UTC 2009
Modified Files: 
        src/sys/fs/smbfs: smbfs_vnops.c
Log Message: 
Directory open with NT_SMBS capability require the NOPEN bit to be set 
To generate a diff of this commit: 
cvs rdiff -u -r1.69 -r1.70 src/sys/fs/smbfs/smbfs_vnops.c

Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index