0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

smbcontrol コマンドの書式とオプション

Posted at

●smbcontrol
smbcontrolは、Sambaの主要なデーモンであるsmbd、nmbd、winbinddにメッセージを送ることができるプログラム。

コマンドの書式とオプション

smbcontrol [対象] [メッセージタイプ]

●主な対象
・all smbd.nmbd,winbinddのすべてのプロセスにブロードキャスト※Samba3.3より前は全てのsmbdのみ
・<デーモン名>または smbd.nmbd,winbinddのいずれか指定されたデーモンのpidファイルに記載されたプロセスID、または直接指定したプロセスIDにメッセージが送られる

●主なメッセージタイプ
・close-share 指定した共有をクローズ※対象はsmbdのみ
・reload-config 指定したデーモンに設定の再読み込みをさせる
・kill-client-ip 指定したIPアドレスのクライアントを切断※対象はsmbdのみ
・ping 指定した対象にpingし、応答(pong)が来た対象のPIDを表示I

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?