[Samba] Transport End Point

Jason Gray jgray at bardel.ca
Thu May 27 19:03:21 GMT 2004


I have four samba servers connecting into a samba PDC (using ldapsam as
password backend) and all of the servers get the "transport end point not
connected" error.  I've looked in the groups but cannot find anything that
helps.  I've tried to set my oplocks=no and other similar settings but
nothing seems to help.  The only thing that seems to limit excessive
sleeping smbd processes is the "dead time = 1" option.  I set this at a low
value and it seems to have reduced the number of smbd process.

I have 120 workstations that connect to the four servers and approx. 60
servers in a renderfarm that make connections every few minutes as each
frame is rendered and the next one is started.  So I get this transport end
point error a lot.  I'm concerned that this error might be slowing down the
network with excessive re-connect requests.  Any thoughts?

Cheers...Jason

Here's a sample of my log.smbd log:

  Doing spnego session setup
[2004/05/27 11:37:56, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(549)
  NativeOS=[Windows 2002 2600 Service Pack 1] NativeLanMan=[Windows 2002
5.1] PrimaryDomain=[]
[2004/05/27 11:37:56, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(616)
  Got user=[cphillips] domain=[BARDELCA] workstation=[FIREICE3] len1=24
len2=24
[2004/05/27 11:37:56, 3] libsmb/namequery_dc.c:rpc_dc_name(143)
  rpc_dc_name: Returning DC DC1BARDEL (192.168.2.17) for domain BARDELCA
[2004/05/27 11:37:56, 3] libsmb/cliconnect.c:cli_start_connection(1337)
  Connecting to host=DC1BARDEL
[2004/05/27 11:37:56, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 192.168.2.17 at port 445
  getpeername failed. Error was Transport endpoint is not connected
<----------  ACKKKK!!!
[2004/05/27 11:37:56, 2] lib/smbldap.c:smbldap_search_domain_info(1324)
  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=BD5))]
[2004/05/27 11:37:56, 2] lib/smbldap.c:smbldap_open_connection(626)
  smbldap_open_connection: connection opened
[2004/05/27 11:37:56, 3] lib/smbldap.c:smbldap_connect_system(793)
  ldap_connect_system: succesful connection to the LDAP server
[2004/05/27 11:37:56, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/05/27 11:37:56, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
  Linux kernel oplocks enabled
[2004/05/27 11:37:56, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 8878, global_oplock_port = 57142
[2004/05/27 11:37:56, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/05/27 11:37:56, 2] smbd/reply.c:reply_special(105)
  netbios connect: name1=BD5             name2=FIREICE3
[2004/05/27 11:37:56, 2] smbd/reply.c:reply_special(112)
  netbios connect: local=bd5 remote=fireice3, name type = 0
[2004/05/27 11:37:56, 0] lib/util_sock.c:get_peer_addr(952)
  getpeername failed. Error was Transport endpoint is not connected
[2004/05/27 11:37:56, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181)
  lsa_io_sec_qos: length c does not match size 8
[2004/05/27 11:37:56, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user
[BARDELCA]\[cphillips]@[FIREICE3] with the new password interface
[2004/05/27 11:37:56, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [BARDELCA]\[cphillips]@[FIREICE3]
[2004/05/27 11:37:56, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/05/27 11:37:56, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
  Linux kernel oplocks enabled
[2004/05/27 11:37:56, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 8878, global_oplock_port = 57142
[2004/05/27 11:37:56, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/05/27 11:37:56, 2] smbd/reply.c:reply_special(105)
  netbios connect: name1=BD5             name2=FIREICE3
[2004/05/27 11:37:56, 2] smbd/reply.c:reply_special(112)
  netbios connect: local=bd5 remote=fireice3, name type = 0
[2004/05/27 11:37:56, 0] lib/util_sock.c:get_peer_addr(952)
  getpeername failed. Error was Transport endpoint is not connected <------
ACKKK Again !!!
[2004/05/27 11:37:56, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181)
  lsa_io_sec_qos: length c does not match size 8
[2004/05/27 11:37:56, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user
[BARDELCA]\[cphillips]@[FIREICE3] with the new password interface
[2004/05/27 11:37:56, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [BARDELCA]\[cphillips]@[FIREICE3]
[2004/05/27 11:37:56, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/05/27 11:37:56, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/05/27 11:37:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/05/27 11:37:56, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/05/27 11:37:56, 0] lib/util_sock.c:write_socket_data(388) <---- And
Again !!!
  write_socket_data: write failure. Error = Connection reset by peer
[2004/05/27 11:37:56, 0] lib/util_sock.c:write_socket(413)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset
by peer
[2004/05/27 11:37:56, 0] lib/util_sock.c:send_smb(605)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/05/27 11:37:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/05/27 11:37:56, 2] smbd/server.c:exit_server(558)
  Closing connections



More information about the samba mailing list