RE: PHP MD5 with appended salt

2013-03-07 Thread René Klomp
 xlat are placeholders in strings, usually used for substituting attribute values, for example:     update reply { Reply-Message := Hello %{User-Name}  }    The %{User-Name} is an xlat expansion.    The xlat expansion %{md5:text} expands to an md5 hash of text. So you have

Re: PHP MD5 with appended salt

2013-03-07 Thread Alan DeKok
René Klomp wrote: Is there a better war to solve the loading of the sql module? If it do not include the else section, the %{sql:...} does not work. But if I place it outside the else or when the user enters the wrong password the database is queried twice. Add it to the instantiate

Re: PHP MD5 with appended salt

2013-03-07 Thread Olivier Beytrison
On 07.03.2013 17:15, René Klomp wrote: xlat are placeholders in strings, usually used for substituting attribute values, for example: Is there a better war to solve the loading of the sql module? If it do not include the else section, the %{sql:...} does not work. But if I place it

PHP MD5 with appended salt

2013-03-06 Thread René Klomp
Hi all, I am trying to connect my freeradius server to a mysql database containing all users. I created a new view to represent the table structure needed by freeradius, but I a problem with validating the passwords. The passwords of my users are (from a PHP application) concatenated with a

Re: PHP MD5 with appended salt

2013-03-06 Thread Olivier Beytrison
On 06.03.2013 17:29, René Klomp wrote: Hi all, I am trying to connect my freeradius server to a mysql database containing all users. I created a new view to represent the table structure needed by freeradius, but I a problem with validating the passwords. The passwords of my users are (from

RE: PHP MD5 with appended salt

2013-03-06 Thread René Klomp
On 06.03.20013 17:59 Olivier Beytrison wrote:    On 06.03.2013 17:29, René Klomp wrote:     Hi all,     I am trying to connect my freeradius server to a mysql database containing all users. I created a new view to represent the table structure needed by freeradius, but I a problem with

Re: PHP MD5 with appended salt

2013-03-06 Thread Arran Cudbard-Bell
At the moment I am testing with PAP. Ok. Because it will only ever work with PAP. What do you mean with 'the md5 xlat'. xlat are placeholders in strings, usually used for substituting attribute values, for example: update reply { Reply-Message := Hello %{User-Name} } The