カスタム検索
このエントリーをはてなブックマークに追加
tomo.gif (1144 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)To previous pageTo home pageMailing to me

SAMBA (SMBサーバ)を動かしてみる

Modified: 19 August 2004

FrdoraCore2 をインストールすれば、ソフトはインストールされていますので、設定ファイルをカスタマイズし、自動起動させるだけです。


SAMBAを設定する
自動再起動の設定


 SAMBAを設定する 

SAMBAのユーザ登録する

以下のコマンドで、ユーザ登録します。

# pdbedit -a tomo
new password: *********
retype new password: *********
Unix username: tomo
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2336110433-324566022-3504359983-2000
Primary Group SID: S-1-5-21-2336110433-324566022-3504359983-2001
Full Name:
Home Directory: \\fc2-sdev\tomo
HomeDir Drive:
Logon Script:
Profile Path: \\fc2-sdev\tomo\profile
Domain: FC2-SDEV
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: 土, 14 12月 1901 05:45:51 GMT
Kickoff time: 土, 14 12月 1901 05:45:51 GMT
Password last set: 水, 18 8月 2004 23:50:18 GMT
Password can change: 水, 18 8月 2004 23:50:18 GMT
Password must change: 土, 14 12月 1901 05:45:51 GMT
Last bad password : 0
Bad password count : 0
#


Workgroupを確認する

"/etc/samba/smb.conf"を開いて、ワークグループ名を確認します。

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = Workgroup


SAMBAを起動する

# service smb start
SMBサービスを起動中:                                       [  OK  ]
NMBサービスを起動中:                                       [  OK  ]
#

 自動再起動の設定 

自動起動させる方法

自動起動は、以下のコマンドで行います。

# /sbin/chkconfig --add smb
# /sbin/chkconfig smb on

To previous pageTo home pageMailing to meJump to Top of pageline.gif (927 ツバツイツト)line.gif (927 ツバツイツト)tomo.gif (1144 ツバツイツト)
カスタム検索



このエントリーをはてなブックマークに追加