|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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 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
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD http://www.openbsd.org/zaurus.html Edit/Delete Message |
|
|||
Code:
[winuser] comment = %h Windows User Share Directory path = /usr/home/winuser/Docs valid users = winuser public = no writeable = yes Code:
force directory mode = 0777 force create mode = 0777 |
|
|||
Quote:
by the way, after put ur solution in /usr/local/etc/smb.conf I launched testparm for see if there is any mistake, and I got this Code:
[winuser] comment = %h Windows User Share Directory path = /usr/home/winuser/Docs valid users = winuser read only = No
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD http://www.openbsd.org/zaurus.html Edit/Delete Message |
|
|||
Quote:
Post your full smb.conf and the folder permissions of winuser. |
|
|||
Quote:
Code:
[global] workgroup = FREEBSDBOX netbios name = SHARE server string = %h-the-FreeBSD-Samba-Server security = SHARE passdb backend = tdbsam log file = /var/log/samba/log.%m max log size = 50 load printers = No [winuser] comment = %h Windows User Share Directory path = /usr/home/winuser/Docs valid users = winuser read only = No [public] comment = %h Shared Public Directory path = /usr/home/samba/public read only = No force create mode = 0777 force directory mode = 0777 [Pietro] comment = %h Rackbsd home path = /usr/home/Pietro/Docs valid users = Pietro read only = No [anna] comment = %h Anna Maria's home path = /usr/home/anna/Docs valid users = anna read only = No
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD http://www.openbsd.org/zaurus.html Edit/Delete Message |
|
|||
Quote:
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD http://www.openbsd.org/zaurus.html Edit/Delete Message |
Thread Tools | |
Display Modes | |
|
|
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 |