LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-22-2009, 10:42 PM   #1
behradb
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Rep: Reputation: 0
Question Turning off samba user credentials cache


Hello folks,

I have my samba server configured and it's working fine. I need to somehow turn off caching of the credentials in Windows XP so that the user is forced to enter their login and password every time they are trying to connect to the share. Any thoughts on this?
As of right now, once the user connects even if he logs out and back into windows they can access the shares.

thanks,

Behrad
 
Old 04-23-2009, 03:32 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
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)

If you are however using winbind, you may also want to turn off winbind offline logon by adding to your smb.conf:

winbind offline logon = false

Last edited by chitambira; 04-23-2009 at 09:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 02:00 AM
turning on dma and write back cache on SATA? niverson Linux - Hardware 16 02-15-2006 12:42 AM
JCIFS: authenticating user credentials borgy_t Programming 0 04-17-2005 10:29 PM
krb5_cc_get_principal failed (No credentials cache found) da_kidd_er Linux - Networking 0 12-19-2004 07:00 PM
Samba rejecting user credentials carmstrong Linux - Networking 3 05-18-2004 09:21 AM


All times are GMT -5. The time now is 09:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration