[linux-cifs-client] Can only mount using server IP !?
Steven Scholz
steven.scholz at imc-berlin.de
Fri May 5 13:40:58 GMT 2006
Hi all,
from an embedded system (arm9) I can mount Windows shares using
mount -t cifs //10.0.2.10/test /tmp/cifs -o user=guest
(note that I don't use mount.cifs)
But why does
mount -t cifs //scholz/test /tmp/cifs -o user=guest
not work? Neither does
mount -t cifs //steven/test /tmp/cifs -o user=guest .
I just get "CIFS VFS: cifs_mount failed w/return code = -22"
"scholz" is the vaild TCP name. The embedded system can resolve this name
since "ping scholz" and "nslookup" work. "steven" is the NETBIOS name use by
the Windows server.
I am using linux 2.6.14 with cifs-1.42b on the ARM9 system.
Funny enough on my SuSE Linux 10.0 system I get
~ # mount -t cifs //scholz/test /mnt -o user=gast,guest
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
~ # mount -t cifs //steven/test /mnt -o user=gast,guest
mount error: could not find target server. TCP name steven/test not found
No ip address specified and hostname not found
SuSE 10.0 is using "CIFS Version 1.35" on Linux 2.6.13-15.8-smp.
Am I missing something?
How can I use server names instead of IPs?
Thanks a million!
--
Steven
More information about the linux-cifs-client
mailing list