[Samba] Windows cant access shared directories after changed password with smbpasswd

Rowland Penny rpenny at samba.org
Mon Jun 26 12:23:22 UTC 2017


On Mon, 26 Jun 2017 09:03:31 -0300
Cesar Martins via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> 
>    - OpenSuse 42.2
>    - Samba Version 4.4.2-11.3.1-3752-SUSE-SLE_12-x86_64
> 
> I'm using samba for file sharing, where users have some control of the
> shares.
> 
> This is a standalone server
> 
> All works fine, the user was created and added on the samba host with
> smbpasswd -a <user>
> 
> *The problem is*, when the samba password is changed using smbpasswd
> <user> , the Windows machines no longer have access. It prompts again
> for user/password, but suppyling the correctly credentials fails to
> have them authenticated. If I change the password back to the
> previous value with smbppasswd. authentication works again, without
> prompting for the password again.
> 
> Looks like Windows is caching the user/password and even if I supply
> the credentials in the prompt, it's still sending the old password to
> the samba server.
> 
> I'm sure the password was changed, because testing smbclient,
> supplying the new password, it works fine.
> 
> This problem occurs with Windows XP and Windows 8.
> 
> *Is there someway to force "flush" this user/password at the Windows
> client ?* *or make this password expire....*
> 

Did you change the Windows password at the same time ?

Rowland



More information about the samba mailing list