browseable home directories
My users' home directories are visible in Network Neightbourhood eventhough i have browseable = no, anybody knows why?
Code:
[homes] Thanks in advance~ |
guest ok = no
|
Sorry, mate~
That did not work... I am wondering whether you come across this problem or not... i cannot see any home directories after i rebooted the PC... but when i start to logon one user at a time, the 2nd user sees the first user's home and the 3rd user sees both the 1st and 2nd user's home! Of course user2 cannot access user1's home and vice versa, i just want to make it look tidy... Any ideas? Anyway, thanks for the reply ;) |
Well, here is what I use for the home directories. If this does not work, I will post my entire smb.conf.
[homes] comment = Home Directories browseable = no writable = yes create mode = 0600 directory mode = 0700 valid users = %S |
I am trying it now~
Just wondering... whats the difference between create mode and create mask? Thanks for the reply :) |
I think that create mode is who can create new files and the create mask is what pemissions created files have, but I'm not sure;)
|
No, they are the same, according to man smb.conf:
Quote:
|
You learn something new everyday. Personally, I don't like to use smb at all. I prefer to move my files by something more secure like scp. I guess that I could wrap the smb connection with ssl since all my windows boxes are running ssh though but that seams like a hassle, LoL. Thanks for the insight motub .
|
You're welcome, but that doesn't explain why there's a synonym in the first place...? Seems weird to me.
What's scp and what's the benefit over Samba (yes, I guess I could look it up, but a user's-eye perspective is often more helpful than a man page ;) )? |
Ahh... more reading material ;)
Thanks guys, i reckon i should spend some time with man pages before trying silly things :D Archite: The mode/mask does not work, i have the home directories set to drwx------ and both are owned by the user... still wondering whats wrong... Mind if i look at your smb.conf? Also would like to hear more about the scp you have mentioned! Sounds interesting ;) motub: Do you have any suggestions? |
okay, say you have user1 who belongs to the group users. If you set his home directory to drwx------ then he will not be able to access his own direcotry. Quick fix, create a group called user1 and set user1's main group to user1.
|
oh, there's no problem with my users accessing their own home drives ;)
The problem is users can see each others home in XP :D |
Have you tried playing with user level security? That should make it so that only authorized users see their own homes.
|
Oooh, interesting... where do I go in order to do that? :D
|
it's one of the general options..
security = user . Check out this link for some more informative informating about samba: http://us3.samba.org/samba/docs/using_samba/toc.html |
All times are GMT -5. The time now is 05:53 PM. |