How to Install Samba on CentOS 7 for File Sharing on Windows


Setup Samba4 Secure File Sharing
user: backups
pass: ******

1.Install Samba in CentOS 7
# yum install samba samba-client samba-common

2. configuração da partilha no samba server
/etc/samba/smb.conf

## com esta configuração apenas é possível ler e navegar da partilha criada

[Chamadas_Issabel]
path = /var/spool/asterisk/monitor
browsable =yes
writable = no
guest ok = no
read only = yes

3. First start by creating a samba system group, then add users to the group and set a password for each user like so.
# groupadd smbgrp
# usermod backups -aG smbgrp
# smbpasswd -a backups

4. Restart Samba services to apply the changes.
# systemctl restart smb.service
# systemctl restart nmb.service

5. Criar partilha na maquina com windows


From: https://www.tecmint.com/install-samba4-on-centos-7-for-file-sharing-on-windows/ 

Sem comentários:

Enviar um comentário

glpi updates, correcção de erros

#Erros/alertas #1-Web server root directory configuration is not safe as it permits access to non-public files. See installation documentati...