$ sudo yum -y install samba $ sudo yum -y install samba-client $ sudo yum -y install samba-swat
$ sudo /usr/bin/system-config-firewall
$ sudo mkdir /home/samba $ sudo chown nobody.nobody /home/samba
[share] guest ok = yes writeable = yes guest only = yes path = /home/samba
[global] log file = /var/log/samba/log.%m cups options = raw load printers = yes server string = Samba Server Version %v workgroup = HOMELAN os level = 20 security = user passdb backend = tdbsam max log size = 50
$ sudo /sbin/chkconfig --level 35 smb on $ sudo /sbin/chkconfig --list smb smb 0:off 1:off 2:off 3:on 4:off 5:on 6:off $ sudo /sbin/chkconfig --level 35 nmb on $ sudo /sbin/chkconfig --list nmb nmb 0:off 1:off 2:off 3:on 4:off 5:on 6:off
$ sudo /etc/init.d/smb start SMB サービスを起動中: [ OK ] $ sudo /etc/init.d/nmb start NMB サービスを起動中: [ OK ]
# pdbedit -a -u kagyuu
※ 前バージョンと同じように smbpasswd ユーザ名 も使える