LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Turning off samba user credentials cache (https://www.linuxquestions.org/questions/linux-server-73/turning-off-samba-user-credentials-cache-721057/)

behradb 04-22-2009 10:42 PM

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

chitambira 04-23-2009 03:32 AM

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


All times are GMT -5. The time now is 12:39 AM.