From: Alan T. DeKok Date: Thu, 29 Jun 2017 16:53:01 +0000 (-0400) Subject: don't use MOD_SESSION for authorization X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bef0cd03c540e020439c4482b30e96dcb927d71;p=thirdparty%2Ffreeradius-server.git don't use MOD_SESSION for authorization --- diff --git a/src/modules/proto_tacacs/proto_tacacs.c b/src/modules/proto_tacacs/proto_tacacs.c index a8a35f456a6..963edaf1577 100644 --- a/src/modules/proto_tacacs/proto_tacacs.c +++ b/src/modules/proto_tacacs/proto_tacacs.c @@ -557,10 +557,10 @@ static int tacacs_listen_compile(CONF_SECTION *server_cs, UNUSED CONF_SECTION *l rcode = tacacs_compile_section(server_cs, "send", "Authentication", MOD_POST_AUTH); if (rcode < 0) return rcode; - rcode = tacacs_compile_section(server_cs, "recv", "Authorization", MOD_SESSION); + rcode = tacacs_compile_section(server_cs, "recv", "Authorization", MOD_AUTHORIZE); if (rcode < 0) return rcode; - rcode = tacacs_compile_section(server_cs, "send", "Authorization", MOD_SESSION); + rcode = tacacs_compile_section(server_cs, "send", "Authorization", MOD_POST_AUTH); if (rcode < 0) return rcode; rcode = tacacs_compile_section(server_cs, "recv", "Accounting", MOD_PREACCT);