Matthew Bloch
2006-Mar-17 19:41 UTC
[Samba] Mounting Samba share from Windows Mobile 5.0 platform
Hi there, I've just started fiddling with a new Windows Mobile 5 device (HTC Universal / XDA Exec / Qtek 9000) and am trying to get it to mount a samba share. I first tried this to my OS X machine, then tried to an Ubuntu server. I don't know the protocol but when I tell it mount \\80.68.83.61\mattbee (should be my home directory on my laptop) the device (80.68.83.60) does this, broadcasting something to the whole LAN: 18:56:54.530486 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:56:54.531968 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:56:54.781702 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:56:54.782974 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:56:55.036890 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:56:55.038320 IP 80.68.83.60.netbios-ns > 80.68.83.63.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST then reports "The network path was not found". As far as I know there's no options for me to tweak at the client end. My samba version reports itself as "3.0.14a-Ubuntu". I've attached the exact tcpdump output (very short) and my smb.conf (also short, with comments taken out). In my ignorance I've tried adding a few lines to the top of the otherwise-default Ubuntu configuration that I thought might affect nmbd's response to these broadcasts, but nothing seems to have got Samba to respond. There's also nothing appearing in either the smbd or nmbd logs in response to these requests. I'm not really sure what the client might be asking for; does anyone know how to proceed from here? Sorry I've not got a Windows machine against which to demonstrate a working mount attempt (but could have a go with qemu at the weekend if necessary!) Thanks in advance for any advice. -- Matthew Bloch -------------- next part -------------- [global] log level = 99 domain master = yes preferred master = yes remote announce = 80.68.83.63/MATT wins proxy = yes workgroup = MSHOME server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . socket options = TCP_NODELAY [homes] comment = Home Directories browseable = no writable = no create mask = 0700 directory mask = 0700 [printers] comment = All Printers browseable = no path = /tmp printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no