# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.154
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
hjk@share-picure:~$ cat /etc/hosts 127.0.0.1 localhost 192.168.0.154 share-picure.l.u-tokyo.ac.jp share-picure
#samba30-test share-picure
(以下の内容に書き換え)
[global]
dos charset = CP932
unix charset = EUCJP-MS
display charset = EUCJP-MS
map to guest = Bad User
[picure]
path = /var/samba/picure
read only = No
guest ok = Yes
guest only Yes
(こういうアナウスが流れる) params.c:Parameter() - Ignoring badly formed line in configuration file: guest only Yes (パスワードが作られる) new password: retype new password: (こういうアナウスが流れる) Unix username: picure NT username: Account Flags: [U ] User SID: S-1-5-21-3823653408-3677775045-1945733785-3002 Primary Group SID: S-1-5-21-3823653408-3677775045-1945733785-5001 Full Name: Home Directory: \\share-picure\picure HomeDir Drive: Logon Script: Profile Path: \\share-picure\picure\profile Domain: SHARE-PICURE Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Sat, 14 Dec 1901 05:45:51 GMT Kickoff time: Sat, 14 Dec 1901 05:45:51 GMT Password last set: Wed, 06 Apr 2005 10:45:18 GMT
(以下の内容に変更)
[global]
dos charset = CP932
unix charset = EUCJP-MS
display charset = EUCJP-MS
map to guest = Bad User
[picure]
path = /var/samba/picure
read only = No
#guest ok = Yes
#guest only Yes
passdb backend = tdbsam
valid users = picure
write list = picure