Thanks for the fix Sheldon
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kostas Kalevras Sent: Wednesday, September 04, 2002 11:36 AM To: Freeradius-Users Subject: Re: DialAdmin - Password Change Problem On Wed, 4 Sep 2002, Sheldon Fougere wrote: > Hi, > > When using Dailup_Admin 1.55, I get the following error when trying to > change a user password: > > Error while changing password: You have an error in your SQL syntax near > 'AND op =) VALUES > ('User-Password','$1$2nzSd/8M$Svrz1Rs6Goe2oiwngQF2v/','she' at line 1 > > I've looked for SQL statements in the Dialup_Admin files (sql.attrs, > sql.attrmap) but couldn't find anything in there. Is this a problem with > the sql.conf in the /etc/raddb directory? > > I am using an earlier version of 0.7 Freeradius. > > Thanks, > Sheldon OK, do a cvs update from the freeradius cvs or in lib/sql/change_passwd.php3 after if ($config[sql_use_operator] == 'true'){ $text1 = ',op'; $text2 = ",':='"; $text3 = "AND op = ':='"; } add else{ $text1 = ''; $text2 = ''; $text3 = ''; } Thanks for the bug report -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 10 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
