1 |
Summary: SME Server specific Samba configuration files and templates |
2 |
%define name smeserver-samba |
3 |
Name: %{name} |
4 |
%define version 0.1.0 |
5 |
%define release 5 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tgz |
11 |
Patch1: smeserver-samba-0.1.0-provision_password.patch |
12 |
Patch2: smeserver-samba-0.1.0-062616-update.patch |
13 |
Patch3: smeserver-samba-0.1.0-072416-update.patch |
14 |
Obsoletes: e-smith-netlogon |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
|
18 |
##Obsolete e-smith-samba |
19 |
Provides: e-smith-samba |
20 |
Obsoletes: e-smith-samba |
21 |
##Obsolete e-smith-ldap |
22 |
Obsoletes: e-smith-ldap |
23 |
Provides: e-smith-ldap |
24 |
|
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
Requires: e-smith-lib >= 2.2.0-2 |
27 |
Requires: e-smith-base >= 5.6.0-30 |
28 |
Requires: e-smith-formmagick >= 1.4.0-9 |
29 |
Requires: e-smith-LPRng >= 2.5.0-1 |
30 |
Requires: sernet-samba >= 4.1.12 |
31 |
Requires: sernet-samba-ad >= 4.1.12 |
32 |
Requires: sernet-samba-client >= 4.1.12 |
33 |
Requires: sernet-samba-common >= 4.1.12 |
34 |
Requires: sernet-samba-libs >= 4.1.12 |
35 |
Requires: sernet-samba-libsmbclient0 >= 4.1.12 |
36 |
Requires: sernet-samba-winbind >= 4.1.12 |
37 |
Obsoletes: samba3x |
38 |
Obsoletes: samba3x-client |
39 |
Obsoletes: samba3x-common |
40 |
Obsoletes: samba3x-winbind |
41 |
Obsoletes: libsmbclient <= 3.0.33 |
42 |
# Obsolete SerNet packages |
43 |
Obsoletes: libsmbclient0 |
44 |
Obsoletes: libwbclient0 |
45 |
Obsoletes: samba3 |
46 |
Obsoletes: samba3-cifsmount |
47 |
Obsoletes: samba3-client |
48 |
Obsoletes: samba3-doc |
49 |
Obsoletes: samba3-utils |
50 |
Obsoletes: samba3-winbind |
51 |
Requires: /usr/bin/tdbbackup |
52 |
AutoReqProv: no |
53 |
|
54 |
%changelog |
55 |
* Sun Jul 24 2016 Greg Zartman <gzartman@koozali.org> 0.1-0-5 |
56 |
- Extend Active Directory schema to include quota and |
57 |
smeCustom attributes via the koozaliUser objectClass |
58 |
- Remove adjust-samba event and use services2adjust |
59 |
- Add Group-create-AD action |
60 |
- Design changes to provision-domain-controller and |
61 |
bootstrap-provision-dc events to provision samba entirely |
62 |
cold using ldif |
63 |
- Add pseudonym support to esmith::AD |
64 |
- Further enhancement to esmith::AD to provide user & group |
65 |
management functionality similar to that provided by AccountsDB |
66 |
- Re-write createlinks to flow a more logical sequence |
67 |
- Fix dnsforwarder in smb.conf |
68 |
- Fix several esmith::AD::User and esmith::AD::Group methods broken |
69 |
in 0.1-0-3 when we added runtime binding |
70 |
|
71 |
* Sun Jun 26 2016 Greg Zartman <gzartman@koozali.org> 0.1-0-4 |
72 |
- Add dnscache and tinydns config per bug [SME: 9711] |
73 |
- Add iptables preroute rule for DNS per bug [SME: 9711] |
74 |
- Fix issues with domain admins assignment during provisioning |
75 |
- Nearly full re-write of user-create-AD action to utilize |
76 |
esmith::AD class |
77 |
- Add Legacy Mode to user-create-AD action to allow this |
78 |
action to work with AccountsDB |
79 |
- Add user-create-AD to user-create event |
80 |
- Add user-AD-disable action to disable AD user |
81 |
- Continued development and enhancement to esmith::AD |
82 |
including POD documentation |
83 |
- Continued development and enhancement to esmith::AD::User |
84 |
including POD documentation |
85 |
- Add esmith::AD::OU to manage Organizational Units in the |
86 |
Active Directory |
87 |
- Fix realm definition in provision action |
88 |
|
89 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
90 |
- Reconfigure provision event to account for default Samba |
91 |
complex password policy |
92 |
- Abstract core LDAP queries in esmith::AD using runtime binding |
93 |
|
94 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
95 |
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
96 |
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
97 |
|
98 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
99 |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
100 |
|
101 |
%description |
102 |
Configuration files and templates for Samba 4 services. |
103 |
|
104 |
%prep |
105 |
%setup |
106 |
%patch1 -p1 |
107 |
%patch2 -p1 |
108 |
%patch3 -p1 |
109 |
|
110 |
%build |
111 |
perl createlinks |
112 |
|
113 |
%install |
114 |
rm -rf $RPM_BUILD_ROOT |
115 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
116 |
/sbin/e-smith/genfilelist \ |
117 |
--dir '/var/service/smb' 'attr(1755,root,root)' \ |
118 |
--file '/var/service/smb/down' 'attr(0644,root,root)' \ |
119 |
--file '/var/service/smb/run' 'attr(0755,root,root)' \ |
120 |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
121 |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
122 |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
123 |
$RPM_BUILD_ROOT \ |
124 |
> %{name}-%{version}-filelist |
125 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
126 |
|
127 |
%clean |
128 |
rm -rf $RPM_BUILD_ROOT |
129 |
|
130 |
%post |
131 |
|
132 |
%files -f %{name}-%{version}-filelist |
133 |
%defattr(-,root,root) |