--- rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec 2008/04/12 14:41:13 1.2 +++ rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec 2008/10/15 07:50:40 1.5 @@ -1,32 +1,47 @@ -# $Id$ -# Authority: gregzartman -# Name: Greg J. Zartman - Summary: SME Server specific advanced Samba configuration files and templates %define name smeserver-adv-samba Name: %{name} %define version 0.1.0 -%define release 1 +%define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz +Patch1: smeserver-adv-samba-0.1.0-2.patch +Patch2: smeserver-adv-samba-0.1.0-safe_winbind.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 -Requires: e-smith-samba >= 1.14.1-6 +Requires: e-smith-samba >= 2.0.0 +Requires: e-smith-base >= 5.0.0 Requires: samba >= 3.0.25b Requires: samba-client >= 3.0.25b +Requires: samba-common >= 3.0.25b AutoReqProv: no %changelog -* Fri Apr 11 2008 Greg J. Zartman 0.1.0 +* Tue Oct 15 2008 Greg J. Zartman 0.1.0-3 +- Set winbindd to disabled by default and on initial install, was + previouslly enabled by default. +- Create action to start winbindd if the DM or ADM server roles are designated. + +* Tue Sep 30 2008 Greg J. Zartman 0.1.0-2 +- Add template fragments to etc/pam.d/login to look for winbindd auth is + winbindd is running [SME: 4196]. +- Add a template fragment to ibays to set the samba 'force group' + parameter to the current ibay group or the group shared when SME is + configured as a Domain Member of Active Directory Member. The is required + so that domain members can have write access to domain member shares. At + some point, we may decide to fully support domain groups transparently + at the domain member or active directory member server [SME: 4196]. + +* Fri Apr 11 2008 Greg J. Zartman 0.1.0-1 - Roll initial package. - Provide configuration parameters to deploy Samba winbindd deamon. - Add template to nsswitch.conf to configure nss to include winbindd auth. The configuration parameters included in this fragment really belong - 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 deemed appropriate to move it to e-smith-base. %description @@ -44,6 +59,8 @@ smeserver-adv-samba is to e-smith-samba %prep %setup +%patch1 -p1 +%patch2 -p1 %build mkdir -p root/etc/e-smith/tests @@ -62,6 +79,7 @@ mkdir -p root/home/e-smith/files/.shadow %install rm -rf $RPM_BUILD_ROOT + (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist \ --dir '/var/service/winbindd' 'attr(1755,root,root)' \