[Samba] Don't get access from Windows Mobile 2003 to Samba 3.0.2a

Isenhardt, Torsten TI at topsystem.de
Mon Mar 8 12:24:47 GMT 2004


Hi!

I tried accessing a Samba server 3.0.2a from a PDA (Dell Axim X5) with
Windows Mobile 2003. In the menu "Open" I typed "\\stormbringer" and and got
this error message:

Cannot find the file '\\' (or
one of its components).
Make sure the path and file
name are correct and all
required libraries are
available.

Further I tried accessing the same Samba server from a PDA with Pocket PC
2002, it worked!

Any ideas why I can't access the samba server from Windows Mobile 2003?

This is my smb.conf:

[global]
   workgroup         = TOPSYSTEM
   guest account     = nobody
   keep alive        = 30
   os level          = 50
   kernel oplocks    = false
   security          = domain
   domain master     = no
   domain logons     = no
   password server   = edison.topsystem.de, einstein.topsystem.de
   username map      = /etc/smbusers
   socket options    = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
SO_RCVBUF=16384
   lanman auth       = no

   map to guest = Bad User

; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
;  local master = no   

; Please uncomment the following entry and replace the 
; ip number and netmask with the correct numbers for
; your ethernet interface.
interfaces = 172.26.1.39/255.255.0.0
   
   wins support = no

[Freigabe]
   path = /Freigabe
   browsable = yes
   read only = no

-----------------------------------------------

And this is the Logfile:

[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/03/08 12:22:49, 10] lib/util_sock.c:open_socket_in(675)
  bind succeeded on port 0
[2004/03/08 12:22:49, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 434, global_oplock_port = 1025
[2004/03/08 12:22:49, 4] lib/time.c:get_serverzone(122)
  Serverzone is -3600
[2004/03/08 12:22:49, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 68
[2004/03/08 12:22:49, 6] smbd/process.c:process_smb(889)
  got message type 0x81 of len 0x44
[2004/03/08 12:22:49, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/03/08 12:22:49, 2] smbd/reply.c:reply_special(105)
  netbios connect: name1=STORMBRINGER    name2=_CERDRF3322F16 
[2004/03/08 12:22:49, 2] smbd/reply.c:reply_special(112)
  netbios connect: local=stormbringer remote=_cerdrf3322f16, name type = 0
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 5] smbd/connection.c:claim_connection(170)
  claiming  0
[2004/03/08 12:22:49, 5] smbd/reply.c:reply_special(154)
  init msg_type=0x81 msg_flags=0x0
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(407)
  write_socket(17,4)
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(410)
  write_socket(17,4) wrote 4
[2004/03/08 12:22:49, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 47
[2004/03/08 12:22:49, 6] smbd/process.c:process_smb(889)
  got message type 0x0 of len 0x2f
[2004/03/08 12:22:49, 3] smbd/process.c:process_smb(890)
  Transaction 1 of length 51
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(456)
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(466)
  size=47
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=34817
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=3249
  smt_wct=0
  smb_bcc=12
[2004/03/08 12:22:49, 10] lib/util.c:dump_data(1830)
  [000] 02 4E 54 20 4C 4D 20 30  2E 31 32 00              .NT LM 0 .12.
[2004/03/08 12:22:49, 3] smbd/process.c:switch_message(685)
  switch message SMBnegprot (pid 434)
[2004/03/08 12:22:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/03/08 12:22:49, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [NT LM 0.12]
[2004/03/08 12:22:49, 10] lib/util.c:set_remote_arch(1805)
  set_remote_arch: Client arch is 'UNKNOWN'
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_nt1(329)
  using SPNEGO
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_negprot(532)
  Selected protocol NT LM 0.12
[2004/03/08 12:22:49, 5] smbd/negprot.c:reply_negprot(538)
  negprot index=0
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(456)
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(466)
  size=127
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=3249
  smt_wct=17
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=12803 (0x3203)
  smb_vwv[ 2]=  256 (0x100)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  256 (0x100)
  smb_vwv[ 7]=45568 (0xB200)
  smb_vwv[ 8]=    1 (0x1)
  smb_vwv[ 9]=62720 (0xF500)
  smb_vwv[10]=32771 (0x8003)
  smb_vwv[11]=32896 (0x8080)
  smb_vwv[12]= 3210 (0xC8A)
  smb_vwv[13]=65456 (0xFFB0)
  smb_vwv[14]=50180 (0xC404)
  smb_vwv[15]=50177 (0xC401)
  smb_vwv[16]=15103 (0x3AFF)
  smb_bcc=58
[2004/03/08 12:22:49, 10] lib/util.c:dump_data(1830)
  [000] 73 74 6F 72 6D 62 72 69  6E 67 65 72 00 00 00 00  stormbri nger....
  [010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... .. .0. .
  [020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7...£.
  [030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0. ...NO NE
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(407)
  write_socket(17,131)
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(410)
  write_socket(17,131) wrote 131
[2004/03/08 12:22:49, 10] lib/util_sock.c:read_socket_data(336)
  read_socket_data: recv of 4 returned 0. Error = Success
[2004/03/08 12:22:49, 10] lib/util_sock.c:receive_smb_raw(514)
  receive_smb_raw: length < 0!
[2004/03/08 12:22:49, 3] smbd/process.c:timeout_processing(1104)
  timeout_processing: End of file from client (client has disconnected).
[2004/03/08 12:22:49, 5] lib/gencache.c:gencache_shutdown(88)
  Closing cache file
[2004/03/08 12:22:49, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2004/03/08 12:22:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/03/08 12:22:49, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/03/08 12:22:49, 2] smbd/server.c:exit_server(558)
  Closing connections
[2004/03/08 12:22:49, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2004/03/08 12:22:49, 5] smbd/oplock.c:receive_local_message(107)
  receive_local_message: doing select with timeout of 1 ms
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/03/08 12:22:49, 10] lib/util_sock.c:open_socket_in(675)
  bind succeeded on port 0
[2004/03/08 12:22:49, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 435, global_oplock_port = 1026
[2004/03/08 12:22:49, 4] lib/time.c:get_serverzone(122)
  Serverzone is -3600
[2004/03/08 12:22:49, 3] smbd/server.c:exit_server(601)
  Server exit (normal exit)
[2004/03/08 12:22:49, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 68
[2004/03/08 12:22:49, 6] smbd/process.c:process_smb(889)
  got message type 0x81 of len 0x44
[2004/03/08 12:22:49, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/03/08 12:22:49, 2] smbd/reply.c:reply_special(105)
  netbios connect: name1=STORMBRINGER    name2=_CERDRF3322F16 
[2004/03/08 12:22:49, 2] smbd/reply.c:reply_special(112)
  netbios connect: local=stormbringer remote=_cerdrf3322f16, name type = 0
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 5] smbd/connection.c:claim_connection(170)
  claiming  0
[2004/03/08 12:22:49, 5] smbd/reply.c:reply_special(154)
  init msg_type=0x81 msg_flags=0x0
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(407)
  write_socket(17,4)
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(410)
  write_socket(17,4) wrote 4
[2004/03/08 12:22:49, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 47
[2004/03/08 12:22:49, 6] smbd/process.c:process_smb(889)
  got message type 0x0 of len 0x2f
[2004/03/08 12:22:49, 3] smbd/process.c:process_smb(890)
  Transaction 1 of length 51
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(456)
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(466)
  size=47
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=34817
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=3257
  smt_wct=0
  smb_bcc=12
[2004/03/08 12:22:49, 10] lib/util.c:dump_data(1830)
  [000] 02 4E 54 20 4C 4D 20 30  2E 31 32 00              .NT LM 0 .12.
[2004/03/08 12:22:49, 3] smbd/process.c:switch_message(685)
  switch message SMBnegprot (pid 435)
[2004/03/08 12:22:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/03/08 12:22:49, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [NT LM 0.12]
[2004/03/08 12:22:49, 10] lib/util.c:set_remote_arch(1805)
  set_remote_arch: Client arch is 'UNKNOWN'
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 6] param/loadparm.c:lp_file_list_changed(2653)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Mon Mar  8 12:01:34 2004
  
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_nt1(329)
  using SPNEGO
[2004/03/08 12:22:49, 3] smbd/negprot.c:reply_negprot(532)
  Selected protocol NT LM 0.12
[2004/03/08 12:22:49, 5] smbd/negprot.c:reply_negprot(538)
  negprot index=0
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(456)
[2004/03/08 12:22:49, 5] lib/util.c:show_msg(466)
  size=127
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=3257
  smt_wct=17
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=12803 (0x3203)
  smb_vwv[ 2]=  256 (0x100)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  256 (0x100)
  smb_vwv[ 7]=45824 (0xB300)
  smb_vwv[ 8]=    1 (0x1)
  smb_vwv[ 9]=62720 (0xF500)
  smb_vwv[10]=32771 (0x8003)
  smb_vwv[11]=32896 (0x8080)
  smb_vwv[12]= 3210 (0xC8A)
  smb_vwv[13]=65456 (0xFFB0)
  smb_vwv[14]=50180 (0xC404)
  smb_vwv[15]=50177 (0xC401)
  smb_vwv[16]=15103 (0x3AFF)
  smb_bcc=58
[2004/03/08 12:22:49, 10] lib/util.c:dump_data(1830)
  [000] 73 74 6F 72 6D 62 72 69  6E 67 65 72 00 00 00 00  stormbri nger....
  [010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... .. .0. .
  [020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7...£.
  [030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0. ...NO NE
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(407)
  write_socket(17,131)
[2004/03/08 12:22:49, 6] lib/util_sock.c:write_socket(410)
  write_socket(17,131) wrote 131
[2004/03/08 12:22:49, 10] lib/util_sock.c:read_socket_data(336)
  read_socket_data: recv of 4 returned 0. Error = Success
[2004/03/08 12:22:49, 10] lib/util_sock.c:receive_smb_raw(514)
  receive_smb_raw: length < 0!
[2004/03/08 12:22:49, 3] smbd/process.c:timeout_processing(1104)
  timeout_processing: End of file from client (client has disconnected).
[2004/03/08 12:22:49, 5] lib/gencache.c:gencache_shutdown(88)
  Closing cache file
[2004/03/08 12:22:49, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2004/03/08 12:22:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/03/08 12:22:49, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/03/08 12:22:49, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/03/08 12:22:49, 2] smbd/server.c:exit_server(558)
  Closing connections
[2004/03/08 12:22:49, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2004/03/08 12:22:49, 5] smbd/oplock.c:receive_local_message(107)
  receive_local_message: doing select with timeout of 1 ms
[2004/03/08 12:22:49, 3] smbd/server.c:exit_server(601)
  Server exit (normal exit)

Best regards,

Torsten Isenhardt

topsystem Systemhaus GmbH
Adenauerstr. 20
EUROPARK A2
Tel.: +49 2405 4670-24
Fax.: +49 2405 4670-10
MailTo:ti at topsystem.de
http://www.topsystem.de 


More information about the samba mailing list