<p>(pt-BR) Olá Marcos,</p><p>Eu tinha me deparado com este mesmo problema a
um tempo atrás, eu retirei o default e mudei de Date para IncidentDate, isso
resolveu.</p><p>----</p><p>(en-US) Hi, Marcos,</p><p>I saw this problem a time ago,
I delete the default in ID and replace Date to IncidentDate, appers to work
fine.</p><p><br
/>--------------------------------------------------------------------------------<br
/> I was making some tests with the freeradius 2 install, and found that <br /> the
creation schema for the "badusers" table for dialupadmin (in the <br />
/dialup_admin/sql/mysql folder) has 2 problems:<br /> <br /> #<br /> # Table
structure for table 'badusers'<br /> #<br /> CREATE TABLE badusers (<br /> id
int(10) DEFAULT '0' NOT NULL auto_increment,<br /> UserName varchar(30),<br />
IncidentDate datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,<br /> Reason
varchar(200),<br /> Admin varchar(30) DEFAULT '-',<br /> PRIMARY KEY (id),<br
/> KEY UserName (UserName),<br /> KEY Date (Date)<br /> );<br /> <br /> The
first is in the 'id' creation line. Starting with version 4.11 (I <br /> think its
this version), MySQL does not accept having a default value <br /> when you use
auto_increment. So, "id int(10) NOT NULL auto_increment" <br /> would be
the correct entry.<br /> <br /> The second problem is in the last line. There is a
reference to 'Date' <br /> beeing used as key, but the 'Date' was not created.
There is no <br /> reference creating it. Checking version 1.1.7, the line was
" Date <br /> datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,". Now,
was it removed <br /> because it's no longer used, or was it removed by accident,
ir should it <br /> be renamed to the "IncidentDate" field? I guess it
would be the last <br /> option....<br /> <br /> Thanks,<br /> <br /> Roberto<br />
<br /> -- <br /> -----------------------------------------------------<br />
Marcos Roberto Greiner<br /> <br /> Os otimistas acham que estamos no
melhor dos mundos<br /> Os pessimistas tem medo de que isto seja verdade<br />
Murphy<br />
-----------------------------------------------------<br /> <br /> -<br /> List
info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br /> <br
/> <br /> <br /> <br /> <br /> <br /> <br /> <br /></p>
<br>------------------------------------------------------------------------------------------------------<br>
<b>Acelerador POP</b><br>
Acelere a sua conexão discada em até 19 x. Use o Acelerador POP. É grátis, pegue já o seu.<br>
http://www.pop.com.br/acelerador