Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit
Download (untitled) / with headers
text/plain 1.2KiB

Add localauth pluggable interface

Add a new pluggable interface for local authorization, and replace the
existing krb5_aname_to_localname and krb5_kuserok implementations with
implementations based on the pluggable interface.

https://github.com/krb5/krb5/commit/4216fb5b0e0abb80a3ccd8251abddc18435d81f3
Author: Greg Hudson <ghudson@mit.edu>
Commit: 4216fb5b0e0abb80a3ccd8251abddc18435d81f3
Branch: master
.gitignore | 2 -
src/include/k5-int.h | 7 +-
src/include/k5-trace.h | 8 +
src/include/krb5/localauth_plugin.h | 139 ++++++
src/lib/krb5/krb/plugin.c | 3 +-
src/lib/krb5/os/Makefile.in | 73 +---
src/lib/krb5/os/an_to_ln.c | 784 -----------------------------------
src/lib/krb5/os/deps | 132 +++++--
src/lib/krb5/os/kuserok.c | 203 ---------
src/lib/krb5/os/localauth.c | 455 ++++++++++++++++++++
src/lib/krb5/os/localauth_an2ln.c | 59 +++
src/lib/krb5/os/localauth_k5login.c | 183 ++++++++
src/lib/krb5/os/localauth_names.c | 102 +++++
src/lib/krb5/os/localauth_rule.c | 338 +++++++++++++++
src/lib/krb5/os/os-proto.h | 9 +
15 files changed, 1426 insertions(+), 1071 deletions(-)
From: ghudson@mit.edu
Subject: SVN Commit

Add tests for localauth interface

Create a test module, program, and script to exercise the
krb5_aname_to_localname and krb5_k5userok functions as well as the
localauth pluggable interface.

https://github.com/krb5/krb5/commit/b8696b1ed70ffebbeee7142f1e5e086d75ce4e30
Author: Greg Hudson <ghudson@mit.edu>
Commit: b8696b1ed70ffebbeee7142f1e5e086d75ce4e30
Branch: master
.gitignore | 1 +
src/Makefile.in | 1 +
src/configure.in | 1 +
src/plugins/localauth/test/Makefile.in | 29 ++++
src/plugins/localauth/test/deps | 23 +++
src/plugins/localauth/test/localauth_test.exports | 2 +
src/plugins/localauth/test/main.c | 169 +++++++++++++++++++++
src/tests/Makefile.in | 12 +-
src/tests/t_localauth.c | 72 +++++++++
src/tests/t_localauth.py | 144 ++++++++++++++++++
10 files changed, 450 insertions(+), 4 deletions(-)
From: ghudson@mit.edu
Subject: SVN Commit

Document localauth interface

https://github.com/krb5/krb5/commit/4aec0626fffea5d7e060979c2a4dc9555beae96a
Author: Greg Hudson <ghudson@mit.edu>
Commit: 4aec0626fffea5d7e060979c2a4dc9555beae96a
Branch: master
doc/admin/conf_files/krb5_conf.rst | 35 +++++++++++++++++++++++++++++
doc/plugindev/index.rst | 1 +
doc/plugindev/localauth.rst | 43 ++++++++++++++++++++++++++++++++++++
3 files changed, 79 insertions(+), 0 deletions(-)