小川です。
"SHINODA, Daisuke" <daichan@xxxxxxxxxxxxxxxxxx> さん wrote:
> 篠田です。
> OGAWA Yuji <yu_larva_aisance@xxxxxxxxxxxxx> wrote:
>
> > SAMBA のアクセス拒否のようですね。
> > まず、プリンタ以外のファイルへのアクセスは問題なくできているでしょうか。
>
> 1度だけファイルの転送が出来たのですが、それ以来できなくなってしまいました。
(中略)
> $ smbclient -L daisuke
> Connection to daisuke failed
> $
>
> と接続できません。
> /etc/samba/smb.conf は
> --- ここから ---
> [global]
>
> unix charset = eucJP-ms
> dos charset = cp932
> display charset = eucJP-ms
>
> ; workgroup = MYGROUP
> server string = Samba %v on %h
>
> ; hosts allow = 192.168.1. 192.168.2. 127.
>
> load printers = Yes
> printcap name = /etc/printcap
> printing = cups
> ; cups options = raw
>
> ; guest account = pcguest
>
> log file = /var/log/samba/%m.log
> max log size = 50
>
> security = user
> ; password server = <NT-Server-Name>
> ; password level = 8
> ; username level = 8
> encrypt passwords = Yes
> username map = /etc/samba/smbusers
> ; passdb backend = tdbsam
> unix password sync = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
>
> ; include = /etc/samba/smb.conf.%m
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> ; interfaces = 192.168.12.2/24 192.168.13.2/24
> ; remote browse sync = 192.168.3.25 192.168.5.255
> ; remote announce = 192.168.1.255 192.168.2.44
>
> ; local master = No
> ; os level = 33
> ; domain master = Yes
> ; preferred master = Yes
> ; domain logons = Yes
> ; logon script = %m.bat
> ; logon script = %U.bat
> ; logon path = \\%L\Profiles\%U
>
> ; name resolve order = wins lmhosts bcast
> ; wins support = Yes
> ; wins server = w.x.y.z
> ; wins proxy = Yes
> dns proxy = No
>
> ; preserve case = No
> ; short preserve case = No
> ; default case = lower
> ; case sensitive = No
>
>
> [homes]
> comment = %U's Home Directory
> read only = No
> browseable = No
(以下略)
まずお断りを、、、
私は Samba のエキスパートではありませんし、
いつも試行錯誤をして、うまく行けばそれでよしとしています。
というわけで、はずしているかも知れません。
Samba.conf の ; 以下はコメントです。
したがって、まず「; workgroup = MYGROUP」
では、どうしようもないと思います。
ちなみに私の Samba.conf はこんな具合です。
SWAT で設定しました。
--- ここから ---
[global]
dos charset = cp932
unix charset = eucJP-ms
display charset = eucJP-ms
workgroup = OGAWA
server string = Samba %v on %h
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
dns proxy = No
[homes]
comment = %U's Home Directory
read only = No
(以下略)
===================================
おがわゆうじ