samba

SMB/CIFS server for sharing files and printers across networks.

brewmacoslinux
Try with needOr install directly
Source

About

SMB/CIFS file, print, and login server for UNIX

Commands

smbdnmbdsmbclientsmbpasswdtestparmnetpdbedit

Examples

share a folder on the network$ sudo smbd -D
connect to a network share from command line$ smbclient //SERVER/SHARE -U username
validate samba configuration file$ testparm /etc/samba/smb.conf
change samba user password$ smbpasswd -U username
list available shares on a server$ smbclient -L //SERVER -U username