Files showing in smbclient but not smbmount
Posted
by Staale
on Server Fault
See other posts from Server Fault
or by Staale
Published on 2009-06-12T14:10:46Z
Indexed on
2010/05/11
13:25 UTC
Read the original article
Hit count: 217
I have a samba folder that I try and access through smbclient, and I can browse it just fine. However, mounting it through smbmount, all the folders under the share are empty. I can list the folders directly under the share fine, but they all appear empty.
smbclient:
# smbclient //server/share -U username -W workgroup password
smbmount
# sudo smbmount //server/share mntpoint -o user=username,workgroup=workgroup,password=password
I have also tried with domain=workgroup instead of workgroup, both give the same result. No error messages, everything mounts fine, but all the folders under mntpoint are empty, despite the same folders being non-empty when using smbclient.
Are these using different libraries? How can I debug the error?
Additionally, if I try to mount //server/share/folder, doing an ls results in a segmentation fault. Using dmesg I find:
kernel BUG at /build/buildd/linux-2.6.28/fs/cifs/cifs_dfs_ref.c:315!
Full trace: http://pastebin.com/m70adc213
Using a credentials file, I first get empty dirs, then Resource temporarily unavailable. In my dmesg I see the following output:
CIFS VFS: compose_mount_options: Failed to resolve server part of \\srv\share to IP: -11
© Server Fault or respective owner