1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

r14825: add support for max connections parameter

(This used to be commit 63efbdf005f410c4a9843809207ea27f4c1ac756)
This commit is contained in:
Gerald Carter 2006-03-30 14:28:33 +00:00 committed by Gerald (Jerry) Carter
parent 3aaa903102
commit 2b86a5b4ed

View File

@ -36,7 +36,7 @@ my $tmp_file_name = undef;
if ($#ARGV == 1) {
$delete_mode = 1;
}
elsif ($#ARGV == 3) {
elsif ($#ARGV == 4) {
$add_mode = 1;
}
else {
@ -101,6 +101,7 @@ close (CONFIGFILE);
if ($add_mode) {
$config{$ARGV[1]}{'path'} = $ARGV[2];
$config{$ARGV[1]}{'comment'} = $ARGV[3];
$config{$ARGV[1]}{'max connections'} = $ARGV[4];
}
elsif ($delete_mode) {
delete $config{$ARGV[1]};