Re: sql counter Re:

2012-12-07 Thread Jed Gainer
%b is the unix time stamp of 8am on current day. mktime(8, 0, 0) in PHP seems to generate the same value as %b if anyone has this same question. :) On Fri, Dec 7, 2012 at 9:11 AM, Jed Gainer wrote: > I looked though the SQL database. I don't see anything related to %b. > > On Fri, Dec 7, 2012 a

Re: computer authentication

2012-12-07 Thread Matthew Newton
On Fri, Dec 07, 2012 at 12:39:13PM -0600, Dan Letkeman wrote: > Sorry, I was not clean with my setup information. We do not have a domain, > these are stand alone windows 7 devices. We also have some tablets and > some linux boxes. Concern right now is the Windows 7 devices. I didn't > know tha

Re: computer authentication

2012-12-07 Thread Dan Letkeman
Sorry, I was not clean with my setup information. We do not have a domain, these are stand alone windows 7 devices. We also have some tablets and some linux boxes. Concern right now is the Windows 7 devices. I didn't know that you cannot do machine authentication without a domain User auth

Re: computer authentication

2012-12-07 Thread Alan Buxey
Hi, you probably want to set peap as your default EAP type in eap.conf to save s couple of packets and a NAK. I don't see the ntlm_auth being called, have you edited the mschap module? The host name is rather shortare you sure this host is bound into an AD? alan - List info/subscribe/un

Re: sql counter Re:

2012-12-07 Thread Jed Gainer
I looked though the SQL database. I don't see anything related to %b. On Fri, Dec 7, 2012 at 4:03 AM, Alan DeKok wrote: > Jed Gainer wrote: >> /etc/raddb/sql/mysql/counter.conf >> >> there is >> >> %b unix time value of beginning of reset period > ... >> how would i get the value of %b for a

Re: computer authentication

2012-12-07 Thread Phil Mayers
On 07/12/12 16:34, Dan Letkeman wrote: [mschapv2] # Executing group from file /etc/raddb/sites-enabled/inner-tunnel [mschapv2] +- entering group MS-CHAP {...} [mschap] No Cleartext-Password configured. Cannot create LM-Password. [mschap] No Cleartext-Password configured. Cannot create NT-Passw

sql counter Re:

2012-12-07 Thread Alan DeKok
Jed Gainer wrote: > /etc/raddb/sql/mysql/counter.conf > > there is > > %b unix time value of beginning of reset period ... > how would i get the value of %b for a user from say PHP so i can calc > and show them how much bandwidth they have left? Query the database. The schema is availabl