Linuxマシン側からWindowsマシン上の共有ファイルやプリンタを利用する機能です。 以下の様に、「smbclient」コマンドを実行します。 $ smbclient //hiroshi/b -U hnakamur%****** SSL: Error error setting CA cert locations: error:00000000:lib(0):func(0):reason(0) trying default locations. added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 smb: \> help ls dir du lcd cd pwd get mget put mput rename more mask del open rm mkdir md rmdir rd pro
smbclient 、smbmount コマンドを使って、SambaクライアントからSambaサーバーにアクセスする方法について解説していきます。 ■sambaへのアクセス状況の確認 [ smbclient ] まず、Windows 上からSambaサーバーのディレクトリにアクセスした後、smbstatusコマンドを実行してみてください。現在、誰がどの共有ディレクトリにアクセスしているのかを閲覧することができます。 # /usr/local/samba/bin/smbstatus -d Samba version 3.0.1 PID Username Group Machine ------------------------------------------------------- 3100 kororo kororo koro (172.16.50.4) 3103 kororo k
Install Debian package が存在するので apt-get するだけ。 # apt-get install samba samba-common samba-doc samba-doc-ja smbclient Setup /etc/samba/smb.conf が設定ファイル。 workgroup さえ正しく設定すればWindows からは見えるようになるはず。 guest account を使えるようにするには、 guest account = nobody と security = share を [global] に記述しておいて、 guest に公開したい所に guest ok = yes と書けば良いらしい。 /etc/samba/smb.conf #======================= Global Settings ===============
Вы используете устаревший браузер! Страница может отображаться некорректно. Подробнее Если Вы продолжите использование данного сайта, это означает, что Вы даете согласие на использование нами Cookie-файлов и иных технологий по сбору статистических сведений о посетителях. Подробнее Ок
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く