TDB on OpenBSD problem.

samba-technical at samba-technical at
Fri May 4 16:21:53 GMT 2001

On Fri, May 04, 2001 at 11:36:50AM -0400, MCCALL,DON (HP-USA,ex1) wrote:
> I compiled and ran your test program on my test box here. (added a start and
> end printf, just cause I am suspicious by nature of programs that don't talk
> to me... ;->)
> Note-  this is a test box, and getting no real useage, and I have not been
> able to make the tdb expansion problem occur here yet.  But I saw another
> post that indicated that someone else HAD gotten errors when they ran your
> test program on 10.20, and 11.0 so I wanted to give you my experience as
> well. 
> HPUX 10.20: cc -Ae -D_HPUX_SOURCE -D_POSIX_SOURCE tdbtest.c -o tdbtest
> HPUX 10.20: ./tdbtest
> Program started
> Program ended

What patches exist on this machine?

> HPUX 11.00:cc -Ae -D_HPUX_SOURCE -D_POSIX_SOURCE tdbtest.c -o tdbtest
> HPUX 11.00: ./tdbtest
> Program started
> mismatch at 3000 (17 0)
> not equal on line 58!
> I have been checking our patch database for 10.20 and 11.0, and
> there were a number of issues with consistency between mmap and
> filesystem writes, so I believe on the HP-UX side of things, if
> someone is having this issue they just need to get the latest OS
> patches installed to address this.  Might  I suggest that if we are
> going to remain dependent on mmap in 2.2.x, we make your little test
> a part of the configure; spouting out a warning about "mmap and
> write inconsistency possibility on this machine; contact your vendor
> for information on possible patches to this problem" ?  I believe
> that PHKL_18543 is the patch that addresses this on 11.0, but I have
> not had time to install and test this as of yet.

We have PHKL_18543 installed on our 11.00 box.

albert chin (china at

More information about the samba-technical mailing list