svn commit: samba r14825 - in
branches/SAMBA_3_0/examples/scripts/shares/perl: .
jerry at samba.org
jerry at samba.org
Thu Mar 30 14:28:34 GMT 2006
Author: jerry
Date: 2006-03-30 14:28:33 +0000 (Thu, 30 Mar 2006)
New Revision: 14825
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14825
Log:
add support for max connections parameter
Modified:
branches/SAMBA_3_0/examples/scripts/shares/perl/modify_samba_config.pl
Changeset:
Modified: branches/SAMBA_3_0/examples/scripts/shares/perl/modify_samba_config.pl
===================================================================
--- branches/SAMBA_3_0/examples/scripts/shares/perl/modify_samba_config.pl 2006-03-30 14:23:47 UTC (rev 14824)
+++ branches/SAMBA_3_0/examples/scripts/shares/perl/modify_samba_config.pl 2006-03-30 14:28:33 UTC (rev 14825)
@@ -36,7 +36,7 @@
if ($#ARGV == 1) {
$delete_mode = 1;
}
-elsif ($#ARGV == 3) {
+elsif ($#ARGV == 4) {
$add_mode = 1;
}
else {
@@ -101,6 +101,7 @@
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]};
More information about the samba-cvs
mailing list