mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
203754691c
This daemon listens for RADIUS packets on a well known UNIX domain socket. When a packet is received, it queries LDAP to see if the user is configured for RADIUS authentication. If so, then the packet is forwarded to the 3rd party RADIUS server. Otherwise, a bind is attempted against the LDAP server. https://fedorahosted.org/freeipa/ticket/3366 http://freeipa.org/page/V3/OTP
22 lines
670 B
Makefile
22 lines
670 B
Makefile
AM_CFLAGS := $(CFLAGS) @LDAP_CFLAGS@ @LIBVERTO_CFLAGS@
|
|
AM_LDFLAGS := $(LDFLAGS) @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@
|
|
|
|
noinst_HEADERS = internal.h
|
|
libexec_PROGRAMS = ipa-otpd
|
|
dist_noinst_DATA = ipa-otpd.socket.in ipa-otpd@.service.in test.py
|
|
systemdsystemunit_DATA = ipa-otpd.socket ipa-otpd@.service
|
|
|
|
ipa_otpd_SOURCES = bind.c forward.c main.c parse.c query.c queue.c stdio.c
|
|
|
|
%.socket: %.socket.in
|
|
@sed -e 's|@krb5kdcdir[@]|$(krb5kdcdir)|g' \
|
|
-e 's|@UNLINK[@]|@UNLINK@|g' \
|
|
$< > $@
|
|
|
|
%.service: %.service.in
|
|
@sed -e 's|@libexecdir[@]|$(libexecdir)|g' \
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
$< > $@
|
|
|
|
CLEANFILES = $(systemdsystemunit_DATA)
|