Samba 4 diffs for building under HP-UX 11.11 (in gcc environment)

tridge at samba.org tridge at samba.org
Fri Aug 19 07:09:01 GMT 2005


Don,

 > I've re-added the default nobody/nogroup entries to gwen, and will take a look.

ok, we're getting close! It builds and install now, and the
provisioning works, but it fails 10 of our self tests.

Probably the strangest of the failures is the RAW-WRITE and RAW-READ
tests. The read calls which test that the server got the right data in
the files return OK, and give the right number of bytes, but the data
is zero?!  Data corruption is a very unusual symptom of a bad port.

This is certainly a very weird one. Could you possibly have a look at
the RAW-WRITE test? As a first step, try and see if its a client or
server problem by running smbtorture on HPUX but pointing it at
another known good server on a different OS (eg. a Samba server or a
windows server). If it works as a client then we know we need to step
through the server code.

We're also getting tdb corruption, which may be part of the same
read/write problem. We've had mmap coherence problems in the past on
HPUX, but I doubt those are the problem here, as we are running smbd
in -M single mode, so coherence shouldn't be an issue.

Cheers, Tridge


More information about the samba-technical mailing list