CREATE TABLE audit (
    id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
    samba_host           VARCHAR(40) NOT NULL,
    date_day             DATE NOT NULL,
    date_time            TIME NOT NULL,
    username             VARCHAR(30) NOT NULL,
    client_ip            CHAR(15) NOT NULL,
    client_name          VARCHAR(50) NOT NULL,
    action               VARCHAR(15) NOT NULL,
    access_mode          VARCHAR(2) default NULL,
    status               VARCHAR(10) NOT NULL,
    share                VARCHAR(30) NOT NULL,
    file_src             VARCHAR(200) default NULL,
    file_dst             VARCHAR(200) default NULL
) ENGINE=MYISAM;
