search for: preeexec

Displaying 2 results from an estimated 2 matches for "preeexec".

Did you mean: preexec
2003 Jun 28
0
Re: preeexec and samba
Well, you can run smbstatus from the preexec script. You can grep out the name of the user connecting and compare it to the %U or %u variable sent during the login to $IPC. This could get complicated. For example, your script would depend, maybe, on whether you have security = share or security = user. Here is a possibly useful tool for figuring out what you want. This smb.conf share, with the
2017 Mar 21
3
I need to log user logon and logoff
I need to log to a separated file just user/computer logon and logoff. I would like not to use log level > 2 to do this. I have tried using vfs_full_audit but it works well into shares definitions. I don't care if the user access a shared directory, I just need to record user login and logoff. Thanks