From: aland Date: Tue, 29 Apr 2008 09:06:20 +0000 (+0000) Subject: Use Cleartext-Password, not User-Password X-Git-Tag: release_2_0_4~16 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=004f7f0e2784b26b11a93b4976ee626e51b9cbf6 Use Cleartext-Password, not User-Password --- diff --git a/scripts/create-users.pl b/scripts/create-users.pl index 1faa406..c3f681a 100755 --- a/scripts/create-users.pl +++ b/scripts/create-users.pl @@ -50,7 +50,7 @@ for ($num=0; $num<$numusers; $num++) { printf SHAD "$username:%s:1000:0:99999:7:::\n", crypt($password, $password); printf RAD "User-Name=$username, User-Password=$password,NAS-IP-Address=127.0.0.1,NAS-Port-Id=0\n\n"; print NOCRYPT "$username:$password\n"; - print USERS "$username Auth-Type:=Local, User-Password==\"$password\"\n\tClass=\"0x$num\"\n\n"; + print USERS "$username Cleartext-Password := \"$password\"\n\tClass=\"0x$num\"\n\n"; } close(PASS);