Add the samba.schema in the proper openldap conf dir
This commit is contained in:
parent
cc582e3529
commit
e4724a3364
@ -279,6 +279,7 @@ install -m755 packaging/Fedora/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
|
|||||||
install -m644 packaging/Fedora/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
|
install -m644 packaging/Fedora/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
|
||||||
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/samba
|
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/samba
|
||||||
echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
|
echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
|
||||||
|
install -m644 examples/LDAP/samba.schema %{_sysconfdir}/openldap/schema/samba.schema
|
||||||
|
|
||||||
# pam_smbpass
|
# pam_smbpass
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
|
||||||
@ -451,6 +452,8 @@ exit 0
|
|||||||
%{_libdir}/samba/vfs
|
%{_libdir}/samba/vfs
|
||||||
%{_libdir}/samba/auth
|
%{_libdir}/samba/auth
|
||||||
%attr(1777,root,root) %dir /var/spool/samba
|
%attr(1777,root,root) %dir /var/spool/samba
|
||||||
|
%dir %{_sysconfdir}/openldap/schema
|
||||||
|
%{_sysconfdir}/openldap/schema/samba.schema
|
||||||
|
|
||||||
%files swat
|
%files swat
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -568,6 +571,9 @@ exit 0
|
|||||||
%{_libdir}/libsmbclient.a
|
%{_libdir}/libsmbclient.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 23 2007 Simo Sorce <ssorce@redhat.com>
|
||||||
|
- add samba.schema to /etc/openldap/schema
|
||||||
|
|
||||||
* Thu Mar 22 2007 Florian La Roche <laroche@redhat.com>
|
* Thu Mar 22 2007 Florian La Roche <laroche@redhat.com>
|
||||||
- adjust the Requires: for the scripts, add "chkconfig --add smb"
|
- adjust the Requires: for the scripts, add "chkconfig --add smb"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user