Password changed, but old password still working

I’ve changed the password for MyBook Live, but the old password (along with the new password) is still working for devices which I had previously logged in (as SMB share).

Is there a way to block the old password so that I can exclusively use the new one?

Thanks.

Issue resolved. Apparently changing user passwords doesn’t change the passwords for Samba shares. That’s why I could still log in with the old passwords.

I used

smbpasswd

to change the passwords. Everything is working as expected now.

I’m glad this is resolved.