From 6ad8dc4a4fa855499dec9a89193179b8c7a7e8b7 Mon Sep 17 00:00:00 2001 From: Markus Valentin Date: Fri, 20 Mar 2020 15:57:12 +0100 Subject: [PATCH] auth: Add session_id to default policy_request_attributes --- src/auth/auth-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/auth-settings.c b/src/auth/auth-settings.c index 3a077ba1b0..cdda11330a 100644 --- a/src/auth/auth-settings.c +++ b/src/auth/auth-settings.c @@ -306,7 +306,7 @@ static const struct auth_settings auth_default_settings = { .policy_server_timeout_msecs = 2000, .policy_hash_mech = "sha256", .policy_hash_nonce = "", - .policy_request_attributes = "login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s", + .policy_request_attributes = "login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s session_id=%{session}", .policy_reject_on_fail = FALSE, .policy_check_before_auth = TRUE, .policy_check_after_auth = TRUE, -- 2.47.3