summaryrefslogtreecommitdiff
path: root/net/samba416/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba416/files')
-rw-r--r--net/samba416/files/README.FreeBSD.in10
-rw-r--r--net/samba416/files/patch-lib_util_time.h10
-rw-r--r--net/samba416/files/patch-source4_torture_ndr_ndr.h11
3 files changed, 26 insertions, 5 deletions
diff --git a/net/samba416/files/README.FreeBSD.in b/net/samba416/files/README.FreeBSD.in
index 9ab4faaeef80..d89cfe72b143 100644
--- a/net/samba416/files/README.FreeBSD.in
+++ b/net/samba416/files/README.FreeBSD.in
@@ -54,11 +54,11 @@ content of the '/var/db/samba/' directory.
# samba-tool domain classicupgrade
-%%AC_DC%%1c. You will need to specify location of the 'nsupdate' command in the
-%%AC_DC%%'%%SAMBA4_CONFIG%%' file:
-%%AC_DC%%
-%%AC_DC%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
-%%AC_DC%%
+%%AD_DC%%1c. You will need to specify location of the 'nsupdate' command in the
+%%AD_DC%%'%%SAMBA4_CONFIG%%' file:
+%%AD_DC%%
+%%AD_DC%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
+%%AD_DC%%
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.
diff --git a/net/samba416/files/patch-lib_util_time.h b/net/samba416/files/patch-lib_util_time.h
new file mode 100644
index 000000000000..792c1d9d4f62
--- /dev/null
+++ b/net/samba416/files/patch-lib_util_time.h
@@ -0,0 +1,10 @@
+--- lib/util/time.h.orig 2022-01-24 10:26:58 UTC
++++ lib/util/time.h
+@@ -27,6 +27,7 @@
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <talloc.h>
++#include <sys/types.h>
+
+ #ifndef TIME_T_MIN
+ /* we use 0 here, because (time_t)-1 means error */
diff --git a/net/samba416/files/patch-source4_torture_ndr_ndr.h b/net/samba416/files/patch-source4_torture_ndr_ndr.h
new file mode 100644
index 000000000000..e2b7e7623f2c
--- /dev/null
+++ b/net/samba416/files/patch-source4_torture_ndr_ndr.h
@@ -0,0 +1,11 @@
+--- source4/torture/ndr/ndr.h.orig 2022-01-24 10:27:00 UTC
++++ source4/torture/ndr/ndr.h
+@@ -20,6 +20,8 @@
+ #ifndef __TORTURE_NDR_H__
+ #define __TORTURE_NDR_H__
+
++#include <sys/types.h>
++
+ #include "torture/torture.h"
+ #include "librpc/ndr/libndr.h"
+ #include "libcli/security/security.h"