Escolar Documentos
Profissional Documentos
Cultura Documentos
26日 6月 2016
Table of Contents
• 1. Install samba
• 2. Port
• 3. SELinux
• 4. pdbedit
• 5. /etc/samba/smb.conf
◦ 5.1. Share home directory for each user
◦ 5.2. Share directory with multiple user.
• 6. Access to samba from Windows 10
◦ 6.1. Map network drive
1 Install samba
Install samba with yum.
$ sudo yum install -y samba
$ sudo systemctl enable smb nmb
2 Port
Open port with using ervice file of firewall-cmd.
3 SELinux
Enable access to home directory without samba_share_t label.
$ setsebool -P samba_enable_home_dirs on
This article will not use other boolean value but below boolean values should be checked.
4 pdbedit
Add user access to samba with pdbedit.
5 /etc/samba/smb.conf
This article show how to share home directory for each user and share directory with multiple
user.
Please reboot smbd and nmbd after editing smb.conf.
File Access
Auditing
Track, audit,
report and alert
on all access to
files and folders
on Windows
Servers.
File Access Auditing
Ad FileAudit
ConnectionDesign Software
Ad www.steelconnectionstudio.com