Outils pour utilisateurs

Outils du site


bsd:bss

Installer Samba

How To BSD


Sur FreeBSD 10.2

Par pkg

root@FreeBSD: # pkg install samba36 (par pkg)


Par les ports

root@FreeBSD: # portmaster -a   (par les ports)
root@freeBSD: # cd /usr/ports/net/samba36
root@freeBSD: # make install clean

Pour booter Samba au démarrage

On ajoute dans /etc/rc.conf

samba_enable="YES"


Configuration de Samba

nano /usr/local/etc/smb.conf
hosts allow = 192.168.1.  192.168.80.  127.  10.1.1.


Si besoin d'ajouter un user samba

root@FreeBSD: # adduser sambauser
root@FreeBSD: # smbpasswd -a sambauser


On reboot le service Samba

root@FreeBSD: # service samba restart



How To BSD

bsd/bss.txt · Dernière modification : de 127.0.0.1