vfs audit

Sevastian `Seva` Foglia sevastian at linuxtime.it
Tue Dec 16 15:47:05 GMT 2003


On Tuesday 16 December 2003 16:31, Bruno Lopes de Souza Benchimol wrote:
> People, so far i got samba logging those informations ...
>
> Dec 12 12:57:31 master smbd_audit[29445]: User: misty Uid: 1000 Addr:
> 137569368 unlink Novo(a) Documento de texto.txt
>
>
> and the code from vfs audit is:
>
>         syslog(audit_syslog_priority(handle), "User: %s Uid: %d Addr: %d
                                                                                                                 ^^^^^^^^^^^
					
> unlink %s %s%s\n",
> s%s\n",
>                conn->user, conn->uid, conn->client_address,
>                path,
>                (result < 0) ? "failed: " : "",
>                (result < 0) ? strerror(errno) : "");
>
conn->client_address is a string!!!!
Did you see include/smb.h?
In this file you can see the definition of connection_struct...
Seva



More information about the samba-technical mailing list