|
Lines 737-742
Link Here
|
| 737 |
if ($_[0] >= $min_uid{$_[1]} && $_[0] <= $max_uid{$_[1]}) { |
737 |
if ($_[0] >= $min_uid{$_[1]} && $_[0] <= $max_uid{$_[1]}) { |
| 738 |
$last_uid{$_[1]} = $_[0]; |
738 |
$last_uid{$_[1]} = $_[0]; |
| 739 |
} |
739 |
} |
|
|
740 |
else { |
| 741 |
$last_uid{$_[1]} = $min_uid{$_[1]}; |
| 742 |
} |
| 740 |
} |
743 |
} |
| 741 |
|
744 |
|
| 742 |
##------------------------------------ |
745 |
##------------------------------------ |
|
Lines 746-751
Link Here
|
| 746 |
if ($_[0] >= $min_gid{$_[1]} && $_[0] <= $max_gid{$_[1]}) { |
749 |
if ($_[0] >= $min_gid{$_[1]} && $_[0] <= $max_gid{$_[1]}) { |
| 747 |
$last_gid{$_[1]} = $_[0]; |
750 |
$last_gid{$_[1]} = $_[0]; |
| 748 |
} |
751 |
} |
|
|
752 |
else { |
| 753 |
$last_gid{$_[1]} = $min_gid{$_[1]}; |
| 754 |
} |
| 749 |
} |
755 |
} |
| 750 |
|
756 |
|
| 751 |
##------------------------------------ |
757 |
##------------------------------------ |
|
Lines 1188-1193
Link Here
|
| 1188 |
elsif ($type eq "nis") { |
1194 |
elsif ($type eq "nis") { |
| 1189 |
$path = ".$type"; |
1195 |
$path = ".$type"; |
| 1190 |
} |
1196 |
} |
|
|
1197 |
else { # only adapt to minimal value |
| 1198 |
$self->SetLastGID ($min_gid{$type}, $type); |
| 1199 |
} |
| 1191 |
$gids{$type} = \%{SCR->Read ("$path.groups.gids")}; |
1200 |
$gids{$type} = \%{SCR->Read ("$path.groups.gids")}; |
| 1192 |
$groupnames{$type} = \%{SCR->Read ("$path.groups.groupnames")}; |
1201 |
$groupnames{$type} = \%{SCR->Read ("$path.groups.groupnames")}; |
| 1193 |
} |
1202 |
} |