Jeff Mitchell
|
a2f07acbc4
|
Use Getenv instead of LookupEnv
This prevents returning empty username if LOGNAME is set but empty and USER is set but not empty.
|
2017-02-07 21:47:06 -08:00 |
|
Jeff Mitchell
|
f05b482e46
|
Update error text
|
2017-02-07 21:44:23 -08:00 |
|
Félix Cantournet
|
e818efde7c
|
ldap auth via cli defaults username to env (#2137)
try to guess the username from 'LOGNAME' or if it isn't set 'USER'
|
2016-12-02 19:08:32 +01:00 |
|
Bradley Girardeau
|
6697012dd3
|
mfa: improve edge cases and documentation
|
2015-07-27 21:14:00 -07:00 |
|
Bradley Girardeau
|
4eb1beb31c
|
ldap: add mfa support to CLI
|
2015-07-27 21:14:00 -07:00 |
|
Giovanni Bajo
|
84388b2b20
|
auth/ldap: move username into the path (to allow per-user revokation on the path)
|
2015-05-09 22:06:28 +02:00 |
|
Giovanni Bajo
|
7492c5712a
|
Initial implementation of the LDAP credential backend
|
2015-05-09 22:04:19 +02:00 |
|