Skip to content

Commit

Permalink
Initialize credentials.groupMembership map in NewCredentialsFromPrinc…
Browse files Browse the repository at this point in the history
…ipal

Fixes #22
  • Loading branch information
asaf authored and jcmturner committed Oct 2, 2017
1 parent d69d1cf commit 5f0e50b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions credentials/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func NewCredentialsFromPrincipal(cname types.PrincipalName, realm string) Creden
CName: cname,
Keytab: keytab.NewKeytab(),
Attributes: make(map[int]interface{}),
groupMembership: make(map[string]bool),
sessionID: uid,
}
}
Expand Down

0 comments on commit 5f0e50b

Please sign in to comment.