feat: enable MS-CHAP error reporting to improve authentication feedback on Windows and iOS
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 1m45s
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 1m45s
This commit is contained in:
@@ -2,4 +2,10 @@ mschap {
|
|||||||
# Send MS-CHAP-Error with E=691 on authentication failure,
|
# Send MS-CHAP-Error with E=691 on authentication failure,
|
||||||
# so iOS / Windows show "Incorrect Password" instead of "Unable to join network".
|
# so iOS / Windows show "Incorrect Password" instead of "Unable to join network".
|
||||||
send_error = yes
|
send_error = yes
|
||||||
|
|
||||||
|
# Force the rejection format to return the MSCHAPv2 failure code
|
||||||
|
# (Error 691 explicitly maps to an incorrect password on iOS)
|
||||||
|
passchange {
|
||||||
|
ntlm_auth = "/usr/bin/ntlm_auth"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user