[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:01460] Re: samba$B$N(JInetd$B$+$i$N5/F0$K$D$$$F(J
-
From:Shigeo Sagai
-
Date:Wed, 10 Feb 1999 09:26:38 +0900
- Subject: [plamo:01460] Re: samba$B$N(JInetd$B$+$i$N5/F0$K$D$$$F(J
- From: Shigeo Sagai <sagai@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Feb 1999 09:26:38 +0900
- Posted: Wed, 10 Feb 1999 09:24:53 +0900
From: "Daisuke Suzuki" <u082124@cc.ce.nihon-u.ac.jp>
Subject: [plamo:01458] sambaのInetdからの起動について
Date: Wed, 10 Feb 1999 06:48:20 +0900
> sambaをインストールすると時に書き加えられたのだと思います。
> (Makefileを見たのですが、特に編集せずにmakeしてしまいました。これがそ
> もそもの間違い?)
>
> inted.conf
> netbios-ssn stream tcp nowait root
> /usr/local/samba/bin/smbd smbd
> netbios-ns dgram udp wait root
> /usr/local/samba/bin/nmbd nmbd
> swat stream tcp nowait root
> /usr/local/samba/bin/swat swat
> #swatの行だけ自分で書き足しました。
これは改行はinetd.confの中にはないのですよね?
全部一行ずつ、合計3行になっているのですよね?
少なくとも、swatの設定では、sambaを展開したディレクトリの、swat/README
に、
-------------------------------
Running via inetd
-----------------
You then need to edit your /etc/inetd.conf and /etc/services to enable
SWAT to be launched via inetd.
In /etc/services you need to add a line like this:
swat 901/tcp
the choice of port number isn't really important except that it should
be less than 1024 and not currently used (using a number above 1024
presents an obscure security hole depending on the implementation
details of your inetd daemon).
In /etc/inetd.conf you should add a line like this:
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
One you have edited /etc/services and /etc/inetd.conf you need to send
a HUP signal to inetd. On many systems "killall -1 inetd" will do this
on others you will need to use "kill -1 PID" where PID is the process
ID of the inetd daemon.
-------------------------------
と書かれていますね。swatの設定がちょっとだけ違うのと、
> services
> netbios-ns 137/tcp # NETBIOS Name Service
> netbios-ns 137/udp
> netbios-dgm 138/tcp # NETBIOS Datagram Service
> netbios-dgm 138/udp
> netbios-ssn 139/tcp # NETBIOS session service
> netbios-ssn 139/udp
これにまたswatの設定の追加が必要だと思います。
> 以上のように設定がしてありますが、いざ再起動してwin98からネットワーク
> コンピュータで
> みてもLinuxマシンは見えません。
このような質問はまず、/usr/local/samba/logの下のいくつかのlogファイル
を参照してからした方がいいのではないかと。
また、windows95のネットワークの設定(Workgroupがどうなっているとか)そう
いう事もわかりません。
せめて、リブート直後に、
/usr/local/samba/bin/testparm
を利用して、ご自分の設定を確認されてはいかがでしょうか。
#ご自分を初心者だと思われるのであれば、なおさらです。まずは付属のドキュ
#メント類、書物の類を参照して、設定をきちんと確認しましょう。質問する
#のはそれからです。
----+----1----+----2----+----3----+----4----+----5----+----6----+----+--
Shigeo Sagai sagai@criepi.denken.or.jp
- References
-
- [plamo:01458] sambaのInetdからの起動について, Daisuke Suzuki
[検索ページ]
[メール一覧]
Plamo ML 公開システム