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 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
|
|
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
26 |
|
Requires: e-smith-base >= 5.6.0-30 |
27 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
28 |
Requires: e-smith-LPRng >= 2.4.0-2 |
Requires: e-smith-LPRng >= 2.5.0-1 |
29 |
Requires: sernet-samba >= 4.1.12 |
Requires: sernet-samba >= 4.1.12 |
30 |
Requires: sernet-samba-ad >= 4.1.12 |
Requires: sernet-samba-ad >= 4.1.12 |
31 |
Requires: sernet-samba-client >= 4.1.12 |
Requires: sernet-samba-client >= 4.1.12 |
51 |
AutoReqProv: no |
AutoReqProv: no |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Sun Jun 26 2016 Greg Zartman <gzartman@koozali.org> 0.1-0-4 |
55 |
|
- Add dnscache and tinydns config per bug [SME: 8638] |
56 |
|
- Add iptables preroute rule for DNS per bug [SME: 8638] |
57 |
|
- Fix issues with domain admins assignment during provisioning |
58 |
|
- Nearly full re-write of user-create-AD action to utilize |
59 |
|
esmith::AD class |
60 |
|
- Add Legacy Mode to user-create-AD action to allow this |
61 |
|
action to work with AccountsDB |
62 |
|
- Add user-create-AD to user-create event |
63 |
|
- Add user-AD-disable action to disable AD user |
64 |
|
- Continued development and enhancement to esmith::AD |
65 |
|
including POD documentation |
66 |
|
- Continued development and enhancement to esmith::AD::User |
67 |
|
including POD documentation |
68 |
|
- Add esmith::AD::OU to manage Organizational Units in the |
69 |
|
Active Directory |
70 |
|
- Fix realm definition in provision action |
71 |
|
|
72 |
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
73 |
|
- Reconfigure provision event to account for default Samba |
74 |
|
complex password policy |
75 |
|
- Abstract core LDAP queries in esmith::AD using runtime binding |
76 |
|
|
77 |
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
78 |
|
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
79 |
|
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
80 |
|
|
81 |
* 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 |
82 |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
83 |
|
|
|
|
|
84 |
%description |
%description |
85 |
Configuration files and templates for Samba 4 services. |
Configuration files and templates for Samba 4 services. |
86 |
|
|
87 |
%prep |
%prep |
88 |
%setup |
%setup |
89 |
|
%patch1 -p1 |
90 |
|
%patch2 -p1 |
91 |
|
|
92 |
%build |
%build |
93 |
perl createlinks |
perl createlinks |
102 |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
103 |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
104 |
--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)' \ |
|
105 |
$RPM_BUILD_ROOT \ |
$RPM_BUILD_ROOT \ |
106 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
107 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
110 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
111 |
|
|
112 |
%post |
%post |
|
rm -rf /var/service/nmbd |
|
|
rm -rf /var/service/smbd |
|
|
rm -rf /var/log/nmbd |
|
|
rm -rf /var/log/smbd |
|
113 |
|
|
114 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
115 |
%defattr(-,root,root) |
%defattr(-,root,root) |