Gaffey, Mike
2003-Jan-29 00:35 UTC
[Samba] Win2k DC no longer authenticates for Samba shares (th at fixed it)
-----Original Message----- From: Paul Taylor To: Michael Bartosh; Gaffey, Mike Cc: 'samba@lists.samba.org' Sent: 1/28/2003 4:46 PM Subject: Re: [Samba] Win2k DC no longer authenticates for Samba shares [snip]>Jan 27 19:25:51 mark smbd[13448]: [2003/01/27 19:25:51, 0] >rpc_client/cli_trust.c:change_trust_account_password(247) >Jan 27 19:25:51 mark smbd[13448]: 2003/01/27 19:25:51 : >change_trust_account_password: Failed to change password for domain >DOMAINNAME.I've seen this error whenever I upgrade Samba; it appears to invalidate the previous domain membership, even though I copy the secrets.tdb etc. files across to the new version. I think I've also seen it when I tried joining a domain that Samba was already a member of - it cancels the previous membership? The only workaround I've found to date is to delete the machine from the domain on the domain controller, add it back and the join the domain from Samba ("smbpasswd -j domain".) The last step may not be strictly necessary, but it confirms that Samba and the DC are on speaking terms again. Any ideas on how to avoid these problems would be appreciated. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Taylor taylpm@si1.dod.gov.au Thanks!! I am also very interested in why that works and what causes the problem.
Michael Bartosh
2003-Jan-29 00:49 UTC
[Samba] Win2k DC no longer authenticates for Samba shares (th at fixed it)
On Tuesday, January 28, 2003, at 05:35 PM, Gaffey, Mike wrote:> > The only workaround I've found to date is to delete the machine from > the > domain on the domain controller, add it back and the join the domain > from Samba ("smbpasswd -j domain".) The last step may not be strictly > necessary, but it confirms that Samba and the DC are on speaking terms > again.I've tried this- many many times. smbpasswd always reports success. But- no dice when a client connects.