-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict test KDB to local principals
Ignoring the lookup realm for principal matching could cause the test KDB module to successfully look up entries (with the correct key data) for principals that a real KDB wouldn't have, such as krbtgt/B@A within realm C. Add a realm check to test_get_principal(), allowing only local principal names or incoming cross-TGS names. [ghudson@mit.edu: changed error code; rewrote commit message]
- Loading branch information
1 parent
deb64d5
commit 8c4bbfa
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters