Skip to content

Commit

Permalink
Merge pull request #55 from yast/review_140731_checking_system_uid
Browse files Browse the repository at this point in the history
[Review] Request from 'schubi2' @ 'yast/yast-users/review_140731_checking_system_uid'
  • Loading branch information
schubi2 committed Jul 31, 2014
2 parents 4805b2d + 755b7c9 commit b83a66a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-users.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 31 17:31:29 CEST 2014 - schubi@suse.de

- Checking max UID for system users correctly while importing from
autoinst.xml. (bnc#888154)
- 3.1.29

-------------------------------------------------------------------
Tue Jul 22 09:26:17 CEST 2014 - jsuchome@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 3.1.28
Version: 3.1.29
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Users.pm
Expand Up @@ -5843,7 +5843,7 @@ sub ImportUser {

my $type = "local";
if ($uid != -1 &&
($uid < UsersCache->GetMaxUID ("system") || $username eq "nobody")) {
($uid <= UsersCache->GetMaxUID ("system") || $username eq "nobody")) {
$type = "system";
}

Expand Down

0 comments on commit b83a66a

Please sign in to comment.