1 |
Summary: SME Server specific Samba configuration files and templates |
2 |
%define name smeserver-samba |
3 |
Name: %{name} |
4 |
%define version 0.7.0 |
5 |
%define release 2 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.xz |
11 |
Obsoletes: e-smith-netlogon |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
BuildArchitectures: noarch |
14 |
|
15 |
Provides: e-smith-samba |
16 |
Obsoletes: e-smith-samba |
17 |
Obsoletes: e-smith-ldap |
18 |
Provides: e-smith-ldap |
19 |
|
20 |
Provides: perl(esmith::AD) |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
Requires: e-smith-lib >= 2.6.0-3 |
23 |
Requires: e-smith-base >= 5.8.0-29 |
24 |
Requires: e-smith-formmagick >= 1.4.0-9 |
25 |
Requires: samba >= 4.2.10-7.1.el7.sme |
26 |
Requires: samba-client >= 4.2.10-7.1.el7.sme |
27 |
Requires: samba-common >= 4.2.10-7.1.el7.sme |
28 |
Requires: samba-common-tools >= 4.2.10-7.1.el7.sme |
29 |
Requires: samba-python >= 4.2.10-7.1.el7.sme |
30 |
Requires: samba-dc >= 4.2.10-7.1.el7.sme |
31 |
Requires: samba-winbind >= 4.2.10-7.1.el7.sme |
32 |
Requires: samba-winbind-clients >= 4.2.10-7.1.el7.sme |
33 |
Requires: samba-winbind-krb5-locator >= 4.2.10-7.1.el7.sme |
34 |
|
35 |
#Requires: /usr/bin/tdbbackup |
36 |
AutoReqProv: no |
37 |
|
38 |
%changelog |
39 |
* Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.7.0-2.sme |
40 |
- updated Requires to at least 4.2.10-7.1.el7.sme |
41 |
- instead of exactly. might brake on update, but at least let us isntall it. |
42 |
|
43 |
* Fri Sep 30 2016 Greg Zartman <gzartman@koozali.org> 0.7.0-1 |
44 |
- Roll alpha 7 for SME 10. Since we have to fork upstream Samba 4 to |
45 |
provide DC support, we will set requires to the specific forked version |
46 |
4.2.10-7.el7.sme [SME: 9817] |
47 |
|
48 |
* Sun Sep 25 2016 Greg Zartman <gzartman@koozali.org> 0.6.0-1 |
49 |
- Change the way we are naming alpha package versions because it is becoming |
50 |
difficult to apply alpha level changes with patch files. Each alpha |
51 |
release will have its own source archive |
52 |
- Move smb.conf and AD schema extension fragements to /etc/samba |
53 |
- Extend AD schema to include the attributes: lockable, removable, |
54 |
and emailForward |
55 |
- Replace user-create event with user-initialize |
56 |
- Update user-modify, user-delete, user-lock events for AD integration |
57 |
- Clean-up smb.conf fragments now that we have a working Samba 4 deployment, |
58 |
including default configuration dbase parameters |
59 |
- Create user-AD-enable and user-AD-disable actions |
60 |
- Further enhancement and refinement to esmith::AD for server-manager panels |
61 |
|
62 |
* Sun Jul 24 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-5 |
63 |
- Extend Active Directory schema to include quota and |
64 |
smeCustom attributes via the koozaliUser objectClass |
65 |
- Remove adjust-samba event and use services2adjust |
66 |
- Add Group-create-AD action |
67 |
- Design changes to provision-domain-controller and |
68 |
bootstrap-provision-dc events to provision samba entirely |
69 |
cold using ldif |
70 |
- Add pseudonym support to esmith::AD |
71 |
- Further enhancement to esmith::AD to provide user & group |
72 |
management functionality similar to that provided by AccountsDB |
73 |
- Re-write createlinks to flow a more logical sequence |
74 |
- Fix dnsforwarder in smb.conf |
75 |
- Fix several esmith::AD::User and esmith::AD::Group methods broken |
76 |
in 0.1-0-3 when we added runtime binding |
77 |
|
78 |
* Sun Jun 26 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-4 |
79 |
- Add dnscache and tinydns config per bug [SME: 9711] |
80 |
- Add iptables preroute rule for DNS per bug [SME: 9711] |
81 |
- Fix issues with domain admins assignment during provisioning |
82 |
- Nearly full re-write of user-create-AD action to utilize |
83 |
esmith::AD class |
84 |
- Add Legacy Mode to user-create-AD action to allow this |
85 |
action to work with AccountsDB |
86 |
- Add user-create-AD to user-create event |
87 |
- Add user-AD-disable action to disable AD user |
88 |
- Continued development and enhancement to esmith::AD |
89 |
including POD documentation |
90 |
- Continued development and enhancement to esmith::AD::User |
91 |
including POD documentation |
92 |
- Add esmith::AD::OU to manage Organizational Units in the |
93 |
Active Directory |
94 |
- Fix realm definition in provision action |
95 |
|
96 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
97 |
- Reconfigure provision event to account for default Samba |
98 |
complex password policy |
99 |
- Abstract core LDAP queries in esmith::AD using runtime binding |
100 |
|
101 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
102 |
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
103 |
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
104 |
|
105 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
106 |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
107 |
|
108 |
%description |
109 |
Configuration files and templates for Samba 4 services. |
110 |
|
111 |
%prep |
112 |
%setup |
113 |
|
114 |
%build |
115 |
perl createlinks |
116 |
|
117 |
%install |
118 |
rm -rf $RPM_BUILD_ROOT |
119 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
120 |
/sbin/e-smith/genfilelist \ |
121 |
--dir '/var/service/smb' 'attr(1755,root,root)' \ |
122 |
--file '/var/service/smb/down' 'attr(0644,root,root)' \ |
123 |
--file '/var/service/smb/run' 'attr(0755,root,root)' \ |
124 |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
125 |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
126 |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
127 |
$RPM_BUILD_ROOT \ |
128 |
> %{name}-%{version}-filelist |
129 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
130 |
|
131 |
%clean |
132 |
rm -rf $RPM_BUILD_ROOT |
133 |
|
134 |
%post |
135 |
|
136 |
%files -f %{name}-%{version}-filelist |
137 |
%defattr(-,root,root) |