[Samba] Automatic change of machine passwords seems to brake trust relationship for Windows 7 clients

Peter Rindfuss rindfuss at wzb.eu
Mon Aug 9 07:44:08 MDT 2010

On 2010-08-09 14:18, Stefan Oberwahrenbrock wrote:
> We are observing the following phenomenon: After 30 days our Windows 7
> clients lose their trust relationship with the samba domain. We think, that
> the automatic machine password change on these clients fails.

I posted a message about the very same problem on July 15.

I think it does not always happen after 30 days (or whatever the change 
interval is set to), but only occurs when the machine password change 
time has arrived and the computer is on, but not no one is logged on 
(i.e. the login box is shown).

Since we are only starting to deploy Windows 7, we simply turned the 
machine password change off in the registry of our imaged installation 
and the few real installations. We had no more problems afterwards.

There are three ways to change the machine password behavior:

DisablePasswordChange = dword:1


MaximumPasswordAge = dword:1000000


Server-Registry (if you have a Windows server)
RefusePasswordChange = dword:1

With Samba + OpenLDAP, set
sambaRefuseMachinePwdChange = 1
in the sambaDomainName=.... entry.


More information about the samba mailing list