[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Error in passwordparsing
From:       Arran Cudbard-Bell <a.cudbardb () freeradius ! org>
Date:       2015-07-24 12:37:15
Message-ID: 3EF8F48B-24A5-4087-98E8-B8080C451AA3 () freeradius ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> On 24 Jul 2015, at 05:25, Herwin Weststrate <herwin@quarantainenet.nl> wrote:
> 
> On 24-07-15 10:39, Stabla, Daniel wrote:
>> Hello,
>> 
>> don't know if it's a bug or a change (doesn't found anything in the
>> release notes), but if
>> you use commas for the password in e.g. clients.conf, then the password
>> itself gets malformed.
> 
> I assume you mean a shared secret here, not a password. The problem here
> is the config parser, that threats a comma as a split character. If I
> change the default from "testing123" to "testing123,45", I get the
> following message:
> 
> Warning: etc/raddb/clients.conf[100]: The item '45' is defined, but is
> unused by the configuration
> 
> And the shared secret "testing123" works just fine.
> 
> Adding some quotes around the shared secret solves the problem, so IMHO
> it's not a bug.

I know the change and the reason for it, and it's not a bug.  Wrap the string in quotes.

Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.27
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVsjF7AAoJEP+k1YKfttfKXSkQAIyQvj2Tq3qVBoS6BUgIN5ay
UQy4btlFkhx4ziN0/tDhxsRCDiME53SWP/cYolDVYZFYIcVAL6fY2RNbnelSFViX
/ukmGYlHGEBr1L9f0Zjgi7gwfeuizVp8EKjN5qkm6Oyxh1YW6E5ksDhGkyv9rkXx
C+c2Rnfx1BLhllt5S/zu6dEw19KWq2L19Dqh1Myi7NiAbU2XW2jeHD+OqG8g1Ip+
cKKEJOWg1kJfPGUwKz2I6e0I1ECTupJOk53dW2Icy/W8j2KEC0fnK3qxB+DTD2Ve
DG6FSCqrBmsMnNtOiA2U9bRCxK9Ei87HFcx3PL43gfCgOEwyZqJA3ZFVm9zvQXCR
gRYZpUmSVbRwdTFBReioq+NebBtNh9rmlFp0WKU2TeuQdiZFY/sdqxfMnGGfMF7D
IqcUyxBggFBhAwnYrtL8Q7ul5QdRgxuCvsGwP/5+TDEK+yoj9FMXbRISYz91JuMo
G3musY5IXTHfAxSF67dMHKySP3mRV4Kr3B8m4/4SwEtOIIKaplJ5ny237/O9mOJc
Ch/ueyJ4NX9aX77F0t48MCH69yMrKNsdp7MYQW5YZYX0ysDqdoEAjFWCRgxgA5cR
9ltoNAFDevH0bvEEdDfonAtO2CVqNZ0t/aKf+aWXqcRhEC+kk+P8LQtSS1LNyZGY
C2JHA+7LhP6pKWCEshyn
=fc5v
-----END PGP SIGNATURE-----

[Attachment #6 (text/plain)]

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic