The Samba-Bugzilla – Attachment 1625 Details for
Bug 3339
libsmbclient smbc_stat returns wrong mtime and atime
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Readme how we went about with this problem
README (text/plain), 1.03 KB, created by
Henrik (dead mail address)
on 2005-12-19 07:07:45 UTC
(
hide
)
Description:
Readme how we went about with this problem
Filename:
MIME Type:
Creator:
Henrik (dead mail address)
Created:
2005-12-19 07:07:45 UTC
Size:
1.03 KB
patch
obsolete
>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!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3339
:
1623
|
1624
| 1625 |
1626