[Samba] How to disable password caching in windows client

TAKAHASHI Motonobu monyo at monyo.com
Tue Jul 19 08:22:12 MDT 2011


From: Yu Liao <liaoyu17 at gmail.com>
Date: Tue, 19 Jul 2011 18:38:13 +0800

> I want to input user name and password every time I access the share, so I
> want to disable password caching in windows client.

Windows automatically sends the current logon user's name and auth
information, it's by design of Windows.

If the user's name and password to access the share are different from
the current logon user's ones, you can input your user's name and
password every time to explicitly disconnect from the share using "net
use /d" command or "net session \\computername /delete" on Windows.

Anyway it's the matter about Windows' behavior.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list