tailscale/ipn
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
..
ipnauth ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows 2022-11-28 15:53:34 -06:00
ipnlocal util/set: add new set package for SetHandle type 2022-11-28 10:44:17 -08:00
ipnserver cmd/tailscaled: unify the two Windows paths + separate IPN server path 2022-11-28 13:31:49 -08:00
ipnstate cmd/tailscale: add start of "debug derp" subcommand 2022-11-26 15:40:25 -08:00
localapi cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2022-11-28 10:39:04 -08:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store all: remove old +build tags 2022-11-04 07:25:42 -07:00
backend.go ipn: add a WatchIPNBus option bit to subscribe to EngineStatus changes 2022-11-26 15:51:33 -08:00
doc.go ipn: add WebServerConfig, add views 2022-11-09 06:17:45 -08:00
fake_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
ipn_clone.go ipn: add ability to name profiles 2022-11-22 04:03:24 +05:00
ipn_view.go ipn: add ability to name profiles 2022-11-22 04:03:24 +05:00
message.go ipn/ipnserver: remove IPN protocol server 2022-11-25 08:12:06 -08:00
prefs_test.go ipn: add ability to name profiles 2022-11-22 04:03:24 +05:00
prefs.go ipn/*: make new WindowsUserID type to consolidate docs 2022-11-27 12:08:07 -08:00
serve.go cmd/tailscale/cli, ipn: move serve CLI funcs on to ServeConfig (#6401) 2022-11-19 09:42:14 -05:00
store.go cmd/tailscale/cli, ipn: move serve CLI funcs on to ServeConfig (#6401) 2022-11-19 09:42:14 -05:00