samba rebuild

This commit is contained in:
Berk Çakar
2021-06-23 00:21:00 +03:00
parent ebbadfdfad
commit 4f1d68e5e5
5 changed files with 127 additions and 138 deletions
@@ -0,0 +1,23 @@
From: Berk Cakar <berk2238@hotmail.com>
Date: Tue, 22 Jun 2021 20:19:32 +0300
Subject: [PATCH] Fix build on libtirpc-less glibc
---
lib/replace/wscript | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 5d6324ef619..80afda75c96 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -109,6 +109,7 @@ def configure(conf):
conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
+ conf.CHECK_CODE('', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H')
conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h')
conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h')
--
2.24.3 (Apple Git-128)
+9 -5
View File
@@ -1,5 +1,9 @@
#%PAM-1.0
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
password required pam_unix.so nodelay smbconf=/etc/samba/smb.conf
# Begin /etc/pam.d/samba
auth required pam_nologin.so
auth include system-auth
account include system-account
session include system-session
password include system-password
# End /etc/pam.d/samba
+2 -2
View File
@@ -1,2 +1,2 @@
D /run/samba 0755 root root
d /var/log/samba 0755 root root
D /run/samba 0755 - - -
d /var/log/samba 0755 - - -