[Samba] Samba & Terminal Services / Citrix
Andrew Bartlett
abartlet at samba.org
Tue Jun 24 14:50:58 GMT 2003
On Mon, 2003-06-23 at 22:51, DOELKER,RAINER (HP-Germany,ex2) wrote:
> Hi Brad and Drew,
>
> one statement to the thread of yours in the samba-list:
> yes, terminal-server on NT had the switch to make the terminal use one
> virtual connect for each terminal-server-client. windows 2000 does not have
> the registry entry any more.
>
> so what happens is you might face the situation that you cannot connect all
> shares:
> [2003/03/10 10:38:35, 1] smbd/conn.c:(102)
> ERROR! Out of connection structures [2003/03/10 10:38:35, 0]
> smbd/service.c:(340)
> Couldn't find free connection.
>
> This is a fix value in the sources smbd/conn.c:
> #define MAX_CONNECTIONS 128
>
> so if you have 40 terminal clients connecting 4 samba-shares (= 160
> connections on one smbd) that would not match. Change the value to e.g. 256
> and recompile your samba.
>
> Note: if you have to many connections to one smbd it might affect the
> performance.
>
> There is suggestion to make this a smb.conf configurable (max connections
> per client) but thats not yet accepted.
Can you please file a bug in bugzilla.samba.org explaining all this.
(Pick on Samba 3.0beta1, it still has the same issue).
Personally, I think it's worth the 4kb penalty to allow 65535 tree
connects if we need to...
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030624/57629705/attachment.bin
More information about the samba-technical
mailing list