Skip to contentSkip to conversation

smbfs mount failures

DISCUSSION VDA 1 participant 1 message Aug 15, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

VDA

author
#1 lore raw

JS> What is the actual string you are using to mount?

smbmount //nt/e /mnt -o username=admin,password=secret smbmount //nt/e /mnt -o username=admin,password=secret,ip=N.N.N.N

fails as described below.
Note! smbclient WORKS with these machine/username/pass!
I conclude it is a smbfs or smbmount problem, not a badly/unusually configured NT or network problem. Also note that log messages are spewed by smbfs kernel code.

Tried to mount to locally running Samba:

smbmount //linuxbox/in /mnt -o username=guest,password=

Works fine.

How I can help to investigate this problem?
Please CC me. I'm not on the list.

Quoted 20 lines · VDA
Quoted 20 lines

I'm having trouble mounting SMB shares residing on a WinNT machine. smbclient works fine, but after mounting the same share with the same username,passwd etc with smbmount and trying to enter newly mounted dir I see repeating msgs in the logs:

...
smb_catch_keepalive: already done [<- this is KERN_ERR!]
smb_retry: successful, new pid=PID, generation=N [PID is the same, N grows (N++)] smb_dont_catch_keepalive: server->data_ready == NULL
smb_trans2_request: result=-22, setting invalid
smb_close_socket: still catching keepalives!
smb_catch_keepalive: already done
smb_retry: successful, new pid=PID, generation=N+1
...

Since smbclient is working I presume it is a kernel smbfs bug or some version mismatch between kernel and smbmount.

smbmount: 2.2.0a
kernel: 2.4.5