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