samba and network appliance boxes

Urban Widmark urban at svenskatest.se
Tue Nov 21 22:08:19 GMT 2000


On Tue, 21 Nov 2000, Peter Moody wrote:

> I was wondering if anyone might have any information on why
> directory listsings on a network appliance box would fail.

Why is everyone using NetApp's now ... ? :)
It should be possible to get this to work.

> netapp release  number: 5.3.6R2
> samba Version: 2.0.7-3
> arch: i386
> my os: debian/gnu linux (2.2)

2.2.what?

Try upgrading to 2.2.18-pre22 (unless 2.2.18 is out)
(see http://www.hojdpunkten.ac.se/054/samba/pre-patches.html
 - corrections/improvements welcome)

And possibly also the patch below, comment says it all. Then let me (the
list) know if this improves anything.

/Urban


diff -ur linux-2.2.18-pre22/fs/smbfs/inode.c linux/fs/smbfs/inode.c
--- linux-2.2.18-pre22/fs/smbfs/inode.c	Mon Nov 20 16:32:06 2000
+++ linux/fs/smbfs/inode.c	Mon Nov 20 16:33:34 2000
@@ -401,6 +401,9 @@
 	mnt->dir_mode  |= S_IFDIR;
 	sb->u.smbfs_sb.mnt = mnt;
 
+	/* NetApp seems happier with the win95 workarounds in place */
+	mnt->flags |= SMB_MOUNT_WIN95;
+
 	smb_setcodepage(&sb->u.smbfs_sb, &mnt->codepage);
 	if (!sb->u.smbfs_sb.convert)
 		PARANOIA("convert funcptr was NULL!\n");





More information about the samba mailing list