Re: [Samba] Error was Transport endpoint is not connected

2010-10-21 Thread Moray Henderson
Inactivity timeout either on the NAS or somewhere else on the network?  If the 
network connectivity is interrupted, that would break the backup and give a 
genuine transport endpoint error.  

Does changing the time of the job make any difference?


Moray.
To err is human.  To purr, feline


Gaiseric Vandal wrote:
The following may help explain the error:

http://wiki.samba.org/index.php/Samba_Myths


So if you copy the file it is OK, but if the backup job runs an
integrity check first it fails?  What is involved in the integrity
check?  Is it somehow opening a connection to the server before starting
the integrity check?


On 10/19/2010 03:05 AM, robert.gehr wrote:
 I tried it with smb ports 139 to no avail. Same problem.
 The backup job takes that long because the windows box first runs an
 integrity check. If I just copy the file manually it takes a couple of
 minutes. As already mentioned the other samba server 3.4.7 works without
 any problems.

 What does that error message actually mean? Does it mean a network error
 has occurred, the server has run into a timeout, the server can no
 longer resolve the name of the client or what?

 Ideas are welcome.

 Rob

 On Fri, 2010-10-15 at 14:57 +0200, Gaiseric Vandal wrote:

 Did you try changing smb.conf on the NAS to be port 139 only?

 Also, it seems that 55 GB should not take one hour to copy (55 GBytes
is
 440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld
take
 about minutes-  at least in theory.)

 I am guessing it is dropping because it tries to reestablish a
 connection part way through the transfer.





 On 10/15/2010 07:12 AM, robert.gehr wrote:

 Nice try. The backup fails exactly the moment the message appears in
the
 log. So I would say it is something to worry about.

 Has really no one any ideas why this all of a sudden comes up.

 Thanks for any hints

 Rob


 On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:


 This message only says: I established to one of the ports 139 or 445
 and dropped the other.
 It is nothing to trouble about.

 ---
 EDV Daniel Mller

 Leitung EDV
 Tropenklinik Paul-Lechler-Krankenhaus
 Paul-Lechler-Str. 24
 72076 Tbingen

 Tel.: 07071/206-463, Fax: 07071/206-499
 eMail: muel...@tropenklinik.de
 Internet: www.tropenklinik.de
 ---

 -Ursprngliche Nachricht-
 Von: samba-boun...@lists.samba.org [mailto:samba-
boun...@lists.samba.org] Im
 Auftrag von Gaiseric Vandal
 Gesendet: Montag, 11. Oktober 2010 16:48
 An: samba@lists.samba.org
 Betreff: Re: [Samba] Error was Transport endpoint is not connected

 By default samba listens on two TCP ports-  445 and 139.  You can
 specify this in smb.conf

smb ports = 445 139


 445 is the newer smb  over tcp.139 is the older smb over netbios
 over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
 not sure why samba enables 445 by default since as far as I know it
does
 not support smb-over-tcp (without the NBT/netbios over tcp stuff.)
If
 you  set smb ports = 139 in your smb.conf you should see endpoint
 messages disappear.

 I think what happens is Win 2000 (and newer)  clients will initially
try
 to connect on port 445, find it isn't really compatible, and then
dump
 down to NBT on port 139.

 So your NAS may be occasionally connecting on port 139 without
problems
 and occasionally connecting on port 445, and which point it fails.

 OR-  the endpoint errors may be completely unrelated, but you just
 don't look for when when the NAS is working.


 Is the NAS part of the domain?  Is it a windows or linux/samba based
device?

 My samba server is a PDC.  XP clients in the domain connect with no
 problems regardless of  if smb ports is 139 only or 139 + 445.
XP/Win7
 clients NOT in the domain can't connect to shares if 445 is disabled,
 which indicates they are connecting to 445 1st.



 On 10/11/2010 08:57 AM, robert.gehr wrote:


 Hello All

 I used to back up a Mssql database (about 55GB) to a samba share
without
 any problems. The samba server Server-A was running version 3.4.7
 We just got one of those Netgear ReadyNas3200 things and I tried
to
 backup up to a share there which sometimes works and sometimes not
in
 wich case I get the following error:

 snip---

 [2010/10/08 21:32:26.937834,  0]
 lib/util_sock.c:474(read_fd_with_timeout)
 [2010/10/08 21:32:26.966404,  0]
 lib/util_sock.c:1432(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.

 ---snap-

 The samba version on the ReadyNas is 3.5.4

 On the windows side nothing has changed apart form the destination
to
 the new share. The ReadyNas performs pretty well and I do not get
any
 network errors or otherwise. To rule out some network problem I
exported
 a nfs share on the ReadyNas which I

Re: [Samba] Error was Transport endpoint is not connected

2010-10-20 Thread Daniel Müller
Why are you shure samba is the point of failure. This could also be your
backup or windows xp!??
http://www.petri.co.il/whats_port_445_in_w2k_xp_2003.htm

On Tue, 19 Oct 2010 09:39:42 -0400, Gaiseric Vandal
gaiseric.van...@gmail.com wrote:
 The following may help explain the error:
 
 http://wiki.samba.org/index.php/Samba_Myths
 
 
 
 
 So if you copy the file it is OK, but if the backup job runs an 
 integrity check first it fails?  What is involved in the integrity 
 check?  Is it somehow opening a connection to the server before starting

 the integrity check?
 
 
 On 10/19/2010 03:05 AM, robert.gehr wrote:
 I tried it with smb ports 139 to no avail. Same problem.
 The backup job takes that long because the windows box first runs an
 integrity check. If I just copy the file manually it takes a couple of
 minutes. As already mentioned the other samba server 3.4.7 works
without
 any problems.

 What does that error message actually mean? Does it mean a network
error
 has occurred, the server has run into a timeout, the server can no
 longer resolve the name of the client or what?

 Ideas are welcome.

 Rob

 On Fri, 2010-10-15 at 14:57 +0200, Gaiseric Vandal wrote:

 Did you try changing smb.conf on the NAS to be port 139 only?

 Also, it seems that 55 GB should not take one hour to copy (55 GBytes
is
 440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld
take
 about minutes-  at least in theory.)

 I am guessing it is dropping because it tries to reestablish a
 connection part way through the transfer.





 On 10/15/2010 07:12 AM, robert.gehr wrote:
  
 Nice try. The backup fails exactly the moment the message appears in
 the
 log. So I would say it is something to worry about.

 Has really no one any ideas why this all of a sudden comes up.

 Thanks for any hints

 Rob


 On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:


 This message only says: I established to one of the ports 139 or 445
 and dropped the other.
 It is nothing to trouble about.

 ---
 EDV Daniel Mller

 Leitung EDV
 Tropenklinik Paul-Lechler-Krankenhaus
 Paul-Lechler-Str. 24
 72076 Tbingen

 Tel.: 07071/206-463, Fax: 07071/206-499
 eMail: muel...@tropenklinik.de
 Internet: www.tropenklinik.de
 ---

 -Ursprngliche Nachricht-
 Von: samba-boun...@lists.samba.org
 [mailto:samba-boun...@lists.samba.org] Im
 Auftrag von Gaiseric Vandal
 Gesendet: Montag, 11. Oktober 2010 16:48
 An: samba@lists.samba.org
 Betreff: Re: [Samba] Error was Transport endpoint is not connected

 By default samba listens on two TCP ports-  445 and 139.  You can
 specify this in smb.conf

smb ports = 445 139


 445 is the newer smb  over tcp.139 is the older smb over netbios
 over tcp/ip.   445 was for Windows 2000 and newer clients..  I
am
 not sure why samba enables 445 by default since as far as I know it
 does
 not support smb-over-tcp (without the NBT/netbios over tcp stuff.)  

 If
 you  set smb ports = 139 in your smb.conf you should see endpoint
 messages disappear.

 I think what happens is Win 2000 (and newer)  clients will initially
 try
 to connect on port 445, find it isn't really compatible, and then
 dump
 down to NBT on port 139.

 So your NAS may be occasionally connecting on port 139 without
 problems
 and occasionally connecting on port 445, and which point it fails.

 OR-  the endpoint errors may be completely unrelated, but you just
 don't look for when when the NAS is working.


 Is the NAS part of the domain?  Is it a windows or linux/samba based
 device?

 My samba server is a PDC.  XP clients in the domain connect with no
 problems regardless of  if smb ports is 139 only or 139 + 445.  
 XP/Win7
 clients NOT in the domain can't connect to shares if 445 is
disabled,
 which indicates they are connecting to 445 1st.



 On 10/11/2010 08:57 AM, robert.gehr wrote:

  
 Hello All

 I used to back up a Mssql database (about 55GB) to a samba share
 without
 any problems. The samba server Server-A was running version 3.4.7
 We just got one of those Netgear ReadyNas3200 things and I tried
to
 backup up to a share there which sometimes works and sometimes not
in
 wich case I get the following error:

 snip---

 [2010/10/08 21:32:26.937834,  0]
 lib/util_sock.c:474(read_fd_with_timeout)
 [2010/10/08 21:32:26.966404,  0]
 lib/util_sock.c:1432(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.

 ---snap-

 The samba version on the ReadyNas is 3.5.4

 On the windows side nothing has changed apart form the destination
to
 the new share. The ReadyNas performs pretty well and I do not get
any
 network errors or otherwise. To rule out some network problem I
 exported
 a nfs share on the ReadyNas which I

Re: [Samba] Error was Transport endpoint is not connected

2010-10-20 Thread robert . gehr
Just read the mentioned article but I think this does not describe my
problem. The error described there is more like a warning message to me.
Moreover even if I define smb ports 139 the message still appears
which it should not according to the article. Also, as mentioned, the
backup fails. Here again the entries from the logfile.


[2010/10/18 22:06:14.464881,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/18 22:06:14.499439,  0]
lib/util_sock.c:1432(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.

Copying the file manually from windows works. Took the windows Box 14
minutes. 

Thing is that it sometimes works and sometimes not. Using the other
(older version) samba server it always works. I pretty much rule out any
hardware issues NIC, etc. because the ReadyNAS also exports NFS shares
and rsync's a good deal of data every night without any trouble at all.


Best regards
Rob



On Tue, 2010-10-19 at 15:39 +0200, Gaiseric Vandal wrote: 
 The following may help explain the error:
 
 http://wiki.samba.org/index.php/Samba_Myths
 
 
 
 
 So if you copy the file it is OK, but if the backup job runs an 
 integrity check first it fails?  What is involved in the integrity 
 check?  Is it somehow opening a connection to the server before starting 
 the integrity check?
 
 
 On 10/19/2010 03:05 AM, robert.gehr wrote:
  I tried it with smb ports 139 to no avail. Same problem.
  The backup job takes that long because the windows box first runs an
  integrity check. If I just copy the file manually it takes a couple of
  minutes. As already mentioned the other samba server 3.4.7 works without
  any problems.
 
  What does that error message actually mean? Does it mean a network error
  has occurred, the server has run into a timeout, the server can no
  longer resolve the name of the client or what?
 
  Ideas are welcome.
 
  Rob
 
  On Fri, 2010-10-15 at 14:57 +0200, Gaiseric Vandal wrote:
 
  Did you try changing smb.conf on the NAS to be port 139 only?
 
  Also, it seems that 55 GB should not take one hour to copy (55 GBytes is
  440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld take
  about minutes-  at least in theory.)
 
  I am guessing it is dropping because it tries to reestablish a
  connection part way through the transfer.
 
 
 
 
 
  On 10/15/2010 07:12 AM, robert.gehr wrote:
   
  Nice try. The backup fails exactly the moment the message appears in the
  log. So I would say it is something to worry about.
 
  Has really no one any ideas why this all of a sudden comes up.
 
  Thanks for any hints
 
  Rob
 
 
  On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:
 
 
  This message only says: I established to one of the ports 139 or 445
  and dropped the other.
  It is nothing to trouble about.
 
  ---
  EDV Daniel Mller
 
  Leitung EDV
  Tropenklinik Paul-Lechler-Krankenhaus
  Paul-Lechler-Str. 24
  72076 Tbingen
 
  Tel.: 07071/206-463, Fax: 07071/206-499
  eMail: muel...@tropenklinik.de
  Internet: www.tropenklinik.de
  ---
 
  -Ursprngliche Nachricht-
  Von: samba-boun...@lists.samba.org 
  [mailto:samba-boun...@lists.samba.org] Im
  Auftrag von Gaiseric Vandal
  Gesendet: Montag, 11. Oktober 2010 16:48
  An: samba@lists.samba.org
  Betreff: Re: [Samba] Error was Transport endpoint is not connected
 
  By default samba listens on two TCP ports-  445 and 139.  You can
  specify this in smb.conf
 
 smb ports = 445 139
 
 
  445 is the newer smb  over tcp.139 is the older smb over netbios
  over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
  not sure why samba enables 445 by default since as far as I know it does
  not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If
  you  set smb ports = 139 in your smb.conf you should see endpoint
  messages disappear.
 
  I think what happens is Win 2000 (and newer)  clients will initially try
  to connect on port 445, find it isn't really compatible, and then dump
  down to NBT on port 139.
 
  So your NAS may be occasionally connecting on port 139 without problems
  and occasionally connecting on port 445, and which point it fails.
 
  OR-  the endpoint errors may be completely unrelated, but you just
  don't look for when when the NAS is working.
 
 
  Is the NAS part of the domain?  Is it a windows or linux/samba based 
  device?
 
  My samba server is a PDC.  XP clients in the domain connect with no
  problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7
  clients NOT in the domain can't connect to shares if 445 is disabled,
  which indicates they are connecting to 445 1st.
 
 
 
  On 10/11/2010 08:57 AM, robert.gehr wrote:
 
   
  Hello All
 
  I used to back up a Mssql database (about 55GB) to a samba share without
  any

Re: [Samba] Error was Transport endpoint is not connected

2010-10-19 Thread robert . gehr
I tried it with smb ports 139 to no avail. Same problem.
The backup job takes that long because the windows box first runs an
integrity check. If I just copy the file manually it takes a couple of
minutes. As already mentioned the other samba server 3.4.7 works without
any problems.

What does that error message actually mean? Does it mean a network error
has occurred, the server has run into a timeout, the server can no
longer resolve the name of the client or what?

Ideas are welcome.

Rob

On Fri, 2010-10-15 at 14:57 +0200, Gaiseric Vandal wrote:
 Did you try changing smb.conf on the NAS to be port 139 only?
 
 Also, it seems that 55 GB should not take one hour to copy (55 GBytes is 
 440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld take 
 about minutes-  at least in theory.)
 
 I am guessing it is dropping because it tries to reestablish a 
 connection part way through the transfer.
 
 
 
 
 
 On 10/15/2010 07:12 AM, robert.gehr wrote:
  Nice try. The backup fails exactly the moment the message appears in the
  log. So I would say it is something to worry about.
 
  Has really no one any ideas why this all of a sudden comes up.
 
  Thanks for any hints
 
  Rob
 
 
  On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:
 
  This message only says: I established to one of the ports 139 or 445
  and dropped the other.
  It is nothing to trouble about.
 
  ---
  EDV Daniel Mller
 
  Leitung EDV
  Tropenklinik Paul-Lechler-Krankenhaus
  Paul-Lechler-Str. 24
  72076 Tbingen
 
  Tel.: 07071/206-463, Fax: 07071/206-499
  eMail: muel...@tropenklinik.de
  Internet: www.tropenklinik.de
  ---
 
  -Ursprngliche Nachricht-
  Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] 
  Im
  Auftrag von Gaiseric Vandal
  Gesendet: Montag, 11. Oktober 2010 16:48
  An: samba@lists.samba.org
  Betreff: Re: [Samba] Error was Transport endpoint is not connected
 
  By default samba listens on two TCP ports-  445 and 139.  You can
  specify this in smb.conf
 
smb ports = 445 139
 
 
  445 is the newer smb  over tcp.139 is the older smb over netbios
  over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
  not sure why samba enables 445 by default since as far as I know it does
  not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If
  you  set smb ports = 139 in your smb.conf you should see endpoint
  messages disappear.
 
  I think what happens is Win 2000 (and newer)  clients will initially try
  to connect on port 445, find it isn't really compatible, and then dump
  down to NBT on port 139.
 
  So your NAS may be occasionally connecting on port 139 without problems
  and occasionally connecting on port 445, and which point it fails.
 
  OR-  the endpoint errors may be completely unrelated, but you just
  don't look for when when the NAS is working.
 
 
  Is the NAS part of the domain?  Is it a windows or linux/samba based 
  device?
 
  My samba server is a PDC.  XP clients in the domain connect with no
  problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7
  clients NOT in the domain can't connect to shares if 445 is disabled,
  which indicates they are connecting to 445 1st.
 
 
 
  On 10/11/2010 08:57 AM, robert.gehr wrote:
   
  Hello All
 
  I used to back up a Mssql database (about 55GB) to a samba share without
  any problems. The samba server Server-A was running version 3.4.7
  We just got one of those Netgear ReadyNas3200 things and I tried to
  backup up to a share there which sometimes works and sometimes not in
  wich case I get the following error:
 
  snip---
 
  [2010/10/08 21:32:26.937834,  0]
  lib/util_sock.c:474(read_fd_with_timeout)
  [2010/10/08 21:32:26.966404,  0]
  lib/util_sock.c:1432(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.
 
  ---snap-
 
  The samba version on the ReadyNas is 3.5.4
 
  On the windows side nothing has changed apart form the destination to
  the new share. The ReadyNas performs pretty well and I do not get any
  network errors or otherwise. To rule out some network problem I exported
  a nfs share on the ReadyNas which I mounted on Server-A, created a
  share on Server-A that points to the nfs-mount and ran a backup. No
  problems and no errors.
 
  Any ideas which buttons to push in order to get a reliable backup going
  again? From what I read this usually points to a problem on the client
  side but nothing has changed there. I could of course use the
  Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.
 
  Thanks
 
  Rob
 
 
 
   
  --
 

 
 
 
 
 



-- 
To unsubscribe from this list go to the following URL and read the
instructions

Re: [Samba] Error was Transport endpoint is not connected

2010-10-19 Thread Gaiseric Vandal

The following may help explain the error:

http://wiki.samba.org/index.php/Samba_Myths




So if you copy the file it is OK, but if the backup job runs an 
integrity check first it fails?  What is involved in the integrity 
check?  Is it somehow opening a connection to the server before starting 
the integrity check?



On 10/19/2010 03:05 AM, robert.gehr wrote:

I tried it with smb ports 139 to no avail. Same problem.
The backup job takes that long because the windows box first runs an
integrity check. If I just copy the file manually it takes a couple of
minutes. As already mentioned the other samba server 3.4.7 works without
any problems.

What does that error message actually mean? Does it mean a network error
has occurred, the server has run into a timeout, the server can no
longer resolve the name of the client or what?

Ideas are welcome.

Rob

On Fri, 2010-10-15 at 14:57 +0200, Gaiseric Vandal wrote:
   

Did you try changing smb.conf on the NAS to be port 139 only?

Also, it seems that 55 GB should not take one hour to copy (55 GBytes is
440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld take
about minutes-  at least in theory.)

I am guessing it is dropping because it tries to reestablish a
connection part way through the transfer.





On 10/15/2010 07:12 AM, robert.gehr wrote:
 

Nice try. The backup fails exactly the moment the message appears in the
log. So I would say it is something to worry about.

Has really no one any ideas why this all of a sudden comes up.

Thanks for any hints

Rob


On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:

   

This message only says: I established to one of the ports 139 or 445
and dropped the other.
It is nothing to trouble about.

---
EDV Daniel Mller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tbingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Gaiseric Vandal
Gesendet: Montag, 11. Oktober 2010 16:48
An: samba@lists.samba.org
Betreff: Re: [Samba] Error was Transport endpoint is not connected

By default samba listens on two TCP ports-  445 and 139.  You can
specify this in smb.conf

   smb ports = 445 139


445 is the newer smb  over tcp.139 is the older smb over netbios
over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
not sure why samba enables 445 by default since as far as I know it does
not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If
you  set smb ports = 139 in your smb.conf you should see endpoint
messages disappear.

I think what happens is Win 2000 (and newer)  clients will initially try
to connect on port 445, find it isn't really compatible, and then dump
down to NBT on port 139.

So your NAS may be occasionally connecting on port 139 without problems
and occasionally connecting on port 445, and which point it fails.

OR-  the endpoint errors may be completely unrelated, but you just
don't look for when when the NAS is working.


Is the NAS part of the domain?  Is it a windows or linux/samba based device?

My samba server is a PDC.  XP clients in the domain connect with no
problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7
clients NOT in the domain can't connect to shares if 445 is disabled,
which indicates they are connecting to 445 1st.



On 10/11/2010 08:57 AM, robert.gehr wrote:

 

Hello All

I used to back up a Mssql database (about 55GB) to a samba share without
any problems. The samba server Server-A was running version 3.4.7
We just got one of those Netgear ReadyNas3200 things and I tried to
backup up to a share there which sometimes works and sometimes not in
wich case I get the following error:

snip---

[2010/10/08 21:32:26.937834,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/08 21:32:26.966404,  0]
lib/util_sock.c:1432(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.

---snap-

The samba version on the ReadyNas is 3.5.4

On the windows side nothing has changed apart form the destination to
the new share. The ReadyNas performs pretty well and I do not get any
network errors or otherwise. To rule out some network problem I exported
a nfs share on the ReadyNas which I mounted on Server-A, created a
share on Server-A that points to the nfs-mount and ran a backup. No
problems and no errors.

Any ideas which buttons to push in order to get a reliable backup going
again? From what I read this usually points to a problem on the client
side but nothing has changed there. I could of course use the
Server-A:smb-nfs-mount:ReadyNas

Re: [Samba] Error was Transport endpoint is not connected

2010-10-15 Thread robert . gehr
Nice try. The backup fails exactly the moment the message appears in the
log. So I would say it is something to worry about.

Has really no one any ideas why this all of a sudden comes up.

Thanks for any hints

Rob


On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:
 This message only says: I established to one of the ports 139 or 445
 and dropped the other.
 It is nothing to trouble about.
 
 ---
 EDV Daniel Mller
 
 Leitung EDV
 Tropenklinik Paul-Lechler-Krankenhaus
 Paul-Lechler-Str. 24
 72076 Tbingen
 
 Tel.: 07071/206-463, Fax: 07071/206-499
 eMail: muel...@tropenklinik.de
 Internet: www.tropenklinik.de
 ---
 
 -Ursprngliche Nachricht-
 Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
 Auftrag von Gaiseric Vandal
 Gesendet: Montag, 11. Oktober 2010 16:48
 An: samba@lists.samba.org
 Betreff: Re: [Samba] Error was Transport endpoint is not connected
 
 By default samba listens on two TCP ports-  445 and 139.  You can 
 specify this in smb.conf
 
  smb ports = 445 139
 
 
 445 is the newer smb  over tcp.139 is the older smb over netbios 
 over tcp/ip.   445 was for Windows 2000 and newer clients..  I am 
 not sure why samba enables 445 by default since as far as I know it does 
 not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If 
 you  set smb ports = 139 in your smb.conf you should see endpoint 
 messages disappear.
 
 I think what happens is Win 2000 (and newer)  clients will initially try 
 to connect on port 445, find it isn't really compatible, and then dump 
 down to NBT on port 139.
 
 So your NAS may be occasionally connecting on port 139 without problems 
 and occasionally connecting on port 445, and which point it fails.
 
 OR-  the endpoint errors may be completely unrelated, but you just 
 don't look for when when the NAS is working.
 
 
 Is the NAS part of the domain?  Is it a windows or linux/samba based device?
 
 My samba server is a PDC.  XP clients in the domain connect with no 
 problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7 
 clients NOT in the domain can't connect to shares if 445 is disabled, 
 which indicates they are connecting to 445 1st.
 
 
 
 On 10/11/2010 08:57 AM, robert.gehr wrote:
  Hello All
 
  I used to back up a Mssql database (about 55GB) to a samba share without
  any problems. The samba server Server-A was running version 3.4.7
  We just got one of those Netgear ReadyNas3200 things and I tried to
  backup up to a share there which sometimes works and sometimes not in
  wich case I get the following error:
 
  snip---
 
  [2010/10/08 21:32:26.937834,  0]
  lib/util_sock.c:474(read_fd_with_timeout)
  [2010/10/08 21:32:26.966404,  0]
  lib/util_sock.c:1432(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.
 
  ---snap-
 
  The samba version on the ReadyNas is 3.5.4
 
  On the windows side nothing has changed apart form the destination to
  the new share. The ReadyNas performs pretty well and I do not get any
  network errors or otherwise. To rule out some network problem I exported
  a nfs share on the ReadyNas which I mounted on Server-A, created a
  share on Server-A that points to the nfs-mount and ran a backup. No
  problems and no errors.
 
  Any ideas which buttons to push in order to get a reliable backup going
  again? From what I read this usually points to a problem on the client
  side but nothing has changed there. I could of course use the
  Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.
 
  Thanks
 
  Rob
 
 
 

--

Everything should be made as simple as possible, but not simpler.

~ Albert Einstein


-- 
baumann GmbH
Oskar-von-Miller-Str. 7
92224 Amberg - Deutschland / Germany

GF / CEO: Dr. Georg Baumann, Rudi Neumann, Josef Konrad
HR: Amberg HRB 1067 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Error was Transport endpoint is not connected

2010-10-15 Thread Gaiseric Vandal

Did you try changing smb.conf on the NAS to be port 139 only?

Also, it seems that 55 GB should not take one hour to copy (55 GBytes is 
440 Gbit, and at 1 Gbit/sec  and 60 secs / min, the transfer sohuld take 
about minutes-  at least in theory.)


I am guessing it is dropping because it tries to reestablish a 
connection part way through the transfer.






On 10/15/2010 07:12 AM, robert.gehr wrote:

Nice try. The backup fails exactly the moment the message appears in the
log. So I would say it is something to worry about.

Has really no one any ideas why this all of a sudden comes up.

Thanks for any hints

Rob


On Tue, 2010-10-12 at 08:41 +0200, Daniel Müller wrote:
   

This message only says: I established to one of the ports 139 or 445
and dropped the other.
It is nothing to trouble about.

---
EDV Daniel Mller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tbingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Gaiseric Vandal
Gesendet: Montag, 11. Oktober 2010 16:48
An: samba@lists.samba.org
Betreff: Re: [Samba] Error was Transport endpoint is not connected

By default samba listens on two TCP ports-  445 and 139.  You can
specify this in smb.conf

  smb ports = 445 139


445 is the newer smb  over tcp.139 is the older smb over netbios
over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
not sure why samba enables 445 by default since as far as I know it does
not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If
you  set smb ports = 139 in your smb.conf you should see endpoint
messages disappear.

I think what happens is Win 2000 (and newer)  clients will initially try
to connect on port 445, find it isn't really compatible, and then dump
down to NBT on port 139.

So your NAS may be occasionally connecting on port 139 without problems
and occasionally connecting on port 445, and which point it fails.

OR-  the endpoint errors may be completely unrelated, but you just
don't look for when when the NAS is working.


Is the NAS part of the domain?  Is it a windows or linux/samba based device?

My samba server is a PDC.  XP clients in the domain connect with no
problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7
clients NOT in the domain can't connect to shares if 445 is disabled,
which indicates they are connecting to 445 1st.



On 10/11/2010 08:57 AM, robert.gehr wrote:
 

Hello All

I used to back up a Mssql database (about 55GB) to a samba share without
any problems. The samba server Server-A was running version 3.4.7
We just got one of those Netgear ReadyNas3200 things and I tried to
backup up to a share there which sometimes works and sometimes not in
wich case I get the following error:

snip---

[2010/10/08 21:32:26.937834,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/08 21:32:26.966404,  0]
lib/util_sock.c:1432(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.

---snap-

The samba version on the ReadyNas is 3.5.4

On the windows side nothing has changed apart form the destination to
the new share. The ReadyNas performs pretty well and I do not get any
network errors or otherwise. To rule out some network problem I exported
a nfs share on the ReadyNas which I mounted on Server-A, created a
share on Server-A that points to the nfs-mount and ran a backup. No
problems and no errors.

Any ideas which buttons to push in order to get a reliable backup going
again? From what I read this usually points to a problem on the client
side but nothing has changed there. I could of course use the
Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.

Thanks

Rob


   
 

--

Everything should be made as simple as possible, but not simpler.

 ~ Albert Einstein


   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Error was Transport endpoint is not connected

2010-10-12 Thread Daniel Müller
This message only says: I established to one of the ports 139 or 445
and dropped the other.
It is nothing to trouble about.

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Gaiseric Vandal
Gesendet: Montag, 11. Oktober 2010 16:48
An: samba@lists.samba.org
Betreff: Re: [Samba] Error was Transport endpoint is not connected

By default samba listens on two TCP ports-  445 and 139.  You can 
specify this in smb.conf

 smb ports = 445 139


445 is the newer smb  over tcp.139 is the older smb over netbios 
over tcp/ip.   445 was for Windows 2000 and newer clients..  I am 
not sure why samba enables 445 by default since as far as I know it does 
not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If 
you  set smb ports = 139 in your smb.conf you should see endpoint 
messages disappear.

I think what happens is Win 2000 (and newer)  clients will initially try 
to connect on port 445, find it isn't really compatible, and then dump 
down to NBT on port 139.

So your NAS may be occasionally connecting on port 139 without problems 
and occasionally connecting on port 445, and which point it fails.

OR-  the endpoint errors may be completely unrelated, but you just 
don't look for when when the NAS is working.


Is the NAS part of the domain?  Is it a windows or linux/samba based device?

My samba server is a PDC.  XP clients in the domain connect with no 
problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7 
clients NOT in the domain can't connect to shares if 445 is disabled, 
which indicates they are connecting to 445 1st.



On 10/11/2010 08:57 AM, robert.gehr wrote:
 Hello All

 I used to back up a Mssql database (about 55GB) to a samba share without
 any problems. The samba server Server-A was running version 3.4.7
 We just got one of those Netgear ReadyNas3200 things and I tried to
 backup up to a share there which sometimes works and sometimes not in
 wich case I get the following error:

 snip---

 [2010/10/08 21:32:26.937834,  0]
 lib/util_sock.c:474(read_fd_with_timeout)
 [2010/10/08 21:32:26.966404,  0]
 lib/util_sock.c:1432(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.

 ---snap-

 The samba version on the ReadyNas is 3.5.4

 On the windows side nothing has changed apart form the destination to
 the new share. The ReadyNas performs pretty well and I do not get any
 network errors or otherwise. To rule out some network problem I exported
 a nfs share on the ReadyNas which I mounted on Server-A, created a
 share on Server-A that points to the nfs-mount and ran a backup. No
 problems and no errors.

 Any ideas which buttons to push in order to get a reliable backup going
 again? From what I read this usually points to a problem on the client
 side but nothing has changed there. I could of course use the
 Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.

 Thanks

 Rob



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Error was Transport endpoint is not connected

2010-10-12 Thread robert . gehr
I don't think this is my problem. Samba on the ReadyNas works all right,
it is fast, I can mount shares etc. No worries at all.
Only if I copy that huge file which takes abaut an hour (depending on
the network load) or so the error pops up and the backup fails.

The ReadNas is a Debian based Linux. The windows machine a Server 2008
R2 system. As already mentioned backing up to the old samba server
never caused any troubles. Both the old samba server and the ReadyNas
have the default smb ports = 445 139 settings.
Both machines run as member servers of an AD Domain. 

Thanks again for any hints.

Rob

On Mon, 2010-10-11 at 16:47 +0200, Gaiseric Vandal wrote:
 By default samba listens on two TCP ports-  445 and 139.  You can 
 specify this in smb.conf
 
  smb ports = 445 139
 
 
 445 is the newer smb  over tcp.139 is the older smb over netbios 
 over tcp/ip.   445 was for Windows 2000 and newer clients..  I am 
 not sure why samba enables 445 by default since as far as I know it does 
 not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If 
 you  set smb ports = 139 in your smb.conf you should see endpoint 
 messages disappear.
 
 I think what happens is Win 2000 (and newer)  clients will initially try 
 to connect on port 445, find it isn't really compatible, and then dump 
 down to NBT on port 139.
 
 So your NAS may be occasionally connecting on port 139 without problems 
 and occasionally connecting on port 445, and which point it fails.
 
 OR-  the endpoint errors may be completely unrelated, but you just 
 don't look for when when the NAS is working.
 
 
 Is the NAS part of the domain?  Is it a windows or linux/samba based device?
 
 My samba server is a PDC.  XP clients in the domain connect with no 
 problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7 
 clients NOT in the domain can't connect to shares if 445 is disabled, 
 which indicates they are connecting to 445 1st.
 
 
 
 On 10/11/2010 08:57 AM, robert.gehr wrote:
  Hello All
 
  I used to back up a Mssql database (about 55GB) to a samba share without
  any problems. The samba server Server-A was running version 3.4.7
  We just got one of those Netgear ReadyNas3200 things and I tried to
  backup up to a share there which sometimes works and sometimes not in
  wich case I get the following error:
 
  snip---
 
  [2010/10/08 21:32:26.937834,  0]
  lib/util_sock.c:474(read_fd_with_timeout)
  [2010/10/08 21:32:26.966404,  0]
  lib/util_sock.c:1432(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.
 
  ---snap-
 
  The samba version on the ReadyNas is 3.5.4
 
  On the windows side nothing has changed apart form the destination to
  the new share. The ReadyNas performs pretty well and I do not get any
  network errors or otherwise. To rule out some network problem I exported
  a nfs share on the ReadyNas which I mounted on Server-A, created a
  share on Server-A that points to the nfs-mount and ran a backup. No
  problems and no errors.
 
  Any ideas which buttons to push in order to get a reliable backup going
  again? From what I read this usually points to a problem on the client
  side but nothing has changed there. I could of course use the
  Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.
 
  Thanks
 
  Rob
 
 
 
 

--

Everything should be made as simple as possible, but not simpler.

~ Albert Einstein


-- 
baumann GmbH
Oskar-von-Miller-Str. 7
92224 Amberg - Deutschland / Germany

GF / CEO: Dr. Georg Baumann, Rudi Neumann, Josef Konrad
HR: Amberg HRB 1067 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Error was Transport endpoint is not connected

2010-10-12 Thread Gaiseric Vandal
Is the Windows SQL server a domain controller or member server - I don't 
imagine it matters since this really does not seem to be an 
authentication problem (unless some cache has timed out-  which still 
should not affect users how have already authenticated.)  I am wondering 
there is some reauthentication that happens after 1 hour.


On the NAS device, there should be logs for each machine that has 
connected-  does that show anything?


When you backup the sql database, are you stopping sql and just copying 
the file ?  Are you using Windows backup?  Is this a scheduled or manual 
job?


Are both machines on gigabit ethernet?  Do you see any windows messages 
about loosing connection with the domain server  (which can indicate an 
issue with autonegotiating ethernet speed or duplexing.)


Have you tried copying the 55 GB file from a XP machine to the NAS?

The other option may be to use scp or rsync to copy the file (if you 
have cygwin installed on your windows server.)



If my math is correct

55 GBytes = 440 Gbits

At a 1 Gbit/sec that should be 440 seconds or 7.33 minutes.



On 10/12/2010 03:45 AM, robert.gehr wrote:

I don't think this is my problem. Samba on the ReadyNas works all right,
it is fast, I can mount shares etc. No worries at all.
Only if I copy that huge file which takes abaut an hour (depending on
the network load) or so the error pops up and the backup fails.

The ReadNas is a Debian based Linux. The windows machine a Server 2008
R2 system. As already mentioned backing up to the old samba server
never caused any troubles. Both the old samba server and the ReadyNas
have the default smb ports = 445 139 settings.
Both machines run as member servers of an AD Domain.

Thanks again for any hints.

Rob

On Mon, 2010-10-11 at 16:47 +0200, Gaiseric Vandal wrote:
   

By default samba listens on two TCP ports-  445 and 139.  You can
specify this in smb.conf

  smb ports = 445 139


445 is the newer smb  over tcp.139 is the older smb over netbios
over tcp/ip.   445 was for Windows 2000 and newer clients..  I am
not sure why samba enables 445 by default since as far as I know it does
not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If
you  set smb ports = 139 in your smb.conf you should see endpoint
messages disappear.

I think what happens is Win 2000 (and newer)  clients will initially try
to connect on port 445, find it isn't really compatible, and then dump
down to NBT on port 139.

So your NAS may be occasionally connecting on port 139 without problems
and occasionally connecting on port 445, and which point it fails.

OR-  the endpoint errors may be completely unrelated, but you just
don't look for when when the NAS is working.


Is the NAS part of the domain?  Is it a windows or linux/samba based device?

My samba server is a PDC.  XP clients in the domain connect with no
problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7
clients NOT in the domain can't connect to shares if 445 is disabled,
which indicates they are connecting to 445 1st.



On 10/11/2010 08:57 AM, robert.gehr wrote:
 

Hello All

I used to back up a Mssql database (about 55GB) to a samba share without
any problems. The samba server Server-A was running version 3.4.7
We just got one of those Netgear ReadyNas3200 things and I tried to
backup up to a share there which sometimes works and sometimes not in
wich case I get the following error:

snip---

[2010/10/08 21:32:26.937834,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/08 21:32:26.966404,  0]
lib/util_sock.c:1432(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.

---snap-

The samba version on the ReadyNas is 3.5.4

On the windows side nothing has changed apart form the destination to
the new share. The ReadyNas performs pretty well and I do not get any
network errors or otherwise. To rule out some network problem I exported
a nfs share on the ReadyNas which I mounted on Server-A, created a
share on Server-A that points to the nfs-mount and ran a backup. No
problems and no errors.

Any ideas which buttons to push in order to get a reliable backup going
again? From what I read this usually points to a problem on the client
side but nothing has changed there. I could of course use the
Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.

Thanks

Rob


   


 

--

Everything should be made as simple as possible, but not simpler.

 ~ Albert Einstein


   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Error was Transport endpoint is not connected

2010-10-11 Thread robert . gehr
Hello All

I used to back up a Mssql database (about 55GB) to a samba share without
any problems. The samba server Server-A was running version 3.4.7
We just got one of those Netgear ReadyNas3200 things and I tried to
backup up to a share there which sometimes works and sometimes not in
wich case I get the following error:

snip---

[2010/10/08 21:32:26.937834,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/08 21:32:26.966404,  0]
lib/util_sock.c:1432(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.

---snap-

The samba version on the ReadyNas is 3.5.4

On the windows side nothing has changed apart form the destination to
the new share. The ReadyNas performs pretty well and I do not get any
network errors or otherwise. To rule out some network problem I exported
a nfs share on the ReadyNas which I mounted on Server-A, created a
share on Server-A that points to the nfs-mount and ran a backup. No
problems and no errors.

Any ideas which buttons to push in order to get a reliable backup going
again? From what I read this usually points to a problem on the client
side but nothing has changed there. I could of course use the
Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.

Thanks

Rob

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Error was Transport endpoint is not connected

2010-10-11 Thread Gaiseric Vandal
By default samba listens on two TCP ports-  445 and 139.  You can 
specify this in smb.conf


smb ports = 445 139


445 is the newer smb  over tcp.139 is the older smb over netbios 
over tcp/ip.   445 was for Windows 2000 and newer clients..  I am 
not sure why samba enables 445 by default since as far as I know it does 
not support smb-over-tcp (without the NBT/netbios over tcp stuff.)If 
you  set smb ports = 139 in your smb.conf you should see endpoint 
messages disappear.


I think what happens is Win 2000 (and newer)  clients will initially try 
to connect on port 445, find it isn't really compatible, and then dump 
down to NBT on port 139.


So your NAS may be occasionally connecting on port 139 without problems 
and occasionally connecting on port 445, and which point it fails.


OR-  the endpoint errors may be completely unrelated, but you just 
don't look for when when the NAS is working.



Is the NAS part of the domain?  Is it a windows or linux/samba based device?

My samba server is a PDC.  XP clients in the domain connect with no 
problems regardless of  if smb ports is 139 only or 139 + 445.   XP/Win7 
clients NOT in the domain can't connect to shares if 445 is disabled, 
which indicates they are connecting to 445 1st.




On 10/11/2010 08:57 AM, robert.gehr wrote:

Hello All

I used to back up a Mssql database (about 55GB) to a samba share without
any problems. The samba server Server-A was running version 3.4.7
We just got one of those Netgear ReadyNas3200 things and I tried to
backup up to a share there which sometimes works and sometimes not in
wich case I get the following error:

snip---

[2010/10/08 21:32:26.937834,  0]
lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/08 21:32:26.966404,  0]
lib/util_sock.c:1432(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.

---snap-

The samba version on the ReadyNas is 3.5.4

On the windows side nothing has changed apart form the destination to
the new share. The ReadyNas performs pretty well and I do not get any
network errors or otherwise. To rule out some network problem I exported
a nfs share on the ReadyNas which I mounted on Server-A, created a
share on Server-A that points to the nfs-mount and ran a backup. No
problems and no errors.

Any ideas which buttons to push in order to get a reliable backup going
again? From what I read this usually points to a problem on the client
side but nothing has changed there. I could of course use the
Server-A:smb-nfs-mount:ReadyNas solution but this is not what I want.

Thanks

Rob

   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Error was Transport endpoint is not connected

2005-04-12 Thread Meli Marco
Ok, seems to work with W2k client, but I have to change to default values
again because my DOS client was disconnected with error 53, probably they
use 139 port.
Marco.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Error was Transport endpoint is not connected

2005-04-07 Thread Meli Marco


Hi,
I running samba 3.0.13 on RH9, and share a folder in a mix network
workstations (W2k, DOS, Win98SE, NT4) and I have set following smb.conf
file:

 netbios name = NETBIOSNAME
os level = 16
wins server = 10.90.17.80
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
workgroup = DOMAIN
realm = DOMAIN.COM
security = ADS
password server = kdcsrv.sinter.gkn.com
encrypt passwords = yes
#   null passwords = yes
#   auth methods = guest sam_ignoredomain winbind:ntdomain
allow trusted domains = Yes
winbind use default domain = Yes
winbind separator = /
winbind enum users = Yes
winbind enum groups = yes
idmap uid = 1-10
idmap gid = 1-10
hide unreadable = Yes
template homedir = /data/user/%U
template shell = /bin/false
use sendfile = No
printer admin = ***
admin users = ***
log file = /var/log/samba/log.%m
log level = 1 auth:5 sam:5
max log size = 50
printing = cups
printcap name = cups
load printers = Yes
map acl inherit = Yes
nt acl support = Yes

Yesterday some local users doesn't login on the samba share, if I get in the
window property panel I have noticed that these users was replaced by others
(maybe id mapping problem) so I decided to relocate them on Windows 2003,
delete them by the smbpasswd file and /etc/smbpasswd, run tdbbackup tool and
disable auth methods option (no more local users authentication).
Today everithing seems works fine but I have stranges messages by winbind
and smbd log file again:

Tail -f /var/log/samba/log.winbindd:
[2005/04/06 10:29:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'MILSALHP2200D_1' does not exist -
this is a printer!
[2005/04/06 10:33:01, 1] nsswitch/winbindd_sid.c:winbindd_gid_to_sid(474)
  Could not convert gid 24329 to sid

Tail -f /var/log/samba/log.smbd:
[2005/04/06 08:33:57, 0] lib/util_sock.c:get_peer_addr(1150)
  getpeername failed. Error was Transport endpoint is not connected
[2005/04/06 08:58:21, 0] lib/util_sock.c:get_peer_addr(1150)
  getpeername failed. Error was Transport endpoint is not connected

How can I fix it?
Thanks.
Marco.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Error was Transport endpoint is not connected

2005-04-07 Thread Dimitri Yioulos
On Thursday 07 April 2005 07:49 am, Meli Marco wrote:
 Hi,
 I running samba 3.0.13 on RH9, and share a folder in a mix network
 workstations (W2k, DOS, Win98SE, NT4) and I have set following smb.conf
 file:

  netbios name = NETBIOSNAME
 os level = 16
 wins server = 10.90.17.80
 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
 workgroup = DOMAIN
 realm = DOMAIN.COM
 security = ADS
 password server = kdcsrv.sinter.gkn.com
 encrypt passwords = yes
 #   null passwords = yes
 #   auth methods = guest sam_ignoredomain winbind:ntdomain
 allow trusted domains = Yes
 winbind use default domain = Yes
 winbind separator = /
 winbind enum users = Yes
 winbind enum groups = yes
 idmap uid = 1-10
 idmap gid = 1-10
 hide unreadable = Yes
 template homedir = /data/user/%U
 template shell = /bin/false
 use sendfile = No
 printer admin = ***
 admin users = ***
 log file = /var/log/samba/log.%m
 log level = 1 auth:5 sam:5
 max log size = 50
 printing = cups
 printcap name = cups
 load printers = Yes
 map acl inherit = Yes
 nt acl support = Yes

 Yesterday some local users doesn't login on the samba share, if I get in
 the window property panel I have noticed that these users was replaced by
 others (maybe id mapping problem) so I decided to relocate them on Windows
 2003, delete them by the smbpasswd file and /etc/smbpasswd, run tdbbackup
 tool and disable auth methods option (no more local users authentication).
 Today everithing seems works fine but I have stranges messages by winbind
 and smbd log file again:

 Tail -f /var/log/samba/log.winbindd:
 [2005/04/06 10:29:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
   user 'MILSALHP2200D_1' does not exist   
 -
 this is a printer!
 [2005/04/06 10:33:01, 1] nsswitch/winbindd_sid.c:winbindd_gid_to_sid(474)
   Could not convert gid 24329 to sid

 Tail -f /var/log/samba/log.smbd:
 [2005/04/06 08:33:57, 0] lib/util_sock.c:get_peer_addr(1150)
   getpeername failed. Error was Transport endpoint is not connected
 [2005/04/06 08:58:21, 0] lib/util_sock.c:get_peer_addr(1150)
   getpeername failed. Error was Transport endpoint is not connected

 How can I fix it?
 Thanks.
 Marco.

As I recall, it has something to do with smb trying to use both ports 139 and 
445, and there being some contention there.  Try adding the following to your 
smb.conf file:  smb ports = 445 (the default is smbports = 445 139).  At 
least this worked for me.

Dimitri
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Error was Transport endpoint is not connected

2002-10-27 Thread Daniel Jensen
Title: Error was Transport endpoint is not connected






Hi!


I have a strange problem with samba (currently version 2.2.4) that I haven't been able to resolv. I use samba as a NT domain controller and the clients uses Windows 2000. Most of the time it all works perfectly fine but now and then, all of a sudden, clients can no longer connect to the samba server. After 2-3 days the problem is gone and it works fine again, but I havent been able to trace the problem down. 

In the logfile the following error messages are found:


[2002/10/27 16:50:23, 0] lib/util_sock.c:get_socket_addr(1014)

 getpeername failed. Error was Transport endpoint is not connected


[2002/10/27 15:32:31, 0] lib/util_sock.c:write_socket(524)

 write_socket: Error writing 4 bytes to socket 12: ERRNO = Broken pipe


and sometimes


[2002/10/27 15:40:03, 0] tdb/tdbutil.c:tdb_log(475)

 tdb(/usr/local/samba/var/locks/connections.tdb): tdb_reopen: file dev/inode has changed!



I have looked everywhere on the internet for answers but all I can find is other people with the exact same problem. But no solutions!

I have also tried many different versions of samba, but the problem remains.


Does any of you samba-genius know anything about this? Any suggestions?


Thanks, 

Daniel