Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
General Linux > Samba > Issue <<  53 of 98 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 6072
Last update: 08-11-05
Issue:
How do I limit the number of simultaneous connections to a particular Samba share?
Resolution:

The default value for simultaneous connections to a Samba share is unlimited. This is represented by the value of zero. To control the amount of allowed concurrent connections, the Samba directive "max connections" in /etc/samba/smb.conf should be set. Any clients connecting when the maximum has been reached will receive a message telling them to try again later.

The example below illustrates how to limit a Samba share to 20 concurrent connections:

[training]
path = /feu
public = yes
browsable = yes
writable = yes
valid users = @students
max connections = 20

After modifying the /etc/samba/smb.conf file, restart the smb service:

service smb restart


How well did this entry answer your question?


good wrong incomplete out of date
General Linux > Samba > Issue <<   53  of  98  >>