Fix creation of /var/run/samba.
This commit is contained in:
parent
3f2dc30292
commit
1aa96d4519
1
samba.conf.tmp
Normal file
1
samba.conf.tmp
Normal file
@ -0,0 +1 @@
|
|||||||
|
d /var/run/samba 755 root root
|
11
samba.spec
11
samba.spec
@ -1,4 +1,4 @@
|
|||||||
%define main_release 83
|
%define main_release 84
|
||||||
%define samba_version 3.6.4
|
%define samba_version 3.6.4
|
||||||
%define tdb_version 1.2.9
|
%define tdb_version 1.2.9
|
||||||
%define talloc_version 2.0.5
|
%define talloc_version 2.0.5
|
||||||
@ -31,6 +31,7 @@ Source8: winbind.service
|
|||||||
Source9: smb.conf.default
|
Source9: smb.conf.default
|
||||||
Source10: nmb.service
|
Source10: nmb.service
|
||||||
Source11: pam_winbind.conf
|
Source11: pam_winbind.conf
|
||||||
|
Source12: samba.conf.tmp
|
||||||
|
|
||||||
# Don't depend on Net::LDAP
|
# Don't depend on Net::LDAP
|
||||||
Source999: filter-requires-samba.sh
|
Source999: filter-requires-samba.sh
|
||||||
@ -364,6 +365,9 @@ echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
|
||||||
install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
|
install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
|
||||||
|
|
||||||
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/tmpfiles.d/
|
||||||
|
install -m644 %{SOURCE12} %{buildroot}%{_sysconfdir}/tmpfiles.d/samba.conf
|
||||||
|
|
||||||
# winbind
|
# winbind
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
|
install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
|
||||||
@ -547,6 +551,7 @@ fi
|
|||||||
%attr(1777,root,root) %dir /var/spool/samba
|
%attr(1777,root,root) %dir /var/spool/samba
|
||||||
%dir %{_sysconfdir}/openldap/schema
|
%dir %{_sysconfdir}/openldap/schema
|
||||||
%{_sysconfdir}/openldap/schema/samba.schema
|
%{_sysconfdir}/openldap/schema/samba.schema
|
||||||
|
%{_sysconfdir}/tmpfiles.d/samba.conf
|
||||||
%ghost %dir /var/run/nmbd
|
%ghost %dir /var/run/nmbd
|
||||||
|
|
||||||
%doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
|
%doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
|
||||||
@ -690,6 +695,10 @@ fi
|
|||||||
%{_datadir}/pixmaps/samba/logo-small.png
|
%{_datadir}/pixmaps/samba/logo-small.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 23 2012 Andreas Schneider <asn@redhat.com> - 1:3.6.4-84
|
||||||
|
- Fix creation of /var/run/samba.
|
||||||
|
- resolves: #751625
|
||||||
|
|
||||||
* Fri Apr 20 2012 Guenther Deschner <gdeschner@redhat.com> - 1:3.6.4-83
|
* Fri Apr 20 2012 Guenther Deschner <gdeschner@redhat.com> - 1:3.6.4-83
|
||||||
- Avoid private krb5_locate_kdc usage
|
- Avoid private krb5_locate_kdc usage
|
||||||
- resolves: #754783
|
- resolves: #754783
|
||||||
|
Loading…
Reference in New Issue
Block a user