United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
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