A (OT?) question.
For enable Samba Active Directory Domain Controller mode on Fedora 25,
peoples must modify the spec file (see attached patch) and rebuild the
samba.src.rpm package.
But this generate a version problem, solved only by the epoch parameter
Yes, I know the Heimdal / MIT Kerberos issue.
But.
IMHO, I think Samba ADDC mode should be enabled by default. When samba
is build in this way, all other mode, like USER (default) o ADS, they
work as usual (If it is not so let me know).
At Least, otherwise, it's possible insert into spec file a new flag,
for example "with_addc_enable", So you can use this flag at rebuild
time, and do not must change the spec file every time someone (like me)
want rebuild the package to allow samba AD-DC function.
What is your opinion?
What is the best place into discuss this request?
Many thanks.
--
Dario Lesca
(inviato dal mio Linux Fedora 25 Workstation)
--- rpmbuild/SPECS/samba.spec.orig 2017-03-09 17:50:31.000000000 +0100
+++ rpmbuild/SPECS/samba.spec 2017-03-27 23:37:35.938752957 +0200
@@ -56,8 +56,8 @@
%global libwbc_alternatives_suffix -64
%endif
-%global with_mitkrb5 1
-%global with_dc 0
+%global with_mitkrb5 0
+%global with_dc 1
%if %{with testsuite}
# The testsuite only works with a full build right now.
@@ -78,9 +78,9 @@
Release: %{samba_release}
%if 0%{?rhel}
-Epoch: 0
+Epoch: 4
%else
-Epoch: 2
+Epoch: 4
%endif
%if 0%{?epoch} > 0
@@ -820,7 +820,7 @@
%endif
install -d -m 0755 %{buildroot}%{_unitdir}
-for i in nmb smb winbind ; do
+for i in nmb smb winbind samba ; do
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
done
@@ -1457,6 +1457,7 @@
%{_datadir}/samba/setup
%{_mandir}/man8/samba.8*
%{_mandir}/man8/samba-tool.8*
+%{_unitdir}/samba.service
%else # with_dc
%doc packaging/README.dc
%endif # with_dc
@@ -1488,7 +1489,10 @@
%{_libdir}/samba/libdfs-server-ad-samba4.so
%{_libdir}/samba/libdnsserver-common-samba4.so
%{_libdir}/samba/libdsdb-module-samba4.so
-%{_libdir}/samba/libntvfs-samba4.so
+# %{_libdir}/samba/libntvfs-samba4.so
+%{_libdir}/samba/bind9/dlz_bind9_11.so
+%{_libdir}/samba/ldb/dsdb_notification.so
+%{_libdir}/samba/ldb/vlv.so
%{_libdir}/samba/bind9/dlz_bind9_9.so
%else
%doc packaging/README.dc-libs
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org