Show us debug log when accounting packets arrive at your server. If you're NAS aren't sending accounting packets and your server isn't configured to put info from those accounting datagrams into sql then your tables will be empty and your queries will result in empty replies alan