SAMBA Installation
From Gentoo Linux Wiki
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
- This page is a candidate for deletion
- Reason given: Entire article series:
- Very basic with installation instructions only and absolutely no explanations.
- Frequent abuses of USE and ACCEPT_KEYWORDS.
- A number of other security problems.
- All these subjects are already covered by far more indepth articles.
- Needs tidying and wikification.
- If you disagree with its deletion, please explain why on its discussion page.
- If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
- Make sure no other pages link here and check the page's history before deleting.
|
HOWTO The Home Network for Beginners |
| File: /etc/samba/smb.conf |
[global] workgroup = HOMENETWORK server string = Samba Server %v interfaces = lo, eth1 bind interfaces only = Yes log file = /var/log/samba/log.%m socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 valid users = testuser write list = testuser read only = No hosts allow = 127.0.0.1, 192.168.132.0/24 hosts deny = 0.0.0.0/0 [files] comment = Files path = /files valid users = testuser admin users = testuser write list = testuser create mask = 0775 directory mask = 0775 [backup] comment = Backup path = /backup valid users = testuser admin users = testuser write list = testuser create mask = 0775 directory mask = 0775 [web] comment = Web path = /var/www/ valid users = testuser admin users = testuser write list = testuser create mask = 0775 directory mask = 0775 [mail] comment = Mail path = /var/vpopmail/domains valid users = testuser admin users = testuser write list = testuser create mask = 0775 directory mask = 0775 [homes] comment = Home Directories browseable = No |
# /etc/init.d/samba start # rc-update add samba default # smbpasswd -a -e testuser # emerge xinetd # nano -w /etc/xinetd.d/swat
| File: /etc/xinetd.d/swat |
only_from = 192.168.132.0/24 disable = no |
# /etc/init.d/xinetd start # rc-update add xinetd default
