]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Include nested password parent name in warning
authorNick Porter <nick@portercomputing.co.uk>
Mon, 5 May 2025 07:55:26 +0000 (08:55 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 5 May 2025 07:55:26 +0000 (08:55 +0100)
To avoid confusing users

src/modules/rlm_mschap/rlm_mschap.c

index 7c932765512e2d087b0f0519105e18c7ea98d534..589966642533d161094c555294f4d9ac742aba59 100644 (file)
@@ -1516,8 +1516,9 @@ static int CC_HINT(nonnull(1, 2, 3)) nt_password_find(TALLOC_CTX *ctx, fr_pair_t
                        /*
                         *      If we're doing internal auth, then this is an issue
                         */
-                       RWDEBUG2("No control.%s or control.%s found.  Cannot create Password.NT",
-                                attr_cleartext_password->name, attr_nt_password->name);
+                       RWDEBUG2("No control.%s.%s or control.%s.%s found.  Cannot create Password.NT",
+                                attr_cleartext_password->parent->name, attr_cleartext_password->name,
+                                attr_nt_password->parent->name, attr_nt_password->name);
                        return -1;
 
                /*