bsd:bsfsmb
Table des matières
SAMBA
Installation
Attention: j'ai rencontré un gros problème de configuration avec samba411-4.11.7 qui n'a jamais voulu fonctionner correctement.
J'avais chaque fois une erreur de connexion sans savoir pourquoi !
pkg install samba410-4.10.14 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 34 package(s) will be affected (of 0 checked): New packages to be INSTALLED: avahi-app: 0.7_3 ca_root_nss: 3.51.1 dbus: 1.12.16 dbus-glib: 0.110 gamin: 0.1.10_10 gmp: 6.2.0 gnome_subr: 1.0 gnutls: 3.6.13 gobject-introspection: 1.56.1,1 jansson: 2.12 libICE: 1.0.10,1 libSM: 1.2.3,1 libarchive: 3.4.2,1 libdaemon: 0.14_1 libidn2: 2.3.0_1 libinotify: 20180201_1 liblz4: 1.9.2_1,1 libsunacl: 1.0.1 libtasn1: 4.16.0 libunistring: 0.9.10_1 lmdb: 0.9.24_1,1 lzo2: 2.10_1 nettle: 3.5.1_1 openldap-client: 2.4.49 p11-kit: 0.23.20 popt: 1.16_2 py37-iso8601: 0.1.12 py37-setuptools: 44.0.0 samba410: 4.10.14 talloc: 2.3.0 tdb: 1.4.2,1 tevent: 0.10.1 tpm-emulator: 0.7.4_2 trousers: 0.3.14_2 Number of packages to be installed: 34 The process will require 137 MiB more space. 24 MiB to be downloaded. Proceed with this action? [y/N]: y [1/34] Fetching samba410-4.10.14.txz: 100% 13 MiB 1.9MB/s 00:07 [2/34] Fetching libsunacl-1.0.1.txz: 100% 7 KiB 6.9kB/s 00:01 [3/34] Fetching libtasn1-4.16.0.txz: 100% 599 KiB 613.7kB/s 00:01 [4/34] Fetching gnutls-3.6.13.txz: 100% 2 MiB 2.6MB/s 00:01 [5/34] Fetching trousers-0.3.14_2.txz: 100% 474 KiB 485.6kB/s 00:01 [6/34] Fetching tpm-emulator-0.7.4_2.txz: 100% 114 KiB 116.5kB/s 00:01 [7/34] Fetching gmp-6.2.0.txz: 100% 478 KiB 489.6kB/s 00:01 [8/34] Fetching p11-kit-0.23.20.txz: 100% 439 KiB 449.6kB/s 00:01 [9/34] Fetching ca_root_nss-3.51.1.txz: 100% 289 KiB 296.1kB/s 00:01 [10/34] Fetching nettle-3.5.1_1.txz: 100% 1 MiB 1.2MB/s 00:01 [11/34] Fetching libidn2-2.3.0_1.txz: 100% 111 KiB 113.9kB/s 00:01 [12/34] Fetching libunistring-0.9.10_1.txz: 100% 526 KiB 538.5kB/s 00:01 [13/34] Fetching openldap-client-2.4.49.txz: 100% 1 MiB 1.1MB/s 00:01 [14/34] Fetching avahi-app-0.7_3.txz: 100% 426 KiB 436.7kB/s 00:01 [15/34] Fetching gnome_subr-1.0.txz: 100% 2 KiB 1.9kB/s 00:01 [16/34] Fetching libdaemon-0.14_1.txz: 100% 32 KiB 32.4kB/s 00:01 [17/34] Fetching gobject-introspection-1.56.1,1.txz: 100% 1 MiB 1.2MB/s 00:01 [18/34] Fetching dbus-glib-0.110.txz: 100% 164 KiB 167.6kB/s 00:01 [19/34] Fetching dbus-1.12.16.txz: 100% 368 KiB 377.3kB/s 00:01 [20/34] Fetching libSM-1.2.3,1.txz: 100% 23 KiB 23.7kB/s 00:01 [21/34] Fetching libICE-1.0.10,1.txz: 100% 92 KiB 94.0kB/s 00:01 [22/34] Fetching tevent-0.10.1.txz: 100% 49 KiB 50.1kB/s 00:01 [23/34] Fetching talloc-2.3.0.txz: 100% 48 KiB 49.3kB/s 00:01 [24/34] Fetching py37-iso8601-0.1.12.txz: 100% 12 KiB 12.2kB/s 00:01 [25/34] Fetching py37-setuptools-44.0.0.txz: 100% 512 KiB 524.4kB/s 00:01 [26/34] Fetching popt-1.16_2.txz: 100% 62 KiB 63.2kB/s 00:01 [27/34] Fetching libinotify-20180201_1.txz: 100% 26 KiB 26.6kB/s 00:01 [28/34] Fetching jansson-2.12.txz: 100% 42 KiB 43.1kB/s 00:01 [29/34] Fetching gamin-0.1.10_10.txz: 100% 52 KiB 52.7kB/s 00:01 [30/34] Fetching tdb-1.4.2,1.txz: 100% 81 KiB 82.7kB/s 00:01 [31/34] Fetching lmdb-0.9.24_1,1.txz: 100% 101 KiB 103.0kB/s 00:01 [32/34] Fetching libarchive-3.4.2,1.txz: 100% 799 KiB 818.1kB/s 00:01 [33/34] Fetching lzo2-2.10_1.txz: 100% 110 KiB 112.2kB/s 00:01 [34/34] Fetching liblz4-1.9.2_1,1.txz: 100% 160 KiB 163.3kB/s 00:01 Checking integrity... done (0 conflicting) [1/34] Installing libICE-1.0.10,1... [1/34] Extracting libICE-1.0.10,1: 100% [2/34] Installing gmp-6.2.0... [2/34] Extracting gmp-6.2.0: 100% [3/34] Installing libSM-1.2.3,1... [3/34] Extracting libSM-1.2.3,1: 100% [4/34] Installing libtasn1-4.16.0... [4/34] Extracting libtasn1-4.16.0: 100% [5/34] Installing tpm-emulator-0.7.4_2... ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. [5/34] Extracting tpm-emulator-0.7.4_2: 100% [6/34] Installing ca_root_nss-3.51.1... [6/34] Extracting ca_root_nss-3.51.1: 100% [7/34] Installing libunistring-0.9.10_1... [7/34] Extracting libunistring-0.9.10_1: 100% [8/34] Installing dbus-1.12.16... ===> Creating groups. Using existing group 'messagebus'. ===> Creating users Using existing user 'messagebus'. [8/34] Extracting dbus-1.12.16: 100% [9/34] Installing trousers-0.3.14_2... ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. [9/34] Extracting trousers-0.3.14_2: 100% [10/34] Installing p11-kit-0.23.20... [10/34] Extracting p11-kit-0.23.20: 100% [11/34] Installing nettle-3.5.1_1... [11/34] Extracting nettle-3.5.1_1: 100% [12/34] Installing libidn2-2.3.0_1... [12/34] Extracting libidn2-2.3.0_1: 100% [13/34] Installing gnome_subr-1.0... [13/34] Extracting gnome_subr-1.0: 100% [14/34] Installing libdaemon-0.14_1... [14/34] Extracting libdaemon-0.14_1: 100% [15/34] Installing gobject-introspection-1.56.1,1... [15/34] Extracting gobject-introspection-1.56.1,1: 100% [16/34] Installing dbus-glib-0.110... [16/34] Extracting dbus-glib-0.110: 100% [17/34] Installing talloc-2.3.0... [17/34] Extracting talloc-2.3.0: 100% [18/34] Installing py37-setuptools-44.0.0... [18/34] Extracting py37-setuptools-44.0.0: 100% [19/34] Installing lzo2-2.10_1... [19/34] Extracting lzo2-2.10_1: 100% [20/34] Installing liblz4-1.9.2_1,1... [20/34] Extracting liblz4-1.9.2_1,1: 100% [21/34] Installing libsunacl-1.0.1... [21/34] Extracting libsunacl-1.0.1: 100% [22/34] Installing gnutls-3.6.13... [22/34] Extracting gnutls-3.6.13: 100% [23/34] Installing openldap-client-2.4.49... [23/34] Extracting openldap-client-2.4.49: 100% [24/34] Installing avahi-app-0.7_3... ===> Creating groups. Using existing group 'avahi'. ===> Creating users Using existing user 'avahi'. [24/34] Extracting avahi-app-0.7_3: 100% [25/34] Installing tevent-0.10.1... [25/34] Extracting tevent-0.10.1: 100% [26/34] Installing py37-iso8601-0.1.12... [26/34] Extracting py37-iso8601-0.1.12: 100% [27/34] Installing popt-1.16_2... [27/34] Extracting popt-1.16_2: 100% [28/34] Installing libinotify-20180201_1... [28/34] Extracting libinotify-20180201_1: 100% [29/34] Installing jansson-2.12... [29/34] Extracting jansson-2.12: 100% [30/34] Installing gamin-0.1.10_10... [30/34] Extracting gamin-0.1.10_10: 100% [31/34] Installing tdb-1.4.2,1... [31/34] Extracting tdb-1.4.2,1: 100% [32/34] Installing lmdb-0.9.24_1,1... [32/34] Extracting lmdb-0.9.24_1,1: 100% [33/34] Installing libarchive-3.4.2,1... [33/34] Extracting libarchive-3.4.2,1: 100% [34/34] Installing samba410-4.10.14... [34/34] Extracting samba410-4.10.14: 100% ===== Message from ca_root_nss-3.51.1: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem ===== Message from trousers-0.3.14_2: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===== Message from openldap-client-2.4.49: -- The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ===== Message from libinotify-20180201_1: -- Libinotify functionality on FreeBSD is missing support for - detecting a file being moved into or out of a directory within the same filesystem - certain modifications to a symbolic link (rather than the file it points to.) in addition to the known limitations on all platforms using kqueue(2) where various open and close notifications are unimplemented. This means the following regression tests will fail: Directory notifications: IN_MOVED_FROM IN_MOVED_TO Open/close notifications: IN_OPEN IN_CLOSE_NOWRITE IN_CLOSE_WRITE Symbolic Link notifications: IN_DONT_FOLLOW IN_ATTRIB IN_MOVE_SELF IN_DELETE_SELF Kernel patches to address the missing directory and symbolic link notifications are available from: https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from gamin-0.1.10_10: -- Gamin will only provide realtime notification of changes for at most n files, where n is the minimum value between (kern.maxfiles * 0.7) and (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. If you often open several large folders with Nautilus, you might want to increase the kern.maxfiles tunable (you do not need to set kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). The behavior of gamin can be controlled via the various gaminrc files. See http://www.gnome.org/~veillard/gamin/config.html on how to create these files. In particular, if you find gam_server is taking up too much CPU time polling for changes, something like the following may help in one of the gaminrc files: # reduce polling frequency to once per 10 seconds # for UFS file systems in order to lower CPU load fsset ufs poll 10 -- ===> NOTICE: The gamin port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===== Message from samba410-4.10.14: -- 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/
Attention : le fichier smb4.conf n'existe pas après l'installation dans /usr/local/etc/ il faut donc le créer !
Ajout d'utilisteur
bsd/bsfsmb.txt · Dernière modification : de spaiko
