samba/samba.spec
Silvan Calarco 690f4a096f update to 3.6.23
x86_64: install cups backend under %{_prefix}/lib/cups, not %{_libdir}/cups
x86_64: install pam and nss libraries under /lib64 instead of /lib
use patch to fix smbd link against libtirpc instead of passing LDFLAGS [release 3.6.23-1mamba;Wed Apr 02 2014]
2024-01-05 17:37:14 +01:00

1033 lines
34 KiB
RPMSpec

%define guest_uid 65401
%define guest_gid 65413
#%define squid_groupid 65010
%define filesharing_gid 14
%define smbldap_tools_ver 0.9.2
Name: samba
Version: 3.6.23
Release: 1mamba
Summary: Samba provides seamless file and print services to SMB/CIFS clients
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.samba.org
Source0: http://us1.samba.org/samba/ftp/stable/samba-%{version}.tar.gz
Source1: samba-conf
Source2: samba-initscript
Source3: samba-xinetd-swat
Source4: samba-pam
Source5: samba-lmhosts
Source6: samba-qilinux_smbldap_conf.sh
Source7: winbind-initscript
Source8: samba-smbusers
Source9: samba-smbldap_conf.pm
Source10: samba-mkhomedir.sh
Source11: samba-swat_desktopfile
Source12: samba-ld.so.conf
Source13: winbind-nm-dispatcher
# official patches (http://us1.samba.org/samba/ftp/patches/):
#
# openmamba patches:
Patch10: %{name}-3.0.23-smbldaptools-rootbinddn.patch
Patch11: %{name}-3.2.4-remove_strlcpy_strlcat.patch
Patch12: %{name}-3.5.8-mount_disable_setuid_check.patch
Patch13: samba-3.6.23-link-tirpc.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libavahi-devel
BuildRequires: libcap-devel
BuildRequires: libcups-devel
BuildRequires: libe2fs-devel
BuildRequires: libgamin-devel
BuildRequires: libkeyutils-devel
BuildRequires: libkrb5-devel
BuildRequires: libncurses-devel
BuildRequires: libopenldap-devel
BuildRequires: libpopt-devel
BuildRequires: libreadline-devel
BuildRequires: libtalloc-devel
BuildRequires: libtdb-devel
BuildRequires: libtirpc-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END
BuildRequires: libopenssl-devel
BuildRequires: valgrind
BuildRequires: libtirpc-devel
Requires: perl
Requires: pam >= 0.78-10
Requires: perl-Unicode-MapUTF8
Requires(pre): setup
Requires(post):libwbclient = %{?epoch:%epoch:}%{version}-%{release}
Requires: cifs-utils
Obsoletes: samba-common
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.
%package server
Group: System/Servers
Summary: Samba server files
Requires: samba = %{?epoch:%epoch:}%{version}-%{release}
%description server
Samba provides seamless file and print services to SMB/CIFS clients.
This package contains the server files.
%package -n libsmbclient
Group: System/Libraries
Summary: Client library for accessing to SMB/CIFS shares
%description -n libsmbclient
Client library for accessing to SMB/CIFS shares.
%package -n libsmbclient-devel
Group: Development/Libraries
Summary: Devel files for libsmbclient
Requires: libsmbclient = %{?epoch:%epoch:}%{version}-%{release}
%description -n libsmbclient-devel
Client library for accessing to SMB/CIFS shares.
This package contains the development files.
%package -n libsmbsharemodes
Group: System/Libraries
Summary: Samba smbsharemodes Library
%description -n libsmbsharemodes
This package includes the smbsharemodes library.
%package -n libsmbsharemodes-devel
Group: Development/Libraries
Summary: Devel files for smbsharemodes
Requires: libsmbsharemodes = %{?epoch:%epoch:}%{version}-%{release}
%description -n libsmbsharemodes-devel
The smbsharemodes library.
This package contains the development files.
%package -n libnetapi
Group: System/Libraries
Summary: Client library for accessing to SAMBA network API
%description -n libnetapi
Client library for accessing to SAMBA network API.
%package -n libnetapi-devel
Group: System/Libraries
Summary: A library for accessing SAMBA network API
Requires: libnetapi = %{?epoch:%epoch:}%{version}-%{release}
%description -n libnetapi-devel
A library for accessing SAMBA network API.
This package contains the development files.
%package -n libtdb
Group: System/Libraries
Summary: Samba tdb library
%description -n libtdb
Samba tdb library.
%package -n libtdb-devel
Group: System/Libraries
Summary: Development files for Samba tdb library
Requires: libtdb = %{?epoch:%epoch:}%{version}-%{release}
%description -n libtdb-devel
Samba tdb library.
This package contains the development files.
%package -n libtevent
Group: System/Libraries
Summary: Samba tevent library
%description -n libtevent
Samba tevent library.
%package -n libtevent-devel
Group: System/Libraries
Summary: Development files for Samba tevent library
Requires: libtevent = %{?epoch:%epoch:}%{version}-%{release}
%description -n libtevent-devel
Samba tevent library.
This package contains the development files.
%package -n libwbclient
Group: System/Libraries
Summary: Samba wbclient library
%description -n libwbclient
Samba wbclient library.
%package -n libwbclient-devel
Group: System/Libraries
Summary: Development files for Samba tdb library
Requires: libwbclient = %{?epoch:%epoch:}%{version}-%{release}
%description -n libwbclient-devel
Samba wbclient library.
This package contains the development files.
%package swat
Group: Development/Libraries
Summary: The samba web interface administration tool
Requires: samba-server = %{?epoch:%epoch:}%{version}-%{release}
%description swat
Samba provides seamless file and print services to SMB/CIFS clients.
This is the samba web interface administration tool.
%package winbind
Group: System/Servers
Summary: Winbind Daemon and Tool
Requires: samba = %{?epoch:%epoch:}%{version}-%{release}
Requires: samba-server = %{?epoch:%epoch:}%{version}-%{release}
%description winbind
This package contains the winbind daemon and the wbinfo tool.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
#%patch10 -p1 -b .smbldaptools-rootbinddn
#%patch11 -p1
#%patch12 -p1
%patch13 -p1
%build
#:<< _EOF
cd source3
%configure \
--with-fhs \
--with-logfilebase=/var/log/samba \
--with-pammodulesdir=/%{_lib}/security \
--with-piddir=/run \
--with-rootsbindir=/sbin \
--with-ads \
--with-automount \
--without-cifsmount \
--without-cisupcall \
--with-ldap \
--with-libsmbclient \
--with-libsmbsharemodes \
--with-winbind \
--with-pam \
--with-pam_smbpass \
--with-utmp \
--enable-cups \
--enable-shared \
--enable-static
# --with-ldapsam \
# --with-swat-dir=%{_datadir}/samba/swat \
# --with-python
# DATADIR is not defined but used in Makefile
%make proto
%make GUEST_ACCOUNT=guest
#make python_ext
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
for f in netlogon profiles profdata drivers; do
install -d %{buildroot}/var/lib/samba/$f
done
install -d %{buildroot}/var/log/samba
#install -d %{buildroot}/var/run/samba
install -d %{buildroot}/var/spool/samba
install -d %{buildroot}%{_sysconfdir}/samba/private
%makeinstall -C %{_builddir}/%{name}-%{version}/source3
rm -rf %{buildroot}/usr/private
install -D -m 0664 %{S:1} %{buildroot}%{_sysconfdir}/samba/smb.conf
install -D -m 0755 %{S:2} %{buildroot}%{_initrddir}/samba
install -D -m 0755 %{S:7} %{buildroot}%{_initrddir}/winbind
install -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/xinetd.d/swat
install -D -m 0644 %{S:4} %{buildroot}%{_sysconfdir}/pam.d/samba
install -D -m 0644 %{S:5} %{buildroot}%{_sysconfdir}/samba/lmhosts
install -D -m 0644 %{S:8} %{buildroot}%{_sysconfdir}/samba/smbusers
#install -D -m 0644 %{S:12} %{buildroot}%{_sysconfdir}/ld.so.conf.d/samba.conf
#systemd
for f in nmb smb winbind; do
install -D -m0644 packaging/systemd/$f.service %{buildroot}/lib/systemd/system/$f.service
done
install -D -m0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba
install -D -m 0644 examples/LDAP/samba.schema \
%{buildroot}/etc/openldap/schema/samba.schema
install -d %{buildroot}%{_prefix}/lib/cups/backend
ln -s %{_bindir}/smbspool %{buildroot}%{_prefix}/lib/cups/backend/smb
#ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
#ln -sf umount.cifs %{buildroot}/sbin/mount.smb
## install smb-ldap scripts
#pushd examples/LDAP/smbldap-tools-%{smbldap_tools_ver}
##sed -i "s|/etc/opt/IDEALX/|/etc/samba/|" smbldap_tools.pm
#
#make install \
# sbindir=%{buildroot}/usr/lib/samba/sbin \
# sysconfdir=%{buildroot}%{_sysconfdir}/samba
#
#install -m 0755 configure.pl \
# %{buildroot}/usr/lib/samba/sbin/configure.pl
#install -m 0755 %{S:6} \
# %{buildroot}/usr/lib/samba/sbin/qilinux_smbldap_conf.sh
#install -m 0640 %{S:9} \
# %{buildroot}%{_sysconfdir}/samba/smbldap-tools/smbldap.conf
#install -m 0755 %{S:10} \
# %{buildroot}%{_libdir}/samba/sbin/mkhomedir.sh
#
##install -m 0640 %{S:9} %{buildroot}/usr/lib/samba/sbin/smbldap_conf.pm
#popd
## manually install libsmbclient
#mv %{buildroot}%{_libdir}/samba/libsmbclient.so \
# %{buildroot}%{_libdir}/libsmbclient.so.1.0.0
#ln -s libsmbclient.so.1.0.0 %{buildroot}%{_libdir}/libsmbclient.so
#ln -s libsmbclient.so.1.0.0 %{buildroot}%{_libdir}/libsmbclient.so.1
#mv %{buildroot}%{_libdir}/samba/libsmbclient.a \
# %{buildroot}%{_libdir}/libsmbclient.a
## manually install smbsharemodes library
#install -D -m 644 source/include/smb_share_modes.h \
# %{buildroot}%{_includedir}/smb_share_modes.h
#install -m 0755 source/bin/libsmbsharemodes.so \
# %{buildroot}%{_libdir}/libsmbsharemodes.so.0
#ln -s libsmbsharemodes.so.0 %{buildroot}%{_libdir}/libsmbsharemodes.so
#mv %{buildroot}%{_libdir}/samba/libsmbsharemodes.a \
# %{buildroot}%{_libdir}/libsmbsharemodes.a
#rm -f %{buildroot}%{_libdir}/samba/libsmbsharemodes.so
## fix a problem with language files
#ln -s it.msg %{buildroot}%{_libdir}/samba/it_IT.msg
# manually install libnss_windbind and pam_winbind
install -D -m 0755 nsswitch/libnss_win*.so %{buildroot}/%{_lib}/
ln -s libnss_winbind.so %{buildroot}/%{_lib}/libnss_winbind.so.2
ln -s libnss_wins.so %{buildroot}/%{_lib}/libnss_wins.so.2
# create swat KDE menu entry
install -D -m 0644 %{S:11} \
%{buildroot}%{_datadir}/applications/samba-swat.desktop
install -D -m0755 %{S:13} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/10_winbind
# cifs.upcall is installed in arm build; --without-cisupcall seems uneffective
rm -f %{buildroot}%{_sbindir}/cifs.upcall
#install -d %{buildroot}/var/lib/samba/winbindd_privileged
%find_lang pam_winbind
%find_lang net
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%pre
if [ $1 -ge 1 ]; then
# new install or update
getent group filesharing >/dev/null || \
groupadd filesharing -g %{filesharing_gid}
fi
if [ $1 -gt 1 ]; then
# update
# since samba 3.0.11 smbldap tools have changed,
# and configuration must be fixed accordingly
sed -i "s|\(smbldap[^ ]*\).pl|\1|" /etc/samba/smb.conf
fi
exit 0
%pre server
if [ $1 -ge 1 ]; then
# new install or update
getent group guest > /dev/null || groupadd guest -g %{guest_gid}
getent passwd guest >/dev/null ||
useradd guest -c "Samba guest user" -d /dev/null \
-s /bin/false -u %{guest_uid} -g %{guest_gid} > /dev/null
fi
exit 0
%post server
if [ $1 -gt 1 ]; then
sed -i "s|unix charset = LOCALE|unix charset = UTF-8|" %{_sysconfdir}/samba/smb.conf
fi
if [ $1 -eq 1 ]; then
# new install
# Note: hostname does not work in chrooted environment
CONF_DOMAIN=`hostname -d 2>/dev/null || echo "WORKGROUP"`
[ -e /etc/sysconfig/network ] && {
. /etc/sysconfig/network
CONF_HOSTNAME=$HOSTNAME
} || CONF_HOSTNAME=`hostname || echo "localhost"`
sed -i "s/%HOSTNAME/$CONF_HOSTNAME/" %{_sysconfdir}/samba/smb.conf
sed -i "s/%DOMAIN/$CONF_DOMAIN/" %{_sysconfdir}/samba/smb.conf
chkconfig --add samba
service samba start
fi
#[ -r /etc/init.d/ldap-functions ] && {
# . /etc/init.d/ldap-functions
# set_ldap_environment
# sed -i "s|suffix=\"dc=idealx,dc=org\"|suffix=\"$LDAPHOSTDN\"|" \
# %{_sysconfdir}/samba/smbldap-tools/smbldap.conf
# LOCALSID=`net getlocalsid` && \
# sed -i "s|SID=.*|SID=${LOCALSID#*: }|" \
# %{_sysconfdir}/samba/smbldap-tools/smbldap.conf
#}
exit 0
%preun server
#erase
if [ $1 -eq 0 ]; then
if [ -f /etc/openldap/slapd.conf ]; then
sed -i '/include.*samba.schema/d' /etc/openldap/slapd.conf
chgrp ldap /etc/openldap/slapd.conf
service openldap condrestart
fi
service samba stop
chkconfig --del samba
fi
exit 0
%postun server
# upgrade
if [ $1 -eq 1 ]; then
/sbin/chkconfig samba
[ $? -eq 0 ] && /sbin/service samba restart
fi
exit 0
%post swat
# new install
if [ $1 -eq 1 ]; then
grep -q swat /etc/services || cat >> /etc/services << _EOF
sw
at 901/tcp # samba web interface admin tool
_EOF
service xinetd reload
exit 0
fi
exit 0
%preun swat
# erase
if [ $1 -eq 0 ]; then
/sbin/service xinetd reload || exit 0
fi
exit 0
%postun winbind
if [ $1 -ge 1 ]; then
# new install or update
grep "^auth.*pam_winbind.so" %{_sysconfdir}/pam.d/system-auth >/dev/null || sed -i -e '/^auth.*pam_unix.so/a\
auth sufficient pam_winbind.so use_first_pass' %{_sysconfdir}/pam.d/system-auth
grep "^account.*pam_winbind.so" %{_sysconfdir}/pam.d/system-auth >/dev/null || sed -i -e '/^account.*pam_unix/i\
account sufficient pam_winbind.so' %{_sysconfdir}/pam.d/system-auth
# service start/stop now managed by NetworkManager dispatcher
/sbin/chkconfig --del winbind
[ -f /run/winbindd.pid ] && /sbin/service winbind restart
fi
exit 0
%preun winbind
if [ $1 -eq 0 ]; then
# remove package
/sbin/service winbind stop
/sbin/chkconfig --del winbind
sed -i "/*pam_winbind.so/d" %{_sysconfdir}/pam.d/system-auth
fi
exit 0
%post -n libsmbclient -p /sbin/ldconfig
%postun -n libsmbclient -p /sbin/ldconfig
%post -n libsmbsharemodes -p /sbin/ldconfig
%postun -n libsmbsharemodes -p /sbin/ldconfig
%post -n libnetapi -p /sbin/ldconfig
%postun -n libnetapi -p /sbin/ldconfig
%post -n libtevent -p /sbin/ldconfig
%postun -n libtevent -p /sbin/ldconfig
%post -n libwbclient -p /sbin/ldconfig
%postun -n libwbclient -p /sbin/ldconfig
%files
%defattr(-,root,root)
#%attr(4750,root,sysadmin) /sbin/mount.cifs
#/sbin/mount.smb
#/sbin/mount.smbfs
#%attr(4750,root,sysadmin) /sbin/umount.cifs
%{_bindir}/eventlogadm
%{_bindir}/smbta-util
#%{_bindir}/ldbadd
#%{_bindir}/ldbdel
#%{_bindir}/ldbedit
#%{_bindir}/ldbmodify
#%{_bindir}/ldbrename
#%{_bindir}/ldbsearch
%{_bindir}/findsmb
%{_bindir}/net
%{_bindir}/nmblookup
%{_bindir}/pdbedit
%{_bindir}/profiles
%{_bindir}/rpcclient
%{_bindir}/sharesec
%{_bindir}/smbcacls
%{_bindir}/smbclient
%{_bindir}/smbcontrol
%{_bindir}/smbcquotas
%{_bindir}/smbget
#%attr(4755,root,root) %{_bindir}/smbmnt
#%{_bindir}/smbmount
%{_bindir}/smbpasswd
%{_bindir}/smbspool
%{_bindir}/smbstatus
%{_bindir}/smbtar
%{_bindir}/smbtree
#%attr(4755,root,root) %{_bindir}/smbumount
%{_bindir}/testparm
%{_libdir}/samba/auth/script.so
%{_libdir}/samba/*.dat
%{_libdir}/samba/*.msg
%{_libdir}/samba/charset/*
%{_libdir}/samba/idmap/autorid.so
%{_libdir}/samba/vfs/*
#%{_libdir}/samba/libmsrpc.*
#%attr(755,root,root) %{_libdir}/samba/sbin/qilinux_smbldap_conf.sh
#%attr(755,root,root) %{_libdir}/samba/sbin/smbldap*
#%attr(755,root,root) %{_libdir}/samba/sbin/mkhomedir.sh
#%attr(755,root,root) %{_libdir}/samba/sbin/configure.pl
#%attr(600,root,root) %config(noreplace) %{_sysconfdir}/samba/smbldap-tools/smbldap_bind.conf
#%config %{_sysconfdir}/samba/smbldap-tools/smbldap.conf
%config %dir %{_sysconfdir}/samba
%config %dir %{_sysconfdir}/samba/private
%config(noreplace) %{_sysconfdir}/samba/lmhosts
%config(noreplace) %{_sysconfdir}/samba/smbusers
%attr(664,root,filesharing) %config(noreplace) %{_sysconfdir}/samba/smb.conf
%attr(644,root,root) %{_sysconfdir}/openldap/schema/samba.schema
#%{_includedir}/libmsrpc.h
%dir /var/log/samba
%{_mandir}/man1/*
%exclude %{_mandir}/man1/wbinfo.*
%exclude %{_mandir}/man1/ntlm_auth.*
%files server
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/samba
/etc/pam.d/samba
%{_sbindir}/nmbd
%{_sbindir}/smbd
%{_prefix}/lib/cups/backend/smb
%dir %attr(755,root,root) /var/lib/samba/netlogon
%dir %attr(2775,root,users) /var/lib/samba/profiles
%dir %attr(755,root,root) /var/lib/samba/profdata
%dir %attr(755,root,root) /var/lib/samba/drivers
#%dir %attr(755,root,root) /usr/lib/samba/sbin
%dir %attr(1777,root,root) /var/spool/samba
%attr(755,root,root) %{_initrddir}/samba
/%{_lib}/security/pam_smbpass.so
/lib/systemd/system/nmb.service
/lib/systemd/system/smb.service
/%{_lib}/libnss_wins.so
/%{_lib}/libnss_wins.so.2
%{_mandir}/man5/*
%{_mandir}/man7/*
%{_mandir}/man8/*
%exclude %{_mandir}/man8/winbindd.*
%files -n libsmbclient
%defattr(-,root,root)
%{_libdir}/libsmbclient.so.*
%files -n libsmbclient-devel
%defattr(-,root,root)
%{_includedir}/libsmbclient.h
%{_libdir}/libsmbclient.so
%{_libdir}/libsmbclient.a
%files -n libsmbsharemodes
%defattr(-,root,root)
%{_libdir}/libsmbsharemodes.so.*
%files -n libsmbsharemodes-devel
%defattr(-,root,root)
%{_includedir}/smb_share_modes.h
%{_libdir}/libsmbsharemodes.a
%{_libdir}/libsmbsharemodes.so
%files -n libnetapi -f net.lang
%defattr(-,root,root)
%{_libdir}/libnetapi.so.*
%files -n libnetapi-devel
%defattr(-,root,root)
%{_includedir}/netapi.h
%{_libdir}/libnetapi.a
%{_libdir}/libnetapi.so
%files -n libwbclient
%defattr(-,root,root)
%{_libdir}/libwbclient.so.*
%files -n libwbclient-devel
%defattr(-,root,root)
%{_includedir}/wbclient.h
#%{_includedir}/wbc_async.h
%{_libdir}/libwbclient.so
%files -n libtevent
%defattr(-,root,root)
%{_libdir}/libtevent.so.*
%files -n libtevent-devel
%defattr(-,root,root)
%{_includedir}/tevent.h
%{_includedir}/tevent_internal.h
%{_libdir}/libtevent.a
%{_libdir}/libtevent.so
%files swat
%defattr(-,root,root)
%{_sbindir}/swat
%config(noreplace) /etc/xinetd.d/swat
%dir %{_datadir}/samba/swat
%{_datadir}/samba/swat/*
%{_datadir}/applications/samba-swat.desktop
%files winbind -f pam_winbind.lang
%defattr(-,root,root)
%{_sysconfdir}/NetworkManager/dispatcher.d/10_winbind
%{_bindir}/ntlm_auth
%{_bindir}/wbinfo
%{_sbindir}/winbindd
%{_initrddir}/winbind
/%{_lib}/libnss_winbind.so
/%{_lib}/libnss_winbind.so.2
/%{_lib}/security/pam_winbind.so
/lib/systemd/system/winbind.service
#%dir %attr(750,root,%{squid_groupid}) /var/lib/samba/winbindd_privileged
%{_mandir}/man1/ntlm_auth.*
%{_mandir}/man1/wbinfo.*
%{_mandir}/man8/winbindd.*
%changelog
* Wed Apr 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.23-1mamba
- update to 3.6.23
- x86_64: install cups backend under %{_prefix}/lib/cups, not %{_libdir}/cups
- x86_64: install pam and nss libraries under /lib64 instead of /lib
- use patch to fix smbd link against libtirpc instead of passing LDFLAGS
* Thu May 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.15-1mamba
- update to 3.6.15
- fix pidfile in winbind initscript for systemd
- added systemd service files
* Mon Oct 29 2012 Automatic Build System <autodist@mambasoft.it> 3.6.9-1mamba
- automatic version update by autodist
* Mon Oct 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.8-2mamba
- rebuild with pam 1.1.4 to supposingly fix pam_winbind
* Mon Sep 17 2012 Automatic Build System <autodist@mambasoft.it> 3.6.8-1mamba
- automatic version update by autodist
* Thu Sep 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.7-2mamba
- replace 'unix charset = LOCALE' with UTF-8 in smb.conf to fix an smbd fatal error on startup
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.6.7-1mamba
- automatic version update by autodist
* Tue Jun 26 2012 Automatic Build System <autodist@mambasoft.it> 3.6.6-1mamba
- automatic version update by autodist
* Mon Apr 30 2012 Automatic Build System <autodist@mambasoft.it> 3.6.5-1mamba
- automatic version update by autodist
* Fri Apr 13 2012 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
- automatic version update by autodist
* Fri Oct 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.11-2mamba
- removed --with-cifsmount and --with-cifsumount; added requirement for cifs-utils
* Thu Aug 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.11-1mamba
- update to 3.5.11
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 3.5.9-1mamba
- automatic update by autodist
* Mon May 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-8mamba
- rebuilt with debug package
- winbind initscript: add missing new line in service reload output
* Sat Apr 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-7mamba
- replace try_first_pass with use_first_pass in pam authentication module configuration
* Thu Apr 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-6mamba
- winbind: configure to use NetworkManager to start the service
* Wed Apr 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-5mamba
- samba-winbind: configure for authentication with pam_winbind.so in pam.d/system-auth
* Tue Mar 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-4mamba
- set /var/lib/samba/profiles suid for group users
* Fri Mar 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-3mamba
- resume installation of libnss_winbind.so and libnss_wins.so
- remove installation of ld.so.conf.d as libraries are installed in system path now
* Tue Mar 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.8-2mamba
- add a patch to enable mount.cifs and umount.cifs to be run suided
- set mount.cifs and umount.cifs permission for only sysadmin user to be able to run it
* Mon Mar 07 2011 Automatic Build System <autodist@mambasoft.it> 3.5.8-1mamba
- automatic update by autodist
* Mon Feb 28 2011 Automatic Build System <autodist@mambasoft.it> 3.5.7-1mamba
- automatic update by autodist
* Sat Feb 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.6-2mamba
- rebuilt with system libtalloc and libtdb
* Fri Oct 08 2010 Automatic Build System <autodist@mambasoft.it> 3.5.6-1mamba
- automatic update to 3.5.6 by autodist
* Tue Sep 14 2010 Automatic Build System <autodist@mambasoft.it> 3.5.5-1mamba
- automatic update to 3.5.5 by autodist
* Wed Jun 23 2010 Automatic Build System <autodist@mambasoft.it> 3.5.4-1mamba
- automatic update to 3.5.4 by autodist
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.3-2mamba
- sync with devel-ercolinux: rebuild with umount.cifs option
* Wed May 19 2010 Automatic Build System <autodist@mambasoft.it> 3.5.3-1mamba
- automatic update to 3.5.3 by autodist
* Wed Apr 07 2010 Automatic Build System <autodist@mambasoft.it> 3.5.2-1mamba
- automatic update to 3.5.2 by autodist
* Mon Mar 29 2010 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
- automatic update to 3.5.1 by autodist
* Fri Mar 12 2010 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic update to 3.5.0 by autodist
* Wed Feb 24 2010 Automatic Build System <autodist@mambasoft.it> 3.4.6-1mamba
- automatic update to 3.4.6 by autodist
* Tue Jan 19 2010 Automatic Build System <autodist@mambasoft.it> 3.4.5-1mamba
- automatic update to 3.4.5 by autodist
* Thu Jan 07 2010 Automatic Build System <autodist@mambasoft.it> 3.4.4-1mamba
- automatic update to 3.4.4 by autodist
* Thu Oct 29 2009 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic update to 3.4.3 by autodist
* Mon Oct 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-2mamba
- smb.conf: disable LDAP in favour of local user database scripts in default configuration
- pam.d/samba file updated
* Thu Oct 01 2009 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic update to 3.4.2 by autodist
* Wed Sep 09 2009 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic update to 3.4.1 by autodist
* Mon Jul 06 2009 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic update to 3.4.0 by autodist
* Wed Jun 24 2009 Automatic Build System <autodist@mambasoft.it> 3.3.6-1mamba
- automatic update to 3.3.6 by autodist
* Thu Jun 18 2009 Automatic Build System <autodist@mambasoft.it> 3.3.5-1mamba
- automatic update to 3.3.5 by autodist
* Wed Apr 29 2009 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
- automatic update to 3.3.4 by autodist
* Thu Apr 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-1mamba
- automatic update to 3.3.3 by autodist
* Fri Mar 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-1mamba
- automatic update to 3.3.2 by autodist
* Wed Mar 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-2mamba
- rebuilt against avahi-compat-libdns_sd instead of libzeroconf
* Sat Feb 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-1mamba
- automatic update to 3.3.1 by autodist
* Sun Feb 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-1mamba
- automatic update to 3.3.0 by autodist
* Mon Jan 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.7-1mamba
- automatic update to 3.2.7 by autodist
* Fri Dec 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6-1mamba
- automatic update to 3.2.6 by autodist
* Thu Nov 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.5-1mamba
- automatic update to 3.2.5 by autodist
* Sat Oct 25 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-1mamba
- automatic update to 3.2.4 by autodist
* Wed Jun 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.30-1mamba
- update to 3.0.30
- removed support for smb-ldap scripts (changes upstream)
* Tue Apr 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.28a-1mamba
- update to 3.0.28a
- mount.cifs, umount.cifs: set suid bit to work as user (smb4k)
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 3.0.27a-1mamba
- update to 3.0.27a: fix for CVE-2007-4572 and CVE-2007-5398
* Tue Oct 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.26a-4mamba
- samba-server: fix post script in chrooted environment (don't use hostname)
- samba-server: move exit 0 to the end of the post script
* Mon Oct 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.26a-3mamba
- enable service by default on install
- use 'service' to manage services in scripts
- removed requirement for ldap-tools
* Tue Sep 25 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.26a-2mamba
- samba pam file fix: use include instead of obsolete pam_stack module
* Tue Sep 11 2007 Aleph0 <aleph0@openmamba.org> 3.0.26a-1mamba
- update to 3.0.26a (fixes CVE-2007-4138)
* Tue Jun 05 2007 Aleph0 <aleph0@openmamba.org> 3.0.25a-1mamba
- update to 3.0.25a
* Mon May 14 2007 Aleph0 <aleph0@openmamba.org> 3.0.25-1mamba
- update to 3.0.25
- update winbind initscript
- fixes CVE-2007-2444, CVE-2007-2446, CVE-2007-2447
- update ldconfig cache when installing shared libraries
- new packages for libsmbsharemodes
- build python bindings
* Mon Apr 02 2007 Aleph0 <aleph0@openmamba.org> 3.0.24-4mamba
- desktop file for swap modified to match freedesktop standard
* Thu Mar 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.24-3qilnx
- set ldap-script as a PreReq
* Wed Mar 14 2007 Aleph0 <aleph0@openmamba.org> 3.0.24-2qilnx
- added a requirement for ldap-scripts
* Fri Feb 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.24-1qilnx
- update to version 3.0.24 by autospec
- samba: remove requirement for cups and libcups
- libsmbclient: remove requirement for samba
* Tue Oct 10 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.23-1qilnx
- update to version 3.0.23 by autospec
- removed patch against CAN-2006-3403 (merged upstream)
- minor fix in the winbind initscript
- new package %{name}-winbind
* Tue Jul 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.22-3qilnx
- security update: CAN-2006-1059 (qibug 198)
* Mon Jun 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.22-2qilnx
- specfile fixed
- samba-server requires qilinux-utils-common
- added french localization in the desktop file for swat
* Fri Mar 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.22-1qilnx
- update to version 3.0.22 by autospec
* Sun Mar 19 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.21c-1qilnx
- update to version 3.0.21c by autospec
- remove guest permissions in /var/lib
- set 1777 permission to /var/spool/samba
* Mon Jun 27 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.14a-4qilnx
- added mkhomedir.sh for automatic home dirs creation support
* Wed Jun 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.14a-3qilnx
- fixed idealx scripts
* Thu May 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.14a-2qilnx
- moved pam plugin to /lib/security dir
* Tue Apr 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.14a-1qilnx
- update to version 3.0.14a by autospec
* Tue Feb 15 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.11-2qilnx
- fixed a %%pre script error in case of new install
- removed %%post script ldap configuration (will be done in QiLinux server install2 phase)
* Tue Feb 15 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.11-1qilnx
- update to version 3.0.11 by autospec
- make scripts conditional checks for openldap presence
* Fri Dec 24 2004 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.10-3qilnx
- rebuild with new libe2fs-devel, libkrb5-devel packages
* Sat Dec 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.10-2qilnx
- fixed samba.schema permissions
- moved some configuration files to main package from samba-server
* Thu Dec 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.10-1qilnx
- new version build
- added a check for use of `net getlocalsid` in script qilinux_smbldap_conf.sh
- use useradd and groupadd instead of useradd-ldap and groupadd-ldap to add initial user guest
* Thu Dec 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.9-2qilnx
- perform condrestart instead of rester of openldap servers on new install
* Wed Dec 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.9-1qilnx
- update to version 3.0.9 by autospec
- removed package samba-common (obsoleted by samba)
* Tue Nov 16 2004 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.7-6qilnx
- security fix QSA-2004-056 (CAN-2004-0882, CAN-2004-0930)
* Thu Oct 28 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-5qilnx
- removed libdb.so dependency
* Mon Oct 25 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-4qilnx
- added default separator "/" for winbind DOMAIN/USER
- disabled domain logons/domain master/local master options by default
* Mon Oct 25 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-3qilnx
- fixes for winbind: add libnss_winbind, libnss_wins and pam_winbind
* Tue Sep 28 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-2qilnx
- fixes to qilinux_smbldap_conf.sh
- execution of qilinux_smbldap_conf.sh on upgrade should fix QiLinux 1.1 installation
* Wed Sep 15 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-1qilnx
- new version build
- security fixes: CAN-2004-0807, CAN-2004-0808
* Fri Sep 03 2004 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.5-1qilnx
- update to version 3.0.5 to fix security problems (CAN-2004-0600,
CAN-2004-0686)
* Wed Jul 14 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-7qilnx
- default configuration changed with PDC settings
- added default /etc/samba/smbusers for Administrator account
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-6qilnx
- fixed a couple of default smb.conf typos
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-5qilnx
- fixed guest user and group creation (use appropriate uid and gid)
* Fri Jul 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-4qilnx
- create guest user in ldap database
* Thu Jul 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-3qilnx
- added QiLinux LDAP populating script
- changed guest account from 'nobody' to 'guest'
- winbind initscript added
* Mon Jul 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-2qilnx
- added LDAP scripts install and related smb.conf configuration
* Sun May 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1qilnx
- new version build
* Wed May 07 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-4qilnx
- smbumount installed setuid root
* Wed May 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-3qilnx
- smbmnt installed setuid root
* Wed May 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-2qilnx
- added smbmount, now mount.smbfs is a symlink to smbmount
* Wed May 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-1qilnx
- new version build
* Wed Mar 17 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2a-3qilnx
- added KDE menu entry for swat
* Thu Feb 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2a-2qilnx
- removed obsolete /var/cache/samba directory (replaced by /var/lib/samba)
- changed /var/lib/samba permissions from 1777 to 0755
* Wed Feb 25 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2a-1qilnx
- new version build
* Mon Feb 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1qilnx
- new version build
* Mon Dec 22 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-2qilnx
- changed owner of /var/spool/samba and /var/lib/samba/* to nodoby.nobody
* Tue Dec 16 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1qilnx
- new version rebuild
* Fri Dec 12 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1rc2-1qilnx
- new version rebuild
- fixed %%post/%%pre scripts
* Fri Dec 05 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1rc1-1qilnx
- new version rebuild
* Mon Dec 01 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1pre3-1qilnx
- new major version rebuild
* Fri Nov 28 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.8a-7qilnx
- rebuilt with libsmbclient support
- added default lmhosts file
* Wed Oct 08 2003 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.8a-6qilnx
- new policies for chkconfig and automatic start/restart of the samba service
- added the `--with-libsmbclient', and `--with-acl-support' configure options
- added `exit 0' after `xinetd reload'
* Tue Sep 02 2003 Davide Madrisan <davide.madrisan@qinet.it> 2.2.8a-5qilnx
- default smb.conf file modified: [homes] added, [home] removed
* Mon Jul 28 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.2.8a-4qilnx
- rebuilt with pam and ldap support
- added samba ldap schema configuration
* Mon Jun 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.2.8a-3qilnx
- added new-style %%post and other scripts
* Tue May 27 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.2.8a-2qilnx
- added server configuration files and dirs
* Wed May 21 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.2.8a-1qilnx
- first build