Skip to content

Commit

Permalink
auth: Update default policy string to include device id and protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Apr 5, 2017
1 parent 670a335 commit a839608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth-settings.c
Expand Up @@ -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,

Expand Down

0 comments on commit a839608

Please sign in to comment.