2 |
%define name smeserver-samba |
%define name smeserver-samba |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.1.0 |
%define version 0.1.0 |
5 |
%define release 1 |
%define release 5 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tgz |
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 |
Obsoletes: e-smith-netlogon |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
|
|
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
Requires: e-smith-lib >= 2.2.0-2 |
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 |
Requires: e-smith-formmagick >= 1.4.0-9 |
29 |
Requires: e-smith-LPRng >= 2.4.0-2 |
Requires: e-smith-LPRng >= 2.5.0-1 |
30 |
Requires: sernet-samba >= 4.1.12 |
Requires: sernet-samba >= 4.1.12 |
31 |
Requires: sernet-samba-ad >= 4.1.12 |
Requires: sernet-samba-ad >= 4.1.12 |
32 |
Requires: sernet-samba-client >= 4.1.12 |
Requires: sernet-samba-client >= 4.1.12 |
52 |
AutoReqProv: no |
AutoReqProv: no |
53 |
|
|
54 |
%changelog |
%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 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
99 |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
100 |
|
|
|
|
|
101 |
%description |
%description |
102 |
Configuration files and templates for Samba 4 services. |
Configuration files and templates for Samba 4 services. |
103 |
|
|
104 |
%prep |
%prep |
105 |
%setup |
%setup |
106 |
|
%patch1 -p1 |
107 |
|
%patch2 -p1 |
108 |
|
%patch3 -p1 |
109 |
|
|
110 |
%build |
%build |
111 |
perl createlinks |
perl createlinks |
120 |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
121 |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
122 |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
|
--file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \ |
|
123 |
$RPM_BUILD_ROOT \ |
$RPM_BUILD_ROOT \ |
124 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
125 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
128 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
129 |
|
|
130 |
%post |
%post |
|
rm -rf /var/service/nmbd |
|
|
rm -rf /var/service/smbd |
|
|
rm -rf /var/log/nmbd |
|
|
rm -rf /var/log/smbd |
|
131 |
|
|
132 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
133 |
%defattr(-,root,root) |
%defattr(-,root,root) |