Hi.
First of all I would like to clarify my vision:
I want to host my own validation server. I have MSSQL 05 Db, and php 5.2.x
. I have downloaded and successfully implemented ksm. And now I am trying to run my validation server and I am failing all the time. The most recent issue is that in function
Code:
getAuthData($conn, $devId) {
$publicName = modhex2b64($devId);
$stmt =
'SELECT id, active, counter, sessionUse, low, high, accessed '.
'FROM ksm_yubikeys '.
'WHERE publicName='.mssql_quote($publicName);
$r = query($conn, $stmt);
if (mssql_num_rows($r) > 0) {
$row = mssql_fetch_array($r);
mssql_free_result($r);
return $row;
}
return null;
}
I get errors about invalid columns names 'counter' 'sessionUse' 'low' 'high' 'accessed'. And I know it is true, because my ksm_yubikeys table looks like this: [id] ,[serialNr] ,[publicName] ,[created] ,[internalName],[aesKey] ,[lockCode] ,[creator] ,[active] ,[hardware]. I though about creating a new table, but in this forum thread
viewtopic.php?f=5&t=393 there is nothing about any additional data tables.
Thanks for any clues.