FreeBSD/Samba
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[FreeBSD/Samba]]
#依存関係で必要なものを入れる
setenv PACKAGEROOT ftp://ftp3.jp.FreeBSD.org
pkg_add -rv samba36
pkg_delete samba36-3.6.7
#swatを有効にしたオリジナルパッケージ
pkg_add -v /mnt/samba36-3.6.7.tbz
アカウント追加
pdbedit -a "USER"
/etc/inetd.conf
swat stream tcp nowait/400 root /usr/loc...
/etc/rc.conf
service inetd restart
service samba start
samba_enable="YES"
# cat /usr/local/etc/smb.conf
[global]
unix charset = CP932
workgroup = ZENNO
server string =
guest account = admin
log file = /var/log/samba/log.%m
max log size = 50
recycle:maxsize = 0
recycle:versions = yes
recycle:touch = yes
recycle:keeptree = yes
recycle:repository = .recycle
idmap config * : backend = tdb
hosts allow = 192.168., 127., 10.
vfs objects = recycle
[test]
path = /pub1/test/
read only = No
guest ok = Yes
[test2]
path = /pub2/test2/
read only = No
guest ok = Yes
[http://www.samba.gr.jp/project/translation/Samba3-HOWTO/...
chown admin /data/pub
[global]
dos charset = CP932
display charset = UTF-8
workgroup = ZENNO
netbios name = AYAME
server string =
guest account = admin
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : range =
recycle:maxsize = 0
recycle:versions = yes
recycle:touch = yes
recycle:keeptree = yes
recycle:repository = .recycle
idmap config * : backend = tdb
hosts allow = 192.168., 127., 10.
vfs objects = recycle
# admin users = admin
# create mask = 0775
[pub]
path = /data/pub
read only = No
guest ok = Yes
終了行:
[[FreeBSD/Samba]]
#依存関係で必要なものを入れる
setenv PACKAGEROOT ftp://ftp3.jp.FreeBSD.org
pkg_add -rv samba36
pkg_delete samba36-3.6.7
#swatを有効にしたオリジナルパッケージ
pkg_add -v /mnt/samba36-3.6.7.tbz
アカウント追加
pdbedit -a "USER"
/etc/inetd.conf
swat stream tcp nowait/400 root /usr/loc...
/etc/rc.conf
service inetd restart
service samba start
samba_enable="YES"
# cat /usr/local/etc/smb.conf
[global]
unix charset = CP932
workgroup = ZENNO
server string =
guest account = admin
log file = /var/log/samba/log.%m
max log size = 50
recycle:maxsize = 0
recycle:versions = yes
recycle:touch = yes
recycle:keeptree = yes
recycle:repository = .recycle
idmap config * : backend = tdb
hosts allow = 192.168., 127., 10.
vfs objects = recycle
[test]
path = /pub1/test/
read only = No
guest ok = Yes
[test2]
path = /pub2/test2/
read only = No
guest ok = Yes
[http://www.samba.gr.jp/project/translation/Samba3-HOWTO/...
chown admin /data/pub
[global]
dos charset = CP932
display charset = UTF-8
workgroup = ZENNO
netbios name = AYAME
server string =
guest account = admin
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : range =
recycle:maxsize = 0
recycle:versions = yes
recycle:touch = yes
recycle:keeptree = yes
recycle:repository = .recycle
idmap config * : backend = tdb
hosts allow = 192.168., 127., 10.
vfs objects = recycle
# admin users = admin
# create mask = 0775
[pub]
path = /data/pub
read only = No
guest ok = Yes
ページ名: