[Samba] facing issue when trying to connect

haresh_el haresh_el at pactroninc.com
Thu Jul 28 10:55:35 MDT 2011


Hi,

 

 

I compiled samba 3.5.9 for ARM platform.

 

 

It is up and running with the below smb.conf file.

 

 

[ global ]

 

interfaces = eth0

 

unix charset = UTF8

 

smb passwd file = /etc/passwd

 

workgroup =

 

netbios name =

 

server string = Openrd Samba Server

 

hosts allow = 10.0.30.

 

hosts deny =

 

encrypt passwords = no

 

security = share

 

max log size = 0

 

create mask = 0777

 

directory mask  = 0777

 

force create mode = 0777

 

force directory mode = 0777

 

use sendfile =yes

 

wins support = yes

 

guest account= root

 

smb ports = 139 445

 

 

 

[share]

 

path=/home/openrd/nfs/rootfs

 

read only = no

 

public = yes

 

writeable = yes

 

force group = root

 

guest ok = yes

 

 

 

When I tried to connect samba server with windows 7 machine. It is not
getting connected and I could see error message in the log file as follows.

 

 

[2000/01/01 07:42:37.783885,  0]

lib/util_sock.c:1441(get_peer_addr_internal)

 

  getpeername failed. Error was Transport endpoint is not connected

 

  read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by
peer.

 

[2000/01/01 07:42:37.784085,  3] smbd/sec_ctx.c:310(set_sec_ctx)

 

  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

 

[2000/01/01 07:42:37.784249,  3] smbd/connection.c:31(yield_connection)

 

  Yielding connection to

 

[2000/01/01 07:42:37.799735,  3] smbd/server.c:923(exit_server_common)

 

  Server exit (failed to receive smb request)

 

 

Please give me some pointers on this to resolve.

 

 

Thanks,

 

Haresh E.L.

 

 

 

 

 

*** This electronic message is the property of Pactron HJPC Corp. and is
intended to be viewed only by the named individual or entity to whom it is
addressed. This communication may contain privileged, confidential, or
proprietary information that is exempt from disclosure under applicable law.
Any dissemination, distribution, forwarding, retention or copying of this
communication is strictly prohibited without prior permission. ***

 



*** This electronic message is the property of Pactron HJPC Corp. and is intended to be viewed only by the named individual or entity to whom it is addressed. This communication may contain privileged, confidential, or proprietary information that is exempt from disclosure under applicable law. Any dissemination, distribution, forwarding, retention or copying of this communication is strictly prohibited without prior permission. ***


More information about the samba mailing list