Bug 1256 - incorrect date of locks on big-endian 64-bit arch
Summary: incorrect date of locks on big-endian 64-bit arch
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.2a
Hardware: All FreeBSD
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-11 04:01 UTC by Alex Deiter
Modified: 2006-04-08 11:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Deiter 2004-04-11 04:01:32 UTC
I'm using Samba 3.0.2a PDC on FreeBSD 5.2.1 sparc64. smbstatus show me incorrect
date of file locks (always 01.01.1970 00:00:00+TZ offset):
# smbstatus -u tiamat

Samba version 3.0.2a
PID     Username      Group         Machine
-------------------------------------------------------------------
35316   tiamat        users         host         (1.1.1.1)

Service      pid     machine       Connected at
-------------------------------------------------------
bss          35316   host          Sun Apr 11 14:44:23 2004
Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
35316  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/home/samba/bss/NEC_Alarm_DB25_1+1.doc   Thu Jan  1 04:00:00 1970

Samba build as: ELF 64-bit MSB executable, SPARC V9.

# smbd -b:
...
Type sizes:
   sizeof(char):    1
   sizeof(int):     4
   sizeof(long):    8
   sizeof(uint8):   1
   sizeof(uint16):  2
   sizeof(uint32):  4
   sizeof(short):   2
   sizeof(void*):   8

Tnaks a lot!
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:26:17 UTC
database cleanup
Comment 2 Gerald (Jerry) Carter (dead mail address) 2006-04-08 11:46:09 UTC
please reopen if the bug still exists in a current release.