You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Aaron Klotz d7962e3bcf ipn/ipnserver, util/winutil: update workaround for os/user.LookupId failures on Windows to reject SIDs from deleted/invalid security principals.
Our current workaround made the user check too lax, thus allowing deleted
users. This patch adds a helper function to winutil that checks that the
uid's SID represents a valid Windows security principal.

Now if `lookupUserFromID` determines that the SID is invalid, we simply
propagate the error.

Updates https://github.com/tailscale/tailscale/issues/869

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
4 years ago
..
cibuild wgengine/magicsock: increase legacy ping timeout again 5 years ago
clientmetric util/clientmetric: add tests omitted from earlier commit 4 years ago
cmpver util/cmpver: move into OSS from corp repo. 5 years ago
codegen util/codegen: reorder AssertStructUnchanged args 4 years ago
deephash all: gofmt -w -s (simplify) tests 4 years ago
dnsname util/dnsname: make ToFQDN take exactly 0 or 1 allocs for everything. 5 years ago
endian all: gofmt with Go 1.17 4 years ago
groupmember util/groupmember: adjust build tags for osusergo 4 years ago
jsonutil util/jsonutil: new package 5 years ago
lineread util/lineread: add docs to Reader 5 years ago
multierr util/multierr: new package 4 years ago
osshare all: gofmt with Go 1.17 4 years ago
pidowner all: gofmt with Go 1.17 4 years ago
racebuild all: gofmt with Go 1.17 4 years ago
systemd all: gofmt with Go 1.17 4 years ago
uniq util/uniq: add new package 5 years ago
winutil ipn/ipnserver, util/winutil: update workaround for os/user.LookupId failures on Windows to reject SIDs from deleted/invalid security principals. 4 years ago