[Samba] Domain Logon Credential Caching

John Price jp_samba at gcfl.net
Wed Oct 15 17:09:51 GMT 2008

Please also note that the message Gareth Cummings posted
on Thu, Oct 9, 2008 regarding my password caching issue
fixed my problem, and it was a samba problem, not a client
problem.  The DOMAIN line contained the hostname of my
samba PDC and not the domain name. Once that was changed,
password caching worked.

I will repeat the solution below.

Thanks Gareth.

On Thu, Oct 9, 2008, Gareth Cummings wrote:
Do a pdbedit -Lv username and make sure that the DOMAIN
line contains the correct domain name, if it doesn't do
the following and it should fix it for you

pdbedit -i tdbsam -e smbpasswd
pdbedit -i smbpasswd -e tdbsam


A recent police study found that you're much more likely
to get shot by a fat cop if you run. - Dennis Miller

Have a great day and don't forget to laugh!

http://www.gcfl.net (The Good, Clean Funnies List): Good,
clean daily funnies you can safely tell your Mom!

On Wed, Oct 15, 2008 at 10:45:59AM -0500, John H Terpstra wrote:
> Folks,
> This posting is made so that others who search for infromation on how to 
> configure Samba for username and password caching will find it.
> Samba does not control client-side password caching.
> Caching of domain logon credentials is a client-side activity. There are 
> registry settings on the Windows 2000 Professional and Windows XP Profesional 
> clients that control logon credential caching.
> - Click Start >Run >type gpedit.msc
> - Check Computer Configuration\Windows Settings\Security Settings\Local 
> Policies\Security Options
> - Check "Interactive Logon: Number of Previous Logins To Cache" (if value is 
> set to 0 then cached credentials is disabled)
> Also check....
> - Computer Configuration\Administrative Templates\System\Logon
> - Check "Always wait for the network at computer startup and logon" (make sure 
> that this is either not configured or disabled) 
> Please also refer to:
> http://support.microsoft.com/kb/913485
> Cheers,
> John T.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list