From a8396081c30f2e3b793b644da10ad875cb2417f3 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 5 Apr 2017 09:26:54 +0300 Subject: [PATCH] auth: Update default policy string to include device id and protocol --- 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 f5477bbe74..43105e1a52 100644 --- a/src/auth/auth-settings.c +++ b/src/auth/auth-settings.c @@ -298,7 +298,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=%{orig_username} pwhash=%{hashed_password} remote=%{real_rip}", + .policy_request_attributes = "login=%{orig_username} pwhash=%{hashed_password} remote=%{real_rip} device_id=%{client_id} protocol=%s", .policy_reject_on_fail = FALSE, .policy_hash_truncate = 12,