[Armadillo:00760] Re: Armadillo-9のsambaについて
井上 崇
email@hidden
2005年 12月 22日 (木) 17:26:58 JST
お世話になります。井上です。
森島さん、アドバイス有難うございました。
なんとか、windosws上からarmadillo9にアクセスすることが出来ました。
結果的には、samba2.0.7を断念し、samba3.0.13に入れ換えました。
ビルド後に、smb.conf(3.0用)を作成し、
firewallに穴を開けるだけで動作しました。
また、よろしくお願いします。
----- Original Message -----
From: "Fumito Morishima" <email@hidden>
To: "Armadillo series general discussion list"
<email@hidden>
Sent: Wednesday, December 21, 2005 9:10 PM
Subject: [Armadillo:00758] Re: Armadillo-9のsambaについて
> 森島です。
>
> よく分からないときは、PCで動作確認するのも1つの方法です。
>
> 実際にPC向けにコンパイルして実行させてみたところ、
> 正常に動作しているようなので、Makefileの修正は必要なさそうです。
> (autoconf.hを誤魔化したりと、若干手を入れましたが)
>
> それと、設定ファイル中の以下の部分ですが、
>> encryp passwords = Yes
> encrypt passwords が正しいようです。
>
> ログ中のwarningはこれが原因です。
>> [Tue Dec 20 05:07:23 2005, 0] param/loadparm.c:map_parameter(1681)
>> Unknown parameter encountered: "encryp passwords"
>> [Tue Dec 20 05:07:23 2005, 0] param/loadparm.c:lp_do_parameter(2223)
>> Ignoring unknown parameter "encryp passwords"
>
> encrypt passwords
> 井上 崇 wrote:
>> お世話になります。井上です。
>>
>> Armadillo-9でatmark-distのsambaを動作させようと奮闘中です。
>> 以下、途中経過を報告します。
>> アドバイス等、よろしくお願いします。
>>
>> 使用ソース
>> atmark-dist-20051017
>> linux-2.4.31-a9-2
>>
>> Configuration
>> --- Select the Product you wish to target
>> (Armadillo-9.PCMCIA) AtmarkTechno Products
>>
>> --- SAMBA
>> [*] samba
>> [*] smbd
>> [*] nmbd
>> [ ] smbmount
>> [ ] smbumount
>>
>> その他は、デフォルト設定です。
>>
>> 作成した、イメージをCFカードに展開ます。
>>
>> 固定IP(例:172.20.44.222)を設定します。
>> この時点で、FTPが動作しました。
>>
>> /etc/config/smb.confを作成する。以下内容
>>
>> [global]
>> coding system = EUC
>> client code page = 932
>> workgroup = KAIHATSU
>> server string = pc222
>> security = share
>> encryp passwords = Yes
>> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>> os level = 2
>> dns proxy = No
>> oplocks = No
>> [public]
>> comment = public
>> path = /tmp/samba
>> writeable = Yes
>> guest only = Yes
>> guest ok = Yes
>> volume = public
>>
>>
>> inetd.confを編集する。以下内容
>>
>> telnet stream tcp nowait root /usr/sbin/telnetd
>> telnetd -l
>> /bin/
>> ftp stream tcp nowait root /bin/ftpd ftpd -l
>> #netbios-ssn stream tcp nowait root smbd -d1
>>
>>
>> smbdとnmbdをデーモンで起動する。以下起動確認
>>
>> # smbd -D
>> # nmbd -D
>> # ps
>> PID Uid VmSize Stat Command
>> 1 root 628 S init
>> 2 root SW [keventd]
>> 3 root SWN [ksoftirqd_CPU0]
>> 4 root SW [kswapd]
>> 5 root SW [bdflush]
>> 6 root SW [kupdated]
>> 7 root SW [mtdblockd]
>> 8 root SW [khubd]
>> 10 root SW [kjournald]
>> 90 root 632 S syslogd -m 0 -L
>> 100 root 600 S klogd
>> 171 nobody 828 S thttpd -C /etc/thttpd.conf
>> 181 root 652 S inetd
>> 187 root 880 S -ash
>> 188 root 572 S /sbin/getty 38400 tty1
>> 204 root 1096 S smbd -D
>> 206 root 1020 S nmbd -D
>> 207 root 704 R ps
>>
>>
>> smbdのログ
>>
>> # cat /var/log/log.smb
>> [Tue Dec 20 05:07:23 2005, 1] smbd/server.c:main(647)
>> smbd version 2.0.7 started.
>> Copyright Andrew Tridgell 1992-1998
>> [Tue Dec 20 05:07:23 2005, 0] param/loadparm.c:map_parameter(1681)
>> Unknown parameter encountered: "encryp passwords"
>> [Tue Dec 20 05:07:23 2005, 0] param/loadparm.c:lp_do_parameter(2223)
>> Ignoring unknown parameter "encryp passwords"
>> [Tue Dec 20 05:07:23 2005, 1] smbd/files.c:file_init(216)
>> file_init: Information only: requested 10000 open files, 1014 are
>> available.
>> [Tue Dec 20 05:07:23 2005, 0] lib/charset.c:load_client_codepage(215)
>> load_client_codepage: filename /home/samba/codepages/codepage.932 does
>> not
>> exist.
>> [Tue Dec 20 05:07:23 2005, 0] lib/util_unistr.c:load_unicode_map(435)
>> load_unicode_map: filename /home/samba/codepages/unicode_map.850 does
>> not
>> exist.
>>
>>
>> nmbdのログ
>>
>> # cat /var/log/log.nmb
>> [Tue Dec 20 05:07:31 2005, 1] nmbd/nmbd.c:main(757)
>> Netbios nameserver version 2.0.7 started.
>> Copyright Andrew Tridgell 1994-1998
>> [Tue Dec 20 05:07:31 2005, 0] param/loadparm.c:map_parameter(1681)
>> Unknown parameter encountered: "encryp passwords"
>> [Tue Dec 20 05:07:31 2005, 0] param/loadparm.c:lp_do_parameter(2223)
>> Ignoring unknown parameter "encryp passwords"
>> [Tue Dec 20 05:07:31 2005, 0] lib/charset.c:load_client_codepage(215)
>> load_client_codepage: filename /home/samba/codepages/codepage.932 does
>> not
>> exist.
>> [Tue Dec 20 05:07:31 2005, 0] lib/util_unistr.c:load_unicode_map(435)
>> load_unicode_map: filename /home/samba/codepages/unicode_map.850 does
>> not
>> exist.
>>
>>
>> smbdとnmbdを起動後に、windows2000及びXPで共有を確認する。
>> armadillo9が共有リストの一覧に表示されますが、
>> 選択しても内容は表示されません。
>> また、しばらくすると共有リストの一覧にからも消えてしまいます。
>>
>> smbdとnmbdのログ内容から、passwordやcodepage等の問題があると思いますが、
>> 解決できていません。
>>
>> atmark-distのsambaソースのMakefile内で、
>> smbpasswd & make_smbcodepage & make_unicodemap等をコメントにしていますが、
>>
>> これらを作成し実行する事で解決できるのでしょうか。以下Makefileの一部
>>
>> #bin/swat
>> #PROGS1 = bin/testparm bin/smbstatus
>> # bin/smbclient bin/smbspool bin/testprns
>> #PROGS2 = bin/rpcclient bin/smbpasswd bin/make_smbcodepage
>> bin/make_unicodemap
>>
>>
>> 以上、長文で失礼しました。
>> よろしくお願いします。
>>
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/mailman/listinfo/armadillo
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/mailman/listinfo/armadillo
armadillo メーリングリストの案内