LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-23-2004, 09:10 AM   #1
wiredX
Member
 
Registered: Jul 2003
Distribution: Redhat 8.0
Posts: 38

Rep: Reputation: 15
samba:home dir cache problem


Hi

I am using Redhat 9 as a samba server. And I have 1 windows XP client with 6 users on it ,that connect to the server,very well.

In my smb.conf I have set the security flag to share... and users can get into their home directories.Now the problem is with the "home directory caching", when userA logs in to the server ,accessing files and his home directory and then loggin out... thats works out fine.

AND then when "userB" logs in to the server using his xp account (that is after userA has logged out from the XP machine letting userB use the machine), userB now sees userA home directory.

Now ... I don,t want that to happen ... I want whenever a user is logged in to the samba server to see only his home directory. And I know that is possible only when restarting a machine.

How can I fix that?

-Thanx in advance...
 
Old 01-26-2004, 10:02 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
"Roaming Profiles" is one way, (only for XP Pro) and it's not too easy to setup, see http://hr.uoregon.edu/davidrl/samba.html

If you're using XP Home, the choices are even fewer..
coz the logged in computer name holds the share "username", you will have to share the directory above the actual user's shares and rely on directory permissions and passwords to stop access to other people's directories..

Another option could be to unmount the directories after they log off.
Place the user files in a separate directory, eg /files and mount them as /home/username when they access them after logging on.
It uses the pre-exec & post-exec commands like mounting/unmounting a cdrom share..

Last edited by peter_robb; 01-26-2004 at 10:06 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba [homes] dir problem mmowchenko Linux - General 1 11-03-2005 10:04 PM
Can't write to home dir. Mirari Linux - General 5 05-22-2005 02:42 PM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
how to clean squid cache dir phatboyz Linux - Software 1 05-03-2004 10:37 AM
win98after login on SAMBA server destroyed the HOME dir ShurV Linux - Networking 0 11-02-2003 07:48 PM


All times are GMT -5. The time now is 05:56 PM.

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