DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th September 2008
bsduser bsduser is offline
Port Guard
 
Join Date: Jun 2008
Location: Toronto
Posts: 12
Default Samba 3.0 problem to setting up private folder - FreeBSD 71-pre

Hello ... I am new in Samba. I have 13 users in my local network, and each of these users own their home folder. what I want to do is to permit each users to have acces to their home folder only, with username and passwd or something like that ... I created as test user "winuser" and I add it in /etc/group as well,

Code:
winuser:*:1012:1012::0:0:Windows Q. User:/home/winuser:/bin/tcsh
and thats what I put in /usr/local/etc/smb.conf
Code:
[global]
workgroup = FREEBSDBOX
netbios name = Share
server string = %h-the-FreeBSD-Samba-Server
security = share
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
passdb backend = tdbsam

[winuser]
comment = %h Windows User Share Directory
path = /usr/home/winuser/Docs
force directory mode = 0777
force create mode = 0777
force user = winuser
force group = winuser
writeable = yes
read only = no
browseable = yes

[public]
comment = %h Shared Public Directory
path = /usr/home/samba/public
force directory mode = 0777
force create mode = 0777
public = no
writeable = yes
read only = no

[Pietro]                          
comment = %h Rackbsd home
path = /usr/home/rackbsd
force directory mode = 0777
force create mode = 0777
public = no
writeable = yes
read only = no
So, as you can see for the user "winuser" I put these line here "force user = winuser" "force group = winuser" but unfortunately I can still join and doing whatever I want with every samba users in winuser home folder ... how come ? whats wrong in my /usr/local/etc/smb.conf ?? perhaps is there another way to do it ??
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD
http://www.openbsd.org/zaurus.html
Edit/Delete Message
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting up perl modules badguy OpenBSD Installation and Upgrading 4 10th August 2009 09:46 PM
Samba + Ldap... permission problem coppermine FreeBSD General 3 13th October 2008 10:00 AM
Samba Server on FreeBSD 6.1 MiniStrange FreeBSD General 1 8th August 2008 02:57 PM
samba problem sniper007 FreeBSD Ports and Packages 3 22nd June 2008 05:59 PM
FreeBSD+CUPS+Samba faustcoder FreeBSD General 6 20th May 2008 12:20 AM


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick