PDA

View Full Version : Hangups on smbmount


bilange
12th May 2004, 06:44 PM
Hi, its me again.

This time i have troubles with samba shares. I have another box running (Linux 2.4.20-28.9, ClarkConnect 2.2) acting as a server, and its hosting shares for the network. I can access shares from Windows 98 and Windows XP without problems. But with FC Test3, the troubles start.

(Just in case, im aware of an old RH9 bug reguarding samba hangups here (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90036), but i doubt my case match that bug)

First I checked if i could access them via smbclient, and i can access them, no problems.

If i try to smbmount them, the directory where I mounted it just hangs. I say the directory because I cant 'ls' into that dir anymore, and also using tab-completion (sp?) in a terminal for that directory hangs.

Now I tried some ways to mount them:

- setup a line in /etc/fstab with 'user' option, then did 'mount ./directory' as a non-root user.

- same as above, the mounted while root

- mount -t smbfs \\ipaddress\share /path/to/wanted/dir, as root

In all of these cases the mount WILL be ok (returns to the prompt without errors) but anything trying to access the directory will freeze.

Possibles causes:

- I used an ip address, as Im more familiar with IPs than netbios names. I thought it would be more 'compatible' as i have TCP/IP configured and working on all the computers.
- the mounted directory is inside a users /home folder. I dont need/want to make the share available for other users, anyway im the only user on this workstation.

Versions, informations:
Workstation:
FC Test 3
smbclient/smbmount version 3.0.3-5
Linux 2.6.5-1.358 (made my own kernel)
gcc version 3.3.3 20040412 (does it matter?)

Server sharing:
ClarkConnect 2.2
Linux 2.4.20-28.9
gcc 3.2.2 20030222
smbd Version 2.2.7a-security-rollup-fix

There you go. Do I need to upgrade my server to version 3 or something? (Like: is smbclient 3 not backward compatible with server version 2?)

Thanks.

JonL
18th May 2004, 05:53 PM
I also experienced problems mounting Samba shares in core 2 test 3 - I downloaded RPMs for samba 3.03 and the problems went away.

bilange
18th May 2004, 05:55 PM

Yup, I upgraded both client and servers and problems went away. I think the problem was Fedora's smbclient.