]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more cleanups
authorAlan T. DeKok <aland@freeradius.org>
Mon, 2 Oct 2023 11:41:22 +0000 (07:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 2 Oct 2023 12:13:59 +0000 (08:13 -0400)
doc/antora/modules/howto/pages/modules/mschap/index.adoc

index 70a8ff0fa7911a4fe7dd1f21f3392ab58f80275b..f56bb46f53d41a8ffa3829b4b21f6c511703ede0 100644 (file)
@@ -81,8 +81,8 @@ mschap {
 
     # initial data to send
     # this MUST be supplied
-    ntlm_auth_username = "username: %(mschap:User-Name)"
-    ntlm_auth_domain = "nt-domain: %{%(mschap:NT-Domain) || 'YOURDOMAIN'}"
+    ntlm_auth_username = "username: %mschap(User-Name)"
+    ntlm_auth_domain = "nt-domain: %{%mschap(NT-Domain) || 'YOURDOMAIN'}"
 
     # Or, you could try:
     ntlm_auth_username = "full-username: %{User-Name}"
@@ -109,7 +109,7 @@ To do this, you configure the `local_cpw` string:
 ```
 mschap {
   passchange {
-    local_cpw = "%{xlat:…}
+    local_cpw = "%function{…}
   }
 }
 ```