From 0e2c5659ec80e7d7eac3ebebb27a72e6712d23b9 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 8 Jan 2008 20:58:41 +0000 Subject: [PATCH] Use min of 1000 for RID --- samba/samba-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba/samba-lib.pl b/samba/samba-lib.pl index edd2ee000..8e3a65fe5 100644 --- a/samba/samba-lib.pl +++ b/samba/samba-lib.pl @@ -861,7 +861,7 @@ else { $out =~ /rid:\s+(\d+)/ || &error("$config{'net'} failed :
$out
"); local $maxrid = $1 + 1; - $maxrid = 512 if ($maxrid < 512); # Must be >511 + $maxrid = 1000 if ($maxrid < 1000); # Should be >1000 $out = &backquote_logged( "$config{'net'} -s $config{'smb_conf'} groupmap add". " rid=$maxrid".