|
# $Id$ |
|
|
# Authority: gregzartman |
|
|
# Name: Greg J. Zartman |
|
|
|
|
1 |
Summary: SME Server specific advanced Samba configuration files and templates |
Summary: SME Server specific advanced Samba configuration files and templates |
2 |
%define name smeserver-adv-samba |
%define name smeserver-adv-samba |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.1.0 |
%define version 0.1.0 |
5 |
%define release 1 |
%define release 4 |
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}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
|
Patch1: smeserver-adv-samba-0.1.0-2.patch |
12 |
|
Patch2: smeserver-adv-samba-0.1.0-safe_winbind.patch |
13 |
|
Patch3: smeserver-adv-samba-0.1.0-winbind2.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
17 |
Requires: e-smith-samba >= 1.14.1-6 |
Requires: e-smith-samba >= 2.0.0 |
18 |
|
Requires: e-smith-base >= 5.0.0 |
19 |
Requires: samba >= 3.0.25b |
Requires: samba >= 3.0.25b |
20 |
Requires: samba-client >= 3.0.25b |
Requires: samba-client >= 3.0.25b |
21 |
|
Requires: samba-common >= 3.0.25b |
22 |
AutoReqProv: no |
AutoReqProv: no |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
* Fri Apr 11 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0 |
* Wed Oct 15 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-4 |
26 |
|
- Update winbindd-service-status action to set service to disabled if |
27 |
|
service is enabled and ServerRole is changed. |
28 |
|
* Tue Oct 14 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-3 |
29 |
|
- Set winbindd to disabled by default and on initial install, was |
30 |
|
previouslly enabled by default. |
31 |
|
- Create action to start winbindd if the DM or ADM server roles are designated. |
32 |
|
|
33 |
|
* Tue Sep 30 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-2 |
34 |
|
- Add template fragments to etc/pam.d/login to look for winbindd auth is |
35 |
|
winbindd is running [SME: 4196]. |
36 |
|
- Add a template fragment to ibays to set the samba 'force group' |
37 |
|
parameter to the current ibay group or the group shared when SME is |
38 |
|
configured as a Domain Member of Active Directory Member. The is required |
39 |
|
so that domain members can have write access to domain member shares. At |
40 |
|
some point, we may decide to fully support domain groups transparently |
41 |
|
at the domain member or active directory member server [SME: 4196]. |
42 |
|
|
43 |
|
* Fri Apr 11 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-1 |
44 |
- Roll initial package. |
- Roll initial package. |
45 |
- Provide configuration parameters to deploy Samba winbindd deamon. |
- Provide configuration parameters to deploy Samba winbindd deamon. |
46 |
- Add template to nsswitch.conf to configure nss to include winbindd auth. |
- Add template to nsswitch.conf to configure nss to include winbindd auth. |
47 |
The configuration parameters included in this fragment really belong |
The configuration parameters included in this fragment really belong |
48 |
in e-smith-base, but we are including it in this package until it it |
in e-smith-base, but we are including it in this package until it is |
49 |
deemed appropriate to move it to e-smith-base. |
deemed appropriate to move it to e-smith-base. |
50 |
|
|
51 |
%description |
%description |
63 |
|
|
64 |
%prep |
%prep |
65 |
%setup |
%setup |
66 |
|
%patch1 -p1 |
67 |
|
%patch2 -p1 |
68 |
|
%patch3 -p1 |
69 |
|
|
70 |
%build |
%build |
|
mkdir -p root/etc/e-smith/tests |
|
71 |
perl createlinks |
perl createlinks |
72 |
|
|
73 |
# Manage supervise and multilog for winbindd. |
# Manage supervise and multilog for winbindd. |
78 |
mkdir -p root/var/service/winbindd/log/supervise |
mkdir -p root/var/service/winbindd/log/supervise |
79 |
mkdir -p root/var/log/winbindd |
mkdir -p root/var/log/winbindd |
80 |
|
|
|
# Make storage point for shadowcopies |
|
|
mkdir -p root/home/e-smith/files/.shadow |
|
|
|
|
81 |
%install |
%install |
82 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
83 |
|
|
84 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
85 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
86 |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |