[rhn-users] Samba Problem - Accessing Mounted Windows 2003 Shares

Bull, Brad bbull at hanleywood.com
Tue Nov 8 20:37:57 UTC 2005


I'm having trouble accessing smbfs mounts from a Windows 2003 server.
The shares seem to mount but I'm getting permissions and an odd Stale
NFS file handle error when I try to list or access them. I'm running
RHEL 3 release 6 with samba 3.0.9-1.3E.5

mount -t smbfs -o username=user,password=password
//windowsserver/web_backup /mnt/web_backup

[root at linuxserver /]# mount -l
//windowsserver/web_test on /mnt/web_backup type smbfs (0)

[root at linuxserver /]# ls -la /mnt/web_backup
ls: /mnt/web_backup: Permission denied

[root at linuxserver /]# cd /mnt
[root at linuxserver mnt]# ls -la
ls: web_backup: Permission denied

[root at linuxserver /]# cd /mnt/web_backup
[root at linuxserver web_backup]# ls
ls: .: Stale NFS file handle

I'm getting some hints in /var/log/messages

Nov  8 15:33:41 linuxserver kernel: smb_trans2_request: result=-104,
setting invalid
Nov  8 15:33:41 linuxserver mount.smbfs[2080]: [2005/11/08 15:33:41, 0]
tdb/tdbutil.c:tdb_log(725)
Nov  8 15:33:41 linuxserver mount.smbfs[2080]:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 75 ltype=0
(Bad file descriptor)
Nov  8 15:33:41 linuxserver mount.smbfs[2080]: [2005/11/08 15:33:41, 0]
tdb/tdbutil.c:tdb_log(725)
Nov  8 15:33:41 linuxserver mount.smbfs[2080]:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 75 ltype=1
(Bad file descriptor)
Nov  8 15:33:46 linuxserver mount.smbfs[2080]: [2005/11/08 15:33:46, 0]
tdb/tdbutil.c:tdb_log(725)
Nov  8 15:33:46 linuxserver mount.smbfs[2080]:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 75 ltype=1
(Bad file descriptor)
Nov  8 15:33:46 linuxserver kernel: smb_retry: successful, new pid=2080,
generation=2

Any ideas? Much appreciated

Braddock Bull 
Senior Web Developer 
Systems Engineer 
Hanley Wood Magazines 
bbull at hanleywood.com 

186 Allen Brook Lane 
Williston, VT 05495 
Phone 802.879.3335 Ext 142 
Fax 802.879.9384 

www.hanleywood.com 

GPG: 1024D/59419775 
24A6 AF19 5036 0EF6 3E6C B7A5 80AA FC95 5941 9775
 




More information about the rhn-users mailing list