svn commit: samba r16944 - in trunk/examples/scripts/shares/perl: .

jra at samba.org jra at samba.org
Tue Jul 11 17:19:41 GMT 2006


Author: jra
Date: 2006-07-11 17:19:41 +0000 (Tue, 11 Jul 2006)
New Revision: 16944

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16944

Log:
Update from 3.0 to get ready for sync.
Jeremy.

Modified:
   trunk/examples/scripts/shares/perl/modify_samba_config.pl


Changeset:
Modified: trunk/examples/scripts/shares/perl/modify_samba_config.pl
===================================================================
--- trunk/examples/scripts/shares/perl/modify_samba_config.pl	2006-07-11 17:09:38 UTC (rev 16943)
+++ trunk/examples/scripts/shares/perl/modify_samba_config.pl	2006-07-11 17:19:41 UTC (rev 16944)
@@ -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