]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_files are not just keyed off user names
authorNick Porter <nick@portercomputing.co.uk>
Thu, 13 Jul 2023 15:48:02 +0000 (16:48 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 13 Jul 2023 15:48:02 +0000 (16:48 +0100)
src/lib/server/users_file.c

index 5fa108a7daefdfa4278dece197231533cf92392d..53d200dae54dfd9ad026989648be70318f6157d0 100644 (file)
@@ -315,12 +315,12 @@ int pairlist_read(TALLOC_CTX *ctx, fr_dict_t const *dict, char const *file, PAIR
                }
 
                /*
-                *      We're trying to read a name.  It MUST have
+                *      We're trying to read a key value.  It MUST have
                 *      been at the start of the line.  So whatever
                 *      this is, it's wrong.
                 */
                if (leading_spaces) {
-                       ERROR_MARKER(&sbuff, "Entry does not begin with a user name");
+                       ERROR_MARKER(&sbuff, "Entry does not begin with a key value");
                fail:
                        fclose(fp);
                        return -1;