[Samba] Can't find free connection

Rauno Tuul rauno.tuul at haigekassa.ee
Fri Dec 5 07:02:32 GMT 2003


I ran into this problem too once. The cause was, that I'm using
terminalservers and samba connections count between terminal and samba is

Read this e-mail
That worked for me. I've set my 
#define MAX_CONNECTIONS to 512
(each terminal has 100 users, each user has 4 shares)
After recompiling my samba, errors are history for me.

BTW, there is also an parameter in smb.conf "max connections", but that
isn't the problem (default connection limit is 0).

I hope that helps,


> -----Original Message-----
> From: Selzner, Peter (KRZ) [mailto:P.Selzner at KRZ.DE]
> Hi,
> since some days we have follow entries in the logfile:
> smbd/service.c:make_connection(340)
> 	Couldn't find free connection
> Google says less or nothing. Can I control this with 
> "max connection = 0". 
> Any another ideas? Please help.
> Thanks.
> Peter

More information about the samba mailing list