[Heimdal-source-changes] [heimdal/heimdal] 141289: roken: add roken_get_loginname()
Nico Williams
noreply at github.com
Tors Sep 26 06:09:22 CEST 2019
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: 141289f14b38ee26f52cf8c74cdfd5c9ac488f6b
https://github.com/heimdal/heimdal/commit/141289f14b38ee26f52cf8c74cdfd5c9ac488f6b
Author: Nicolas Williams <nico at twosigma.com>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M lib/roken/getuserinfo.c
M lib/roken/roken.h.in
M lib/roken/test-getuserinfo.c
M lib/roken/version-script.map
Log Message:
-----------
roken: add roken_get_loginname()
Commit: 0fdda02b610e06acb40e261d105ef353d537b772
https://github.com/heimdal/heimdal/commit/0fdda02b610e06acb40e261d105ef353d537b772
Author: Nicolas Williams <nico at twosigma.com>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M lib/krb5/expand_path.c
Log Message:
-----------
Add loginname, ruid, and LOCALSTATEDIR expansions
%{loginname} is for getlogin_r().
Now %{username} uses only the $USER and $LOGNAME environment variables
(if the caller is not set-uid), or if absent or the caller is set-uid,
then getpwuid_r().
The intent is to allow kadmin(1) to use the loginname instead of the
username for the construction of the kadmin client principal name. This
is helpful when the user runs kadmin as root via sudo and/or su.
Commit: d02277b45f0e9721facea3ad74cab0f41535424f
https://github.com/heimdal/heimdal/commit/d02277b45f0e9721facea3ad74cab0f41535424f
Author: Nicolas Williams <nico at twosigma.com>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M lib/krb5/krb5.conf.5
Log Message:
-----------
List token expansions in krb5.conf.5
Commit: c9b5a4df906f63b9c12705657112f99b9a7d14df
https://github.com/heimdal/heimdal/commit/c9b5a4df906f63b9c12705657112f99b9a7d14df
Author: Nicolas Williams <nico at twosigma.com>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M lib/kadm5/init_c.c
M lib/krb5/get_default_principal.c
Log Message:
-----------
Use roken_get_loginname() when we want getlogin_r()
Compare: https://github.com/heimdal/heimdal/compare/366b787917f1...c9b5a4df906f
More information about the Heimdal-source-changes
mailing list