Skip to content

Commit

Permalink
fixup! Generate unique UIDs and GIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
adombeck committed Jan 15, 2025
1 parent 6216aff commit 58cc388
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/services/nss/nss_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

"github.com/stretchr/testify/require"
"github.com/ubuntu/authd/internal/brokers"
"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/proto/authd"
"github.com/ubuntu/authd/internal/services/errmessages"
"github.com/ubuntu/authd/internal/services/nss"
Expand All @@ -21,6 +20,7 @@ import (
"github.com/ubuntu/authd/internal/users/cache"
"github.com/ubuntu/authd/internal/users/idgenerator"
localgroupstestutils "github.com/ubuntu/authd/internal/users/localentries/testutils"
"github.com/ubuntu/authd/log"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
Expand Down
2 changes: 1 addition & 1 deletion internal/services/pam/pam_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/ubuntu/authd/internal/brokers"
"github.com/ubuntu/authd/internal/brokers/auth"
"github.com/ubuntu/authd/internal/brokers/layouts"
"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/proto/authd"
"github.com/ubuntu/authd/internal/services/errmessages"
"github.com/ubuntu/authd/internal/services/pam"
Expand All @@ -30,6 +29,7 @@ import (
"github.com/ubuntu/authd/internal/users/idgenerator"
localgroupstestutils "github.com/ubuntu/authd/internal/users/localentries/testutils"
userstestutils "github.com/ubuntu/authd/internal/users/testutils"
"github.com/ubuntu/authd/log"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/users/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"testing"

"github.com/stretchr/testify/require"
"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/testutils/golden"
"github.com/ubuntu/authd/internal/users"
"github.com/ubuntu/authd/internal/users/cache"
"github.com/ubuntu/authd/internal/users/idgenerator"
localgroupstestutils "github.com/ubuntu/authd/internal/users/localentries/testutils"
userstestutils "github.com/ubuntu/authd/internal/users/testutils"
"github.com/ubuntu/authd/internal/users/types"
"github.com/ubuntu/authd/log"
"go.etcd.io/bbolt"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/users/tempentries/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"sync"

"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/users/localentries"
"github.com/ubuntu/authd/internal/users/types"
"github.com/ubuntu/authd/log"
)

type groupRecord struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/users/tempentries/preauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"sync"

"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/users/localentries"
"github.com/ubuntu/authd/internal/users/types"
"github.com/ubuntu/authd/log"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/users/tempentries/tempentries.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"errors"
"fmt"

"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/users/cache"
"github.com/ubuntu/authd/internal/users/types"
"github.com/ubuntu/authd/log"
)

// NoDataFoundError is the error returned when no entry is found in the cache.
Expand Down
2 changes: 1 addition & 1 deletion internal/users/tempentries/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"fmt"
"sync"

"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/users/localentries"
"github.com/ubuntu/authd/internal/users/types"
"github.com/ubuntu/authd/log"
)

type userRecord struct {
Expand Down

0 comments on commit 58cc388

Please sign in to comment.