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".