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 6e33d2da2b ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows
I added util/winutil/LookupPseudoUser, which essentially consists of the bits
that I am in the process of adding to Go's standard library.

We check the provided SID for "S-1-5-x" where 17 <= x <= 20 (which are the
known pseudo-users) and then manually populate a os/user.User struct with
the correct information.

Fixes https://github.com/tailscale/tailscale/issues/869
Fixes https://github.com/tailscale/tailscale/issues/2894

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
cibuild all: use cibuild.On 2 years ago
clientmetric all: fix spelling mistakes 2 years ago
cloudenv all: use syncs.AtomicValue 2 years ago
cmpver util/cmpver: move into OSS from corp repo. 3 years ago
codegen all: convert more code to use net/netip directly 2 years ago
cstruct all: remove old +build tags 2 years ago
deephash tailcfg: add Node.UnsignedPeerAPIOnly to let server mark node as peerapi-only 2 years ago
dirwalk util/dirwalk, metrics, portlist: add new package for fast directory walking 2 years ago
dnsname all: fix spelling mistakes 2 years ago
endian util/endian: add support on Loongnix-Server (loong64) 2 years ago
goroutines ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2 years ago
groupmember util/groupmember: remove redundant code (#4298) 2 years ago
hashx util/hashx: move from sha256x (#5388) 2 years ago
jsonutil all: use any instead of interface{} 2 years ago
lineread util/lineread: add docs to Reader 4 years ago
mak all: fix spelling mistakes 2 years ago
multierr all: gofmt for Go 1.19 2 years ago
must util/must: rename Do->Get, add Do 2 years ago
osshare all: remove old +build tags 2 years ago
pidowner all: remove old +build tags 2 years ago
precompress cmd/tsconnect: pre-compress main.wasm when building the NPM package 2 years ago
quarantine cmd/tailscale, util/quarantine: set quarantine flags on files from Taildrop 2 years ago
racebuild all: remove old +build tags 2 years ago
set util/set: add new set package for SetHandle type 2 years ago
singleflight util/singleflight: sync with upstream 2 years ago
strs util/strs: add new package for string utility funcs 2 years ago
systemd all: remove old +build tags 2 years ago
uniq util/uniq: add ModifySliceFunc (#5504) 2 years ago
winutil ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows 2 years ago