[Samba] preexec with win 10

Roberto Tagliaferri - Tosnet srl r.tagliaferri at tosnet.it
Wed Feb 19 08:05:52 UTC 2020


Sorry for the english :)

Good morning, i've a little network with samba 4.2 on centos 6, NT style 
domain and win7 client.
I've a root preexec and root postexec for tracking logon and logoff to the 
share.

root preexec = /usr/bin/log_access.php "%L" "%U" "%G"  "%S" "%I" "%m" ON
root postexec = /usr/bin/log_access.php "%L" "%U" "%G"  "%S" "%I" "%m" OFF

I've add a win10 client, of course without domain but a simple set of share.
The preexec work in strange mode:
This client logon approx at 9.00 am and logof near 01.00pm but in log i see 
this:

14/02/2020 13:14 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt ON
14/02/2020 14:40 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt OFF
17/02/2020 13:31 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt ON
17/02/2020 15:30 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt OFF
18/02/2020 14:49 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt ON
18/02/2020 16:48 server-tosnet emissionefatture emissionefatture 
lavori-ilaria 192.168.0.246 lenovo-emfatt OFF

i've nothing logon at 9.00 but i've ON when the pc is disconnected from the 
share

Where is the problem?


-- 
TosNet.it 	
	
	
	Roberto Tagliaferri

Responsabile Progettazione & Produzione
TosNet s.r.l. - Internet Service Provider
*Office*: 	+39 0574 875 100
*Mobile*: 	+39 329 591 3899
*Fax*: 	+39 0574 875 199
*Email*: 	r.tagliaferri at tosnet.it <mailto:r.tagliaferri at tosnet.it>
*Web*: 	www.tosnet.it <http://www.tosnet.it>
*Skype*: 	ilrobyt <skype:ilrobyt?call>



More information about the samba mailing list