BEFORE YOU COMPILE staterror change user and password to something that works for you line 17 and 18 in staterror.c I first opened up two terminal windows then issued the following command in one of the terminals /usr/sbin/tcpdump -s 0 -w ftime-problem.pcap after that I ran ./staterror smb://10.168.1.133/Data/Niva.txt (which is an existing file on our LAN) in the other terminal window the result of tcpdump is in ftime-problem.pcap staterror will first display the stat time results of the file you specify in the parameter and then display the stat time results of staterror.c (local file) ## example output from us ## ############################ ./staterror smb://10.168.1.133/Data/Niva.txt SAMBA mtime:1134731039/Fri Dec 16 12:03:59 2005 ctime:1134052334/Thu Dec 8 15:32:14 2005 atime:1/Thu Jan 1 01:00:01 1970 LOCAL mtime:1134744105/Fri Dec 16 15:41:45 2005 ctime:1134744105/Fri Dec 16 15:41:45 2005 atime:1134744368/Fri Dec 16 15:46:08 2005 ############################ atime returns 1 for the network file, which is NOT CORRECT!