Pessoal não consigo compartilhar pastas da este erro:
O comando testparm do Samba retornou erro 1: Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
WARNING: state directory /var/lib/samba should have permissions 0755 for browsing to work
WARNING: cache directory /var/cache/samba should have permissions 0755 for browsing to work
Grato
Resolvido:
1)
Adicione as linhas:
* - Nofile 16384
root - nofile 16384
no /etc/security/limits.conf
e reinicie.
2) No terminal:
Código:
sudo chmod 777 / etc / samba / smb.conf
sudo chmod 0755 / var / cache / samba
sudo chmod 0755 / var / lib / samba
3)
Adicionar : usershare owner only = false ## added by ben
nas configurações globais em /etc/samba/ smb.conf ...
4) Meu smb.conf esta assim:
# Global parameters
[global]
server role = domain controller
workgroup = WORKGROUP
wins support = yes(esta linha acrescentei, pois não estava abrindo as pastas do win7 no ubuntu)
realm =
netbios name = EDVALDO-T-1628
[netlogon]
path = /var/lib/samba/sysvol/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Obrigado