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>
2022-11-28 15:53:34 -06:00
..
cibuild all: use cibuild.On 2022-03-18 15:19:26 -07:00
clientmetric all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
cloudenv all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
cmpver util/cmpver: move into OSS from corp repo. 2021-04-23 20:55:45 -07:00
codegen all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
cstruct all: remove old +build tags 2022-11-04 07:25:42 -07:00
deephash tailcfg: add Node.UnsignedPeerAPIOnly to let server mark node as peerapi-only 2022-11-02 21:55:04 -07:00
dirwalk util/dirwalk, metrics, portlist: add new package for fast directory walking 2022-11-05 16:26:51 -07:00
dnsname all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
endian util/endian: add support on Loongnix-Server (loong64) 2022-11-08 08:24:15 -08:00
goroutines ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2022-09-26 11:16:38 -07:00
groupmember util/groupmember: remove redundant code (#4298) 2022-03-26 21:45:06 -07:00
hashx util/hashx: move from sha256x (#5388) 2022-08-16 13:15:33 -07:00
jsonutil all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
lineread util/lineread: add docs to Reader 2020-11-19 12:14:58 -08:00
mak all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
multierr all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
must util/must: rename Do->Get, add Do 2022-08-06 09:30:10 -07:00
osshare all: remove old +build tags 2022-11-04 07:25:42 -07:00
pidowner all: remove old +build tags 2022-11-04 07:25:42 -07:00
precompress cmd/tsconnect: pre-compress main.wasm when building the NPM package 2022-10-14 15:08:06 -07:00
quarantine cmd/tailscale, util/quarantine: set quarantine flags on files from Taildrop 2022-11-17 15:06:02 -05:00
racebuild all: remove old +build tags 2022-11-04 07:25:42 -07:00
set util/set: add new set package for SetHandle type 2022-11-28 10:44:17 -08:00
singleflight util/singleflight: sync with upstream 2022-09-30 06:55:04 -07:00
strs util/strs: add new package for string utility funcs 2022-08-05 15:06:08 -07:00
systemd all: remove old +build tags 2022-11-04 07:25:42 -07:00
uniq util/uniq: add ModifySliceFunc (#5504) 2022-08-30 18:51:18 -04:00
winutil ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows 2022-11-28 15:53:34 -06:00