Re: [Samba] NT4 PDC and Samba 3

2003-11-18 Thread Don Bivens
John,

Thanks for your suggestion.  Disabling senfile support didn't help.  I 
downgraded to 2.6 and things worked better but not quite right.

On my old setup I noticed I had some NIC issues so I replaced it.  I'm 
wondering if I don't still have hardware problems.  To test that theory 
I ran smbclient from the samba box and the latency was horrible. 

Thanks to all

John H Terpstra wrote:

On Wed, 12 Nov 2003, Don Bivens wrote:

 

I upgraded an old Samba 2.x install on Debian that I had at a customer
location.  Authentication to the PDC was via winbind.  Everything worked
fine in the past except the RAID died so I rebuilt the RAID, copied over
the old volume, and ran apt-get update && apt-get upgrade.  Now I have
some really weird Samba problems:
I can connect to my share on Samba.
I can create a dir, a file, and insert text into a file.
I can copy a small directory with a few small text files in it from the
PDC to the Samba share.
When I try to copy almost everything else from anywhere on the LAN to
the Samba share it freezes up and the connection eventually times out.
I spent the better part of 5 hours banging my head against the wall.

Any ideas would be greatly appreciated.  I'm thinking of just
downgrading everything since I still have the original file system image
that used to work but I'd rather not.
   

Have you tried disabling "sendfile" support?

- John T.

 

Thanks!

Don at carolinanetworking dot com

   

 



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


Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-15 Thread Thomas Reiß
Hello Don Bivens, 

> 
> I can copy a small directory with a few small text files in it from the 
> PDC to the Samba share.
> 
> When I try to copy almost everything else from anywhere on the LAN to 
> the Samba share it freezes up and the connection eventually times out.
> 

That sounds to me there will be a Problem with Full/Halfduplex-Setting
of your NIC or Switch.

Can you verify that ?

Greetings 
Thomas

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


Re: [Samba] NT4 PDC and Samba 3 file copying issues...

2003-11-14 Thread Don Bivens
Thanks.. I will do so just as soon as I can get back on the server!

John H Terpstra wrote:

On Fri, 14 Nov 2003, Don Bivens wrote:

 

Giving this another shot...

I upgraded Samba 2.x to 3.x and now have issues.

I have Samba 3 on Linux 2.4.19/Debian.  Samba runs as a member server in
an NT4 domain and gets authentication from the DC via
winbind.
I can copy a few very small files to the Samba share and they work.  I
can create and delete text files on that share.  When I attempt
to copy files to the share en masse, or even one or two files at a time
(a few work most don't) it ultimately freezes and times out.
   

Please re-try with the following in your smb.conf [globals]:

	sendfile = No

Let me know if this helps. If not, send me your smb.conf file.

Cheers,
John T.
 

The only interesting thing I've found thus far is:

   

[2003/11/13 17:44:20, 3] smbd/error.c:error_packet(113)
error packet at smbd/trans2.c(2509) cmd=50 (SMBtrans2)
NT_STATUS_INVALID_HANDLE
 

One person helpfully asked about my switch/hub and I'm reasonably
confident there's no issue there because everything else on the LAN
seems to work fine.  Additionally I've been ssh'ed in the the Linux box
for some time without blowing that connection.
My Samba log files and a packet capture are located at.

   

http://www.carolinanetworking.com/logs.zip
 

Unfortunately I don't have my smb.conf handy but suffice it to say it
was tiny.  I saved off the old one and created a basic one with a SWAT
wizard just to be sure I didn't have anything stupid going on there.
Thanks to anyone with any ideas!

   

 



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


Re: [Samba] NT4 PDC and Samba 3 file copying issues...

2003-11-14 Thread John H Terpstra
On Fri, 14 Nov 2003, Don Bivens wrote:

> Giving this another shot...
>
> I upgraded Samba 2.x to 3.x and now have issues.
>
> I have Samba 3 on Linux 2.4.19/Debian.  Samba runs as a member server in
> an NT4 domain and gets authentication from the DC via
> winbind.
>
> I can copy a few very small files to the Samba share and they work.  I
> can create and delete text files on that share.  When I attempt
> to copy files to the share en masse, or even one or two files at a time
> (a few work most don't) it ultimately freezes and times out.

Please re-try with the following in your smb.conf [globals]:

sendfile = No

Let me know if this helps. If not, send me your smb.conf file.

Cheers,
John T.

>
> The only interesting thing I've found thus far is:
>
> > [2003/11/13 17:44:20, 3] smbd/error.c:error_packet(113)
> >  error packet at smbd/trans2.c(2509) cmd=50 (SMBtrans2)
> > NT_STATUS_INVALID_HANDLE
> >
> One person helpfully asked about my switch/hub and I'm reasonably
> confident there's no issue there because everything else on the LAN
> seems to work fine.  Additionally I've been ssh'ed in the the Linux box
> for some time without blowing that connection.
>
> My Samba log files and a packet capture are located at.
>
> > http://www.carolinanetworking.com/logs.zip
>
> Unfortunately I don't have my smb.conf handy but suffice it to say it
> was tiny.  I saved off the old one and created a basic one with a SWAT
> wizard just to be sure I didn't have anything stupid going on there.
>
> Thanks to anyone with any ideas!
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] NT4 PDC and Samba 3 file copying issues...

2003-11-14 Thread Don Bivens
Giving this another shot...

I upgraded Samba 2.x to 3.x and now have issues.

I have Samba 3 on Linux 2.4.19/Debian.  Samba runs as a member server in 
an NT4 domain and gets authentication from the DC via
winbind.

I can copy a few very small files to the Samba share and they work.  I 
can create and delete text files on that share.  When I attempt
to copy files to the share en masse, or even one or two files at a time 
(a few work most don't) it ultimately freezes and times out.

The only interesting thing I've found thus far is:

[2003/11/13 17:44:20, 3] smbd/error.c:error_packet(113)
 error packet at smbd/trans2.c(2509) cmd=50 (SMBtrans2) 
NT_STATUS_INVALID_HANDLE

One person helpfully asked about my switch/hub and I'm reasonably 
confident there's no issue there because everything else on the LAN
seems to work fine.  Additionally I've been ssh'ed in the the Linux box 
for some time without blowing that connection.

My Samba log files and a packet capture are located at.

http://www.carolinanetworking.com/logs.zip
Unfortunately I don't have my smb.conf handy but suffice it to say it 
was tiny.  I saved off the old one and created a basic one with a SWAT
wizard just to be sure I didn't have anything stupid going on there. 

Thanks to anyone with any ideas!

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


Re: [Samba] NT4 PDC and Samba 3

2003-11-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Don Bivens wrote:

| When I try to copy almost everything else from anywhere on the LAN to
| the Samba share it freezes up and the connection eventually times out.
|
| I spent the better part of 5 hours banging my head against the wall.
Make sure you swicthes and hubs are not dropping packets.



- --
cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/tGRUIR7qMdg1EfYRAmVEAJ4hHhUVOPEHVkxwjD0EfKThkp8LAwCcC5ie
jmnm7RQQA0YQsK4gSqYsmU8=
=NZqZ
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-13 Thread Don Bivens
I just can't figure why some stuff fails and others don't.  The 
interesting part is here

[2003/11/13 17:44:20, 3] smbd/error.c:error_packet(113)
 error packet at smbd/trans2.c(2509) cmd=50 (SMBtrans2) 
NT_STATUS_INVALID_HANDLE

the files are at

http://www.carolinanetworking.com/logs.zip

Thanks again!



Andrew Bartlett wrote:

On Fri, 2003-11-14 at 08:47, Don Bivens wrote:
 

Andrew et.al.,

I have the packet capture and the log files.  I have them saved for the 
approximate duration of the failed file copy transaction from NT4 server 
to Samba 3 server using winbind for authentication.  I'm trying to 
figure out how much of this data to include.  I don't want to overwhelm 
anyone who is kind enough to help with a bunch of stuff.  The files 
sizes are:
   

This list takes only small text attachments - so post stuff on a
website.  (And CC me if you actually want me to see it :-).
Andrew Bartlett

 



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


Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-13 Thread Andrew Bartlett
On Fri, 2003-11-14 at 08:47, Don Bivens wrote:
> Andrew et.al.,
> 
> I have the packet capture and the log files.  I have them saved for the 
> approximate duration of the failed file copy transaction from NT4 server 
> to Samba 3 server using winbind for authentication.  I'm trying to 
> figure out how much of this data to include.  I don't want to overwhelm 
> anyone who is kind enough to help with a bunch of stuff.  The files 
> sizes are:

This list takes only small text attachments - so post stuff on a
website.  (And CC me if you actually want me to see it :-).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-13 Thread Don Bivens
Andrew et.al.,

I have the packet capture and the log files.  I have them saved for the 
approximate duration of the failed file copy transaction from NT4 server 
to Samba 3 server using winbind for authentication.  I'm trying to 
figure out how much of this data to include.  I don't want to overwhelm 
anyone who is kind enough to help with a bunch of stuff.  The files 
sizes are:

29k cap.log
1.2Mlog.nmbd
357klog.smbd
496klog.winbindd
Thanks!

Andrew Bartlett wrote:

On Thu, 2003-11-13 at 10:30, Don Bivens wrote:
 

Yeah, the logs contain no apparent errors.  
   

Then turn up the debug level.  The usual 'samba has gone away' means
that Samba has crashed, but there is also the distinct possibility for
network glitches.
 



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


Re: [Samba] NT4 PDC and Samba 3

2003-11-13 Thread John H Terpstra
On Wed, 12 Nov 2003, Don Bivens wrote:

> I upgraded an old Samba 2.x install on Debian that I had at a customer
> location.  Authentication to the PDC was via winbind.  Everything worked
> fine in the past except the RAID died so I rebuilt the RAID, copied over
> the old volume, and ran apt-get update && apt-get upgrade.  Now I have
> some really weird Samba problems:
>
> I can connect to my share on Samba.
> I can create a dir, a file, and insert text into a file.
>
> I can copy a small directory with a few small text files in it from the
> PDC to the Samba share.
>
> When I try to copy almost everything else from anywhere on the LAN to
> the Samba share it freezes up and the connection eventually times out.
>
> I spent the better part of 5 hours banging my head against the wall.
>
> Any ideas would be greatly appreciated.  I'm thinking of just
> downgrading everything since I still have the original file system image
> that used to work but I'd rather not.

Have you tried disabling "sendfile" support?

- John T.

>
> Thanks!
>
> Don at carolinanetworking dot com
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-12 Thread Andrew Bartlett
On Thu, 2003-11-13 at 10:30, Don Bivens wrote:
> Yeah, the logs contain no apparent errors.  

Then turn up the debug level.  The usual 'samba has gone away' means
that Samba has crashed, but there is also the distinct possibility for
network glitches.

> I didn't trace anything.  I 
> certainly can do that if it will make the resolution apparent to someone.
> 
> I was hoping that this would be one of those "oh yeah.. that's known 
> issue xyz where you misconfigured/is being fixed/etc"

We just don't have sufficient information to say..

> I'll get some logs.. and when you say "network trace" I'm guessing 
> you're meaning packet captures like tcpdump?

Yep.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-12 Thread Don Bivens
Yeah, the logs contain no apparent errors.  I didn't trace anything.  I 
certainly can do that if it will make the resolution apparent to someone.

I was hoping that this would be one of those "oh yeah.. that's known 
issue xyz where you misconfigured/is being fixed/etc"

I'll get some logs.. and when you say "network trace" I'm guessing 
you're meaning packet captures like tcpdump?

Thanks

Andrew Bartlett wrote:

On Thu, 2003-11-13 at 09:45, Don Bivens wrote:
 

I upgraded an old Samba 2.x install on Debian that I had at a customer 
location.  Authentication to the PDC was via winbind.  Everything worked 
fine in the past except the RAID died so I rebuilt the RAID, copied over 
the old volume, and ran apt-get update && apt-get upgrade.  Now I have 
some really weird Samba problems:

I can connect to my share on Samba.
I can create a dir, a file, and insert text into a file.
I can copy a small directory with a few small text files in it from the 
PDC to the Samba share.

When I try to copy almost everything else from anywhere on the LAN to 
the Samba share it freezes up and the connection eventually times out.

I spent the better part of 5 hours banging my head against the wall.
   

Did you spend any of that time reading the logs, or taking a network
trace?  That will certainly get you a long way, and help the list in
solving your problem...
#include "jht/crystal_ball_reference.h" 

;-)

Andrew Bartlett

 



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


Re: [Samba] NT4 PDC and Samba 3 issues...

2003-11-12 Thread Andrew Bartlett
On Thu, 2003-11-13 at 09:45, Don Bivens wrote:
> I upgraded an old Samba 2.x install on Debian that I had at a customer 
> location.  Authentication to the PDC was via winbind.  Everything worked 
> fine in the past except the RAID died so I rebuilt the RAID, copied over 
> the old volume, and ran apt-get update && apt-get upgrade.  Now I have 
> some really weird Samba problems:
> 
> I can connect to my share on Samba.
> I can create a dir, a file, and insert text into a file.
> 
> I can copy a small directory with a few small text files in it from the 
> PDC to the Samba share.
> 
> When I try to copy almost everything else from anywhere on the LAN to 
> the Samba share it freezes up and the connection eventually times out.
> 
> I spent the better part of 5 hours banging my head against the wall.

Did you spend any of that time reading the logs, or taking a network
trace?  That will certainly get you a long way, and help the list in
solving your problem...

#include "jht/crystal_ball_reference.h" 

;-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] NT4 PDC and Samba 3 issues...

2003-11-12 Thread Don Bivens
I upgraded an old Samba 2.x install on Debian that I had at a customer 
location.  Authentication to the PDC was via winbind.  Everything worked 
fine in the past except the RAID died so I rebuilt the RAID, copied over 
the old volume, and ran apt-get update && apt-get upgrade.  Now I have 
some really weird Samba problems:

I can connect to my share on Samba.
I can create a dir, a file, and insert text into a file.
I can copy a small directory with a few small text files in it from the 
PDC to the Samba share.

When I try to copy almost everything else from anywhere on the LAN to 
the Samba share it freezes up and the connection eventually times out.

I spent the better part of 5 hours banging my head against the wall.

Any ideas would be greatly appreciated.  I'm thinking of just 
downgrading everything since I still have the original file system image 
that used to work but I'd rather not.

Thanks!

Don at carolinanetworking dot com

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


[Samba] NT4 PDC and Samba 3

2003-11-12 Thread Don Bivens
I upgraded an old Samba 2.x install on Debian that I had at a customer 
location.  Authentication to the PDC was via winbind.  Everything worked 
fine in the past except the RAID died so I rebuilt the RAID, copied over 
the old volume, and ran apt-get update && apt-get upgrade.  Now I have 
some really weird Samba problems:

I can connect to my share on Samba.
I can create a dir, a file, and insert text into a file.
I can copy a small directory with a few small text files in it from the 
PDC to the Samba share.

When I try to copy almost everything else from anywhere on the LAN to 
the Samba share it freezes up and the connection eventually times out.

I spent the better part of 5 hours banging my head against the wall.

Any ideas would be greatly appreciated.  I'm thinking of just 
downgrading everything since I still have the original file system image 
that used to work but I'd rather not.

Thanks!

Don at carolinanetworking dot com

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