Samba 2.0.7 is zeroing out machine account password file (RESEND)

Eric Boehm boehm at
Tue Nov 7 17:37:16 GMT 2000

On Wed, Aug 16, 2000 at 11:34:00AM -0500, Gerald Carter wrote:
>>>>> "Jerry" == Gerald Carter <gcarter at> writes:

    Jerry> It was (i've moved this thread back there since samba-technical
    Jerry> archives work.

    Jerry> I'll have to look into this and get back to you (maybe this weekend
    Jerry> or first of the week).  Ping me if you don't hear something back by
    Jerry> then.

I sent the original message to the list on August 8, 2000. I received a
response from Jerry on August 16 and asked him again on August 22. 

I have had another re-occurrence of this problem. A zero length password file
was generated. I had saved a copy of the machine account file before it was
changed. However, I replaced the zero length file with the old version but it
didn't work. The password must have changed but was not recorded since the
file was zero length.

This is a rather urgent problem for us. I'm never able to intentionally
reproduce the problem since it occurs only when the machine account password
changes and then not all the time.

Here are the latest log messages:

[2000/11/07 10:57:33, 0, pid=27505] /usr/local2/software/source/common/samba-2.0.7/source/passdb/smbpassfile.c:trust_password_lock(119)
  trust_password_lock: cannot open file /usr/local/samba/private/PCNTRTP.ZRTPS078.mac - Error was No such file or directory.
[2000/11/07 10:57:33, 0, pid=27505] /usr/local2/software/source/common/samba-2.0.7/source/smbd/process.c:timeout_processing(930)
  process: unable to open the machine account password file for machine ZRTPS078 in domain PCNTRTP.
[2000/11/07 10:58:53, 0, pid=27764] /usr/local2/software/source/common/samba-2.0.7/source/passdb/smbpassfile.c:get_trust_account_password(202)
  get_trust_account_password: Malformed trust password file (wrong length - was 0, should be 45).

Oddly enough, I see messages complaining that it can't find the file when the
file *does* exist at the path specified.

Eric M. Boehm                               boehm at

More information about the samba-technical mailing list