***************************************************************************************************
http エラーチェック
[core:notice] /usr/sbin/httpd -D FOREGROUND
--------------------------------------------
sambaエラー? ---> [コア:通知]であり、エラーではない。
設定ファイルの構文チェック
[root@falcon21 ~]# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dns proxy = No
dos charset = CP932
map to guest = Bad User
netbios name = CENTOS7
security = USER
server string = Samba Server %v
workgroup = FALCON1
catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6
idmap config * : backend = tdb
hosts allow = 192.168.10. 127. 192.168.2. 192.168.1.
mangled names = no
vfs objects = catia
[public]
comment = Public Stuff
guest ok = Yes
guest only = Yes
path = /home/samba
read only = No
vfs objects = recycle
recycle:exclude = *.tmp ~$*
recycle:maxsize = 0
recycle:touch = no
recycle:versions = yes
recycle:keeptree = no
recycle:repository = .recycle
[Share]
guest ok = Yes
path = /
read only = No
--------------------------------------------
[root@falcon21 ~]# systemctl status smb -l
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2021-04-02 14:13:22 JST; 1 day 20h ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1455 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 48706)
Memory: 12.1M
CGroup: /system.slice/smb.service
├─1455 /usr/sbin/smbd --foreground --no-process-group
├─2095 /usr/sbin/smbd --foreground --no-process-group
├─2096 /usr/sbin/smbd --foreground --no-process-group
└─2117 /usr/sbin/smbd --foreground --no-process-group
4月 02 14:13:08 falcon21.space systemd[1]: Starting Samba SMB Daemon...
4月 02 14:13:22 falcon21.space smbd[1455]: [2021/04/02 14:13:22.704655, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
4月 02 14:13:22 falcon21.space systemd[1]: Started Samba SMB Daemon.
4月 02 14:13:22 falcon21.space smbd[1455]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
フォルダエクスプローラー 又は、コマンド「ファイル名を指定して実行」で、表示確認。
サーバー側確認
[root@falcon21 ~]# smbstatus
Samba version 4.12.3
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
355071 nobody nobody 192.168.10.4 (ipv4:192.168.10.4:50552) SMB3_11 - -
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
Share 355071 192.168.10.4 日 4月 4 11時13分31秒 2021 JST - -
Locked files:
Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
355071 65534 DENY_NONE 0x100081 RDONLY NONE / . Sun Apr 4 11:13:32 2021
355071 65534 DENY_NONE 0x100081 RDONLY NONE / . Sun Apr 4 1:13:32 2021
****************************************************************************************
|