[Samba] win/linux connect problem

m. michal017 at centrum.sk
Wed Aug 28 08:01:01 GMT 2002


ok.. I looked at the log.smbd when I access my pc using hostname and
using IP address and see how they differ..

when accessing my samba using hostname form w2k workstation, the log
contained this:

[2002/08/28 18:52:23, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,78)
[2002/08/28 18:52:23, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,78) wrote 78
[2002/08/28 18:52:33, 10] lib/util_sock.c:read_data(430)
  read_data: read of 4 returned 0. Error = Success
[2002/08/28 18:52:33, 10] lib/util_sock.c:receive_smb(609)
  receive_smb: length < 0!
[2002/08/28 18:52:33, 3] smbd/process.c:timeout_processing(1102)
  end of file from client
[2002/08/28 18:52:33, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/08/28 18:52:33, 5] smbd/uid.c:change_to_root_user(216)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/08/28 18:52:33, 2] smbd/server.c:exit_server(461)
  Closing connections


accessing using ip:
[2002/08/28 18:52:38, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,85)
[2002/08/28 18:52:38, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,85) wrote 85
[2002/08/28 18:52:38, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 91
[2002/08/28 18:52:38, 6] smbd/process.c:process_smb(876)
  got message type 0x0 of len 0x5b
[2002/08/28 18:52:38, 3] smbd/process.c:process_smb(877)
  Transaction 3 of length 95




On Wed, 28 Aug 2002 12:22:15 -0400 (EDT)
Keith Mastin <kmastin at beechtree.ca> wrote:

> >For security = share the problem was root's TMPDIR set to /root/tmp..
> >unsetting this variable had my samba workin in security = share but
> >the problem with accessing my samba from win workstation using
> >hostname persists.. (acess by IP works..)
> 
> Please wrap your lines at <80 columns.
> 
> hosts allow = 192.168.0.0/24 127.0.0.1 sometimes causes this.
> hosts allow = 192.168.0. 127. sometimes fixes it.
> 
> -- 
> Keith Mastin       BeechTree Information Technology Services Inc.
> 137 Laird Drive    Toronto    M4G 3V5     http://www.beechtree.ca
>   (416)696-6070      Fax(416)696-6072      kmastin at beechtree.ca
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 



More information about the samba mailing list