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/ssh/tailssh
Brad Fitzpatrick a4fd4fd845 ssh/tailssh: fix regression after LDAP support
58ab66ec51 added LDAP support
for #4945 by shelling out to getdent.

It was supposed to fall back to the old method when getdent wasn't
found, but some variable name confusion (uid vs username) meant the
old path wasn't calling the right lookup function (user.LookupId
instead of user.Lookup).

Which meant that changed probably also broke FreeBSD and macOS SSH
support in addition to the reported OpenWRT regression.

The gokrazy support didn't look right either.

Fixes #8180

Change-Id: I273bbe96fe98b2517fbf0335fd476b483c051554
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
incubator.go ssh/tailssh: close tty on session close 2 years ago
incubator_linux.go all: update copyright and license headers 2 years ago
privs_test.go ssh/tailssh: fix privilege dropping on FreeBSD; add tests 2 years ago
tailssh.go ssh/tailssh: close tty on session close 2 years ago
tailssh_test.go ssh/tailssh: fix regression after LDAP support 2 years ago
user.go ssh/tailssh: fix regression after LDAP support 2 years ago