summaryrefslogtreecommitdiff
path: root/nsswitch/wscript_build
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-06-15 14:59:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-21 15:52:02 +0200
commit5e89a23ffaceccdc83d70a4ab2798ae25c10d580 (patch)
tree1afcb39c8e48f5c01e79e6f4b953f6a108efc94b /nsswitch/wscript_build
parent47c315551745d624a8bf2eb77c7c829163ac5e9e (diff)
downloadsamba-5e89a23ffaceccdc83d70a4ab2798ae25c10d580.tar.gz
krb5_plugin: Add winbind localauth plugin for MIT Kerberos
Applications (like OpenSSH) don't know about users and and their relationship to Kerberos principals. This plugin allows that Kerberos principals can be validated against local user accounts. Administrator@WURST.WORLD -> WURST\Administrator https://web.mit.edu/kerberos/krb5-latest/doc/plugindev/localauth.html BUG: https://bugzilla.samba.org/show_bug.cgi?id=13480 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Jun 21 15:52:02 CEST 2018 on sn-devel-144
Diffstat (limited to 'nsswitch/wscript_build')
-rw-r--r--nsswitch/wscript_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index ab8f8eaf270..15e93db2f05 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -110,6 +110,12 @@ if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
deps='wbclient krb5 com_err',
realname='winbind_krb5_locator.so')
+if bld.CONFIG_SET('HAVE_KRB5_LOCALAUTH_PLUGIN_H'):
+ bld.SAMBA_LIBRARY('winbind_krb5_localauth',
+ source='krb5_plugin/winbind_krb5_localauth.c',
+ deps='wbclient krb5 com_err',
+ realname='winbind-krb5-localauth.so')
+
bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
source='wb_reqtrans.c',
deps='talloc tevent LIBASYNC_REQ'