1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/samba48/files
Koop Mast 951c1f5d1c The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD.
The offical GNOME 3.28 release notes can be found at
https://help.gnome.org/misc/release-notes/3.28/

Thanks to Antoine Brodin for running the exp-runs.

PR:		229761
2018-09-30 11:58:29 +00:00
..
man
0001-audit.patch
0001-bug-13175.patch
0001-bug-13441-extra.patch Last patches cleanup removed one extra patch, essensial for the MacOS and vfs_fruit users. Bring it back. 2018-09-06 18:55:48 +00:00
0001-bug-228462.patch
0001-ctdb.patch
0001-Freenas-master-mdns-fixes-22.patch
0001-Zfs-provision-1.patch
patch-buildtools__scripts__abi_gen.sh
patch-buildtools__wafsamba__samba_autoconf.py
patch-buildtools__wafsamba__samba_install.py
patch-buildtools__wafsamba__samba_python.py
patch-buildtools__wafsamba__wafsamba.py
patch-buildtools__wafsamba__wscript
patch-ctdb__wscript Update samba48 port to 4.8.5 version 2018-09-02 22:36:09 +00:00
patch-dbwrap
patch-dnssock.c
patch-dynconfig__wscript
patch-examples__pdb__wscript_build
patch-glusterfs
patch-includes.h
patch-lib__crypto__wscript_configure
patch-lib__ldb__ldb_cache.c
patch-lib__replace__wscript
patch-lib__talloc__talloc.c
patch-lib__talloc__wscript
patch-lib__util__debug.c
patch-lib__util__wscript_build
patch-librpc__idl__xattr.idl
patch-nsswitch__wscript_build
patch-source3__lib__util.c
patch-source3__librpc__crypto__gse.c
patch-source3__modules__vfs_streams_xattr.c
patch-source3__modules__wscript_build
patch-source3__smbd__quotas.c
patch-source3__smbd__utmp.c
patch-source3__utils__net_time.c
patch-source3__utils__net.c
patch-source3__winbindd__wscript_build
patch-source3__wscript The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD. 2018-09-30 11:58:29 +00:00
patch-source3__wscript_build Update samba48 port to 4.8.5 version 2018-09-02 22:36:09 +00:00
patch-source4__heimdal__lib__roken__rand.c Update samba48 port to 4.8.5 version 2018-09-02 22:36:09 +00:00
patch-source4__kdc__kdc-service-mit.c
patch-source4__lib__http__http.c
patch-third__party_aesni-intel_wscript
patch-third_party__waf__wafadmin__Logs.py
patch-third_party__waf__wafadmin__Tools__cc.py
patch-vfs_freebsd.c
patch-vfs_virusfilter
pkg-message.in
README.FreeBSD.in
samba_server.in

              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
              !!! Please read before runing any tools !!!
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Documentation
=============

    o https://wiki.samba.org/index.php/Samba4/HOWTO

    o https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO

    o https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO

FreeBSD specific information
============================

* Your configuration is in: %%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%

* All the logs are under: %%SAMBA4_LOGDIR%%

* All the relevant databases are under: %%SAMBA4_LOCKDIR%%

* Provisioning script is: %%PREFIX%%/bin/samba-tool

Samba4 provisioning requires file system(s) with the ACLs support. On
UFS2 you need to enable POSIX ACLs by adding 'acls' option to the mount
flags, on ZFS you need to use NFSv4 ACLs and `zfsacl` VFS module to get
provisioning work.

There is a hack in the code, that makes provisioning work on UFS2 and in
the jails on the price of using USER extattr(2) namespace, which is less
secure than SYSTEM namespace, as can be edited not only by root user, but
also by the owner of the file.

For the provisioning on ZFS you need to use additional parameters to the
samba-tool, that would explicitly add `zfsacl` to the default `vfs objects`:

    # samba-tool domain provision --interactive \
            --option="vfs objects"="dfs_samba4 zfsacl"

To run this port you need to perform the following steps:
---------------------------------------------------------

0. If you had Samba3 port installed before, please, *take backups* of
all the relevant files. That includes 'smb.conf' file and all the
content of the '/var/db/samba/' directory.

1a. Create new '%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%' file by running:

    # samba-tool domain provision

1b. Or upgrade from the Samba3 'smb.conf' file by running:

    # samba-tool domain classicupgrade

%%NSUPDATE%%1c. You will need to specify location of the 'nsupdate' command in the
%%NSUPDATE%%'%%SAMBA4_CONFIG%%' file:
%%NSUPDATE%%
%%NSUPDATE%%      nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
%%NSUPDATE%%
2. Put string 'samba_server_enable="YES"' into your /etc/rc.conf.

3. Make sure that your server doesn't run Samba3, OpenLDAP and named.
Stop them, if necessary.

4. Run '%%PREFIX%%/etc/rc.d/samba_server start' or reboot.

Please, check archives of samba@lists.samba.org and ask there for help,
if necessary:

    https://lists.samba.org/archive/samba/

In case you found a bug which is clearly not related to the port build
process itself, plese file a bug report at:

    https://bugzilla.samba.org/

And add me to CC list.

You may find those tools helpful:
---------------------------------

Microsoft Remote Server Administration Tools (RSAT) for:

* Vista: http://www.microsoft.com/en-us/download/details.aspx?id=21090
* Windows 7: http://www.microsoft.com/en-us/download/details.aspx?id=7887


FreeBSD Samba4 port maintainer: Timur I. Bakeyev <timur@FreeBSD.org>