Thank you very much. Using netbios name can remove error message,
If not add password option, that is ok. But I need to write it to a script , so I must add password option. The blocking problem still be there.
I add debug option such as below
$mount -t smbfs //hostname/share /mnt/x -o uname=foo,password=foo,debug=4
The debug message is :
mount.smbfs started (version 2.2.7a)
added interface ip=10.190.7.38 bcast=10.190.255.255 nmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name itc-94006<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_hosts: Attempting host lookup for name itc-94006<0x20>
Connecting to 10.190.5.29 at port 139
1906: session request ok
1906: session setup ok
1906: tconx ok
Then it not return , blocking there. Why?
I try it on RH7.3 , there are no this problem.
|