[Samba] Problem on large number of shares

Gerald Carter jerry at samba.org
Mon May 6 11:51:03 GMT 2002

On Sun, 5 May 2002, Jürgen Röck wrote:

> Hello SAMBA Team,
> i have a little Problem with my SAMBA Server.
> Environment Description:
> Windows 2000 Terminal Server (with SP2 installed)
> Samba Server on a Suse Linux System
> Samba Version 2.2.2 (self Compiled)
> Kernel Version 2.4.18
> Error Behavior:
> Around 30 -40 Users are using the W2K Terminal-Server.
> All users gets Shares from the Samba Server in their Login Script.
> Everything seem to work fine. But sometimes users don't get their
> shares.
> It seems that this is the behavior when more than 128 shares would be
> used from one machine.
> If i am logged in to the W2K Terminal-Server and try to get a share when
> there are already 128 shares in use i get an Error message in log.smbd.
> This is the error message:
> [2002/05/03 14:43:54, 0] smbd/service.c:make_connection(325)
>   Couldn't find free connection.
> Is this a known restriction or is it a bug ?

Change the following

	smbd/conn.c:#define MAX_CONNECTIONS 128

and recompile.

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list