Přidání uživatele:

adduser rolux
smbpasswd -a username
pdbedit -Lv
pdbedit -a -u username
  • test konfigurace@

stop start

/usr/local/etc/rc.d/samba_server stop

samba 4.3

Instalace:
How to start: http://wiki.samba.org/index.php/Samba4/HOWTO

  • Your configuration is: /usr/local/etc/smb4.conf
  • All the relevant databases are under: /var/db/samba4
  • All the logs are under: /var/log/samba4
  • Provisioning script is: /usr/local/bin/samba-tool

For additional documentation check: http://wiki.samba.org/index.php/Samba4

Bug reports should go to the: https://bugzilla.samba.org/

===========================================================================

===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/lib/samba/libsamba-sockets-samba4.so
/usr/local/bin/nmblookup
/usr/local/sbin/winbindd
/usr/local/lib/samba/libgse-samba4.so
/usr/local/lib/samba/libsmbd-base-samba4.so
/usr/local/sbin/smbd
/usr/local/lib/samba/libkrb5-samba4.so.26
/usr/local/lib/libsmbconf.so.0

This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/samba_server

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://www.samba.org/