Linux での samba
これは,私の所有するマシンでのお話です.あくまでも個人的なものです.
参考程度にしてください.Sambaは他に優秀なサイトがありますので,
そちらも参照してください。お勧めは,http://www.yk.rim.or.jp/~fumiya/Samba/です。
Makefileをいじる.
まずEUCを使えるようにし,
次にLinux用にした.shadow
passwdを使う場合はこちら
# Use this for Linux without shadow passwords
# contributed by Andrew.Tridgell@anu.edu.au
FLAGSM = -DLINUX -DKANJI=\"euc\"
LIBSM =
ワークグループ名をかえた
WORKGROUP = MIZUNO.RIEC
つぎに,smb.confをいじる.
[global]
printing = bsd
printcap name = /etc/printcap
load printers = no
;yes > no (yasu/Ar)
guest account = pcguest
; This next option sets a separate log file for each client. Remove
; it if you want a combined log file.
log file = /usr/local/samba/log.%m
log level =1
passwd level =8
; You will need a world readable lock directory and "share modes=yes"
; if you want to support the file sharing modes for multiple users
; of the same files
; lock directory = /usr/local/samba/var/locks
; share modes = yes
status = yes
;yasu/Ar edit status = yes
[homes]
comment = RidgeRacer home
; browseable = no
browseable = yes
read only = no
create mode = 0750
; workgroup = RidgeRacer
guest ok = no
プリンタの共有をせずに,Unixマシンの自分のディレクトリだけを見えるようにした.
lmhostsの設定
#
0.0.0.0 MIZUNO G
#
130.34.203.65 RIDGE.MIZUNO M
#
#130.34.203.127 MIZUNO S # subnet 1
back to yasu/Ar
homepage