Re: SOLVED [Samba] problems with samba 3 and termnal server

2005-10-12 Thread eric roseme

JHT -

Would this topic be worthy of addition to the Howto?  I think I sent you 
a lengthy whitepaper about TS, along with all of the workarounds.  You 
could pull out pertinent passages like the MS Q-article and hotfix 
verbiage.  (if you want to)


Eric Roseme
Hewlett-Packard

Lorenzo Pilotti wrote:

thanks fellows,
the M$ patch seems to work fine... 


ya guruz! ;-)

loris



It's possible to set a registry setting that causes TS to open a new
SMB connection for every logged on user, this should help if the problem
is requests getting stuck in smbd's single threaded queue. The TS client
has some multi-threaded synchronisation problems that Microsoft could only
solve by going back to the (sensible) multi-connection model. They only
changed to single-connection to screw Samba over in a big account anyway
(the honest and sad truth :-).
Jeremy.




__
Accesso Internet Gratis per utenti Excite! Attivalo subito!
http://www.excite.it/hitech/accesso

Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu!
http://www.excite.it

AAA/Relazioni. Sfoglia gli annunci e trova la tua anima gemella
http://www.excite.it/relazioni





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


Re: SOLVED [Samba] problems with samba 3 and termnal server

2005-10-12 Thread Jeremy Allison
On Wed, Oct 12, 2005 at 09:46:34AM -0700, eric roseme wrote:
 JHT -
 
 Would this topic be worthy of addition to the Howto?  I think I sent you 
 a lengthy whitepaper about TS, along with all of the workarounds.  You 
 could pull out pertinent passages like the MS Q-article and hotfix 
 verbiage.  (if you want to)

That's a good idea - I'll ping jht about it.

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


Re: SOLVED [Samba] problems with samba 3 and termnal server

2005-10-12 Thread John H Terpstra
On Wednesday 12 October 2005 10:48, Jeremy Allison wrote:
 On Wed, Oct 12, 2005 at 09:46:34AM -0700, eric roseme wrote:
  JHT -
 
  Would this topic be worthy of addition to the Howto?  I think I sent you
  a lengthy whitepaper about TS, along with all of the workarounds.  You
  could pull out pertinent passages like the MS Q-article and hotfix
  verbiage.  (if you want to)

 That's a good idea - I'll ping jht about it.

I'll look at it on Friday. I have been in Washington, DC, this week.

Cheers,
John T.


 Jeremy

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] problems with samba 3 and termnal server

2005-10-11 Thread Lorenzo Pilotti
hello folks

dont know if this is a faq:

a customer currently uses a Suse 9.2 pro with the last version of Samba to
share a folder containing data for an Enterprise Management program (Windows
based).

everything works fine with local clients (many 98s and 1 XP machine).

we have some (15) clients connecting to the ERP program via a Terminal Server
(Windows2K server). these clients often stuck in some requests for 5 to 15
minutes (randomly) and then unlock and continue working.

note that:
- the same folder on a Win2000 machine works fine (ie. no stucks)
- this means it is a samba problem
- local clients work find
- this means it is a terminal-server-related problem

i thought it was something related to oplocks and i have disabled them (level
1 AND level 2) but the problem is still here.

now I ***suppose*** this is something like:
- samba receives many connections from the same IP (the terminal server)
and has problems de-mux-ing the requests...

any ideas???

mny tnx in adv
greetings

loris


__
Accesso Internet Gratis per utenti Excite! Attivalo subito!
http://www.excite.it/hitech/accesso

Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu!
http://www.excite.it

AAA/Relazioni. Sfoglia gli annunci e trova la tua anima gemella
http://www.excite.it/relazioni



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


Re: [Samba] problems with samba 3 and termnal server

2005-10-11 Thread Jeremy Allison
On Tue, Oct 11, 2005 at 10:20:41AM +0200, Lorenzo Pilotti wrote:
 
 a customer currently uses a Suse 9.2 pro with the last version of Samba to
 share a folder containing data for an Enterprise Management program (Windows
 based).
 
 everything works fine with local clients (many 98s and 1 XP machine).
 
 we have some (15) clients connecting to the ERP program via a Terminal Server
 (Windows2K server). these clients often stuck in some requests for 5 to 15
 minutes (randomly) and then unlock and continue working.

Clients usually time out after 30 seconds. What is happening on the wire
between terminal server and Samba during that time ?

 note that:
 - the same folder on a Win2000 machine works fine (ie. no stucks)
 - this means it is a samba problem
 - local clients work find
 - this means it is a terminal-server-related problem
 
 i thought it was something related to oplocks and i have disabled them (level
 1 AND level 2) but the problem is still here.
 
 now I ***suppose*** this is something like:
 - samba receives many connections from the same IP (the terminal server)
 and has problems de-mux-ing the requests...
 
 any ideas???

It's possible to set a registry setting that causes TS to open a new
SMB connection for every logged on user, this should help if the problem
is requests getting stuck in smbd's single threaded queue. The TS client
has some multi-threaded synchronisation problems that Microsoft could only
solve by going back to the (sensible) multi-connection model. They only
changed to single-connection to screw Samba over in a big account anyway
(the honest and sad truth :-).

You can look up the registry setting on MSDN, or someone on the list may
have it to hand.

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


Re: [Samba] problems with samba 3 and termnal server

2005-10-11 Thread Beschorner Daniel
One smbd per user on W2K TS with this registry key:

http://support.microsoft.com/kb/818528/ 

You need the hotfix 818528 (included in Update Rollup 1 for SP4) for the key
to become effective.

Daniel

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im
Auftrag von Jeremy Allison
Gesendet: Dienstag, 11. Oktober 2005 18:12
An: Lorenzo Pilotti
Cc: samba@lists.samba.org
Betreff: Re: [Samba] problems with samba 3 and termnal server

On Tue, Oct 11, 2005 at 10:20:41AM +0200, Lorenzo Pilotti wrote:
 
 a customer currently uses a Suse 9.2 pro with the last version of Samba to
 share a folder containing data for an Enterprise Management program
(Windows
 based).
 
 everything works fine with local clients (many 98s and 1 XP machine).
 
 we have some (15) clients connecting to the ERP program via a Terminal
Server
 (Windows2K server). these clients often stuck in some requests for 5 to 15
 minutes (randomly) and then unlock and continue working.

Clients usually time out after 30 seconds. What is happening on the wire
between terminal server and Samba during that time ?

 note that:
 - the same folder on a Win2000 machine works fine (ie. no stucks)
 - this means it is a samba problem
 - local clients work find
 - this means it is a terminal-server-related problem
 
 i thought it was something related to oplocks and i have disabled them
(level
 1 AND level 2) but the problem is still here.
 
 now I ***suppose*** this is something like:
 - samba receives many connections from the same IP (the terminal server)
 and has problems de-mux-ing the requests...
 
 any ideas???

It's possible to set a registry setting that causes TS to open a new
SMB connection for every logged on user, this should help if the problem
is requests getting stuck in smbd's single threaded queue. The TS client
has some multi-threaded synchronisation problems that Microsoft could only
solve by going back to the (sensible) multi-connection model. They only
changed to single-connection to screw Samba over in a big account anyway
(the honest and sad truth :-).

You can look up the registry setting on MSDN, or someone on the list may
have it to hand.

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


Re: SOLVED [Samba] problems with samba 3 and termnal server

2005-10-11 Thread Lorenzo Pilotti
thanks fellows,
the M$ patch seems to work fine...

ya guruz! ;-)

loris

It's possible to set a registry setting that causes TS to open a new
SMB connection for every logged on user, this should help if the problem
is requests getting stuck in smbd's single threaded queue. The TS client
has some multi-threaded synchronisation problems that Microsoft could only
solve by going back to the (sensible) multi-connection model. They only
changed to single-connection to screw Samba over in a big account anyway
(the honest and sad truth :-).
Jeremy.


__
Accesso Internet Gratis per utenti Excite! Attivalo subito!
http://www.excite.it/hitech/accesso

Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu!
http://www.excite.it

AAA/Relazioni. Sfoglia gli annunci e trova la tua anima gemella
http://www.excite.it/relazioni



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


Re: [Samba] problems with samba 3 and termnal server

2005-10-11 Thread Adrian Midgley

Jeremy Allison wrote:


On Tue, Oct 11, 2005 at 10:20:41AM +0200, Lorenzo Pilotti wrote:
 


a customer currently uses a Suse 9.2 pro with the last version of Samba to
share a folder containing data for an Enterprise Management program (Windows
based).

everything works fine with local clients (many 98s and 1 XP machine).

we have some (15) clients connecting to the ERP program via a Terminal Server
(Windows2K server). these clients often stuck in some requests for 5 to 15
minutes (randomly) and then unlock and continue working.
   



 

I'm getting something similar - Suse 9.3 client running rdesktop with a 
session from TS 2003 which gets its dbase files served by a Debian Samba 
3 server.


Oddly, it seemed to happen after running nicely for a while, possibly 
the week before last.  I can't see any admission of changes on MS site.



It's possible to set a registry setting that causes TS to open a new
SMB connection for every logged on user, this should help if the problem
is requests getting stuck in smbd's single threaded queue. 


I'll try that.


The TS client
has some multi-threaded synchronisation problems that Microsoft could only
solve by going back to the (sensible) multi-connection model. They only
changed to single-connection to screw Samba over in a big account anyway
(the honest and sad truth :-).
 


Bad people.

It isn't entirely clear to me whether the registry setting is the same 
for TS2003 as it was for TS2000.

I'll try it.



--
Dr Adrian Midgleyfrom Homefield Surgery 
01392 214151 using Thunderbird   


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