[Samba] How to disable password caching in windows client

Yu Liao liaoyu17 at gmail.com
Tue Jul 19 22:33:53 MDT 2011

It work fine. Is there any method to disable the password caching, not
use "net use /d"?

2011/7/19 TAKAHASHI Motonobu <monyo at monyo.com>:
> 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>

Best Regards.
Yu Liao

More information about the samba mailing list