vfs audit module

Sevastian `Seva` Foglia sevastian at linuxtime.it
Fri Dec 12 08:33:15 GMT 2003


On Thursday 11 December 2003 19:31, you wrote:
> Thank you, oh well i did a quick look onto code and couldnt find where they
> declared the struct connection_struct, if you could please tell me whats
> inside the struct and what every struct represents i would like a lot :)
>
>
> thanks,
Sorry, but I cannot explain what this struct represents...
Look at this link:
http://us1.samba.org/samba/devel/docs/html/Samba-Developers-Guide.html
You can find a lot of information about samba code.
Bye Seva

>
> ----- Original Message -----
> From: "Sevastian Foglia" <sevastian at linuxtime.it>
> To: "Bruno Lopes de Souza Benchimol" <brunobenchimol at bno.com.br>
> Cc: <samba-technical at lists.samba.org>
> Sent: Wednesday, December 10, 2003 7:54 AM
> Subject: Re: vfs audit module
>
> > On Tuesday 09 December 2003 17:25, Bruno Lopes de Souza Benchimol wrote:
> > > Im getting some problems with the audit module, in fact its logging
> > > everything that i need although it lacks information of who did it,
> > > like netbios name, ip address and username who did the action,
> >
> > You can get this information from connection_struct. For example:
> >
> > conn->client_address // the client who perform the operation
> > conn->uid // the user who perform operation
> >
> > >also it logs everything to syslog, it would be better to log into a
> > > file. that the user
> > > could say in vfs options = file or it gets sharename_audit.log
> >
> > You can specify the file in syslog.conf.
> >
> > > I peek at the code and i actually saw (at least think) that it doesnt
> > > do anything that i need... so is there any way that do those things i
> > > said
>
> or
>
> > > i need to rewrite the module?? if i need to rewrite i would like a
> > > small help.
> > >
> > > thanks,
> >
> > Bye Seva
> > --
> > Sevastian Foglia, YACME s.r.l.
> > Undergraduate in Computer Science (3-Year Course)
> > University of Bologna, Italy



More information about the samba-technical mailing list