s3:libsmb: pass creation or birth time in cli_qpathinfo_basic()
authorGregor Beck <gbeck@sernet.de>
Fri, 11 Oct 2013 08:50:39 +0000 (10:50 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 30 Oct 2013 22:23:51 +0000 (15:23 -0700)
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clirap.c

index d6d2fae..e01e139 100644 (file)
@@ -1265,6 +1265,7 @@ NTSTATUS cli_qpathinfo_basic_recv(struct tevent_req *req,
                return status;
        }
 
+       sbuf->st_ex_btime = interpret_long_date((char *)state->data);
        sbuf->st_ex_atime = interpret_long_date((char *)state->data+8);
        sbuf->st_ex_mtime = interpret_long_date((char *)state->data+16);
        sbuf->st_ex_ctime = interpret_long_date((char *)state->data+24);