Package smbprint again and remove unused service files.
This commit is contained in:
parent
c7ffeb71b9
commit
1144a078b6
12
nmb.service
12
nmb.service
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba NMB Daemon
|
|
||||||
After=syslog.target network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/run/nmbd.pid
|
|
||||||
EnvironmentFile=-/etc/sysconfig/samba
|
|
||||||
ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -62,6 +62,8 @@ Source5: pam_winbind.conf
|
|||||||
Source6: samba.pamd
|
Source6: samba.pamd
|
||||||
Source7: samba.conf.tmp
|
Source7: samba.conf.tmp
|
||||||
|
|
||||||
|
Source100: smbprint
|
||||||
|
|
||||||
Source200: README.dc
|
Source200: README.dc
|
||||||
Source201: README.downgrade
|
Source201: README.downgrade
|
||||||
|
|
||||||
@ -510,6 +512,8 @@ install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf
|
|||||||
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
|
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
|
||||||
install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba
|
install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba
|
||||||
|
|
||||||
|
install -m 0744 %{SOURCE100} %{buildroot}%{_bindir}/smbprint
|
||||||
|
|
||||||
echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts
|
echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts
|
||||||
|
|
||||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/openldap/schema
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/openldap/schema
|
||||||
@ -943,6 +947,7 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/smbget
|
%{_bindir}/smbget
|
||||||
#%{_bindir}/smbiconv
|
#%{_bindir}/smbiconv
|
||||||
%{_bindir}/smbpasswd
|
%{_bindir}/smbpasswd
|
||||||
|
%{_bindir}/smbprint
|
||||||
%{_bindir}/smbspool
|
%{_bindir}/smbspool
|
||||||
%{_bindir}/smbta-util
|
%{_bindir}/smbta-util
|
||||||
%{_bindir}/smbtree
|
%{_bindir}/smbtree
|
||||||
@ -1257,6 +1262,9 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_libwbclient
|
%endif # with_libwbclient
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-96.rc1
|
||||||
|
- Package smbprint again.
|
||||||
|
|
||||||
* Wed Sep 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-95.rc1
|
* Wed Sep 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-95.rc1
|
||||||
- Update to 4.0.0rc1.
|
- Update to 4.0.0rc1.
|
||||||
|
|
||||||
|
13
smb.service
13
smb.service
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba SMB Daemon
|
|
||||||
After=syslog.target network.target nmb.service winbind.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/run/smbd.pid
|
|
||||||
LimitNOFILE=16384
|
|
||||||
EnvironmentFile=-/etc/sysconfig/samba
|
|
||||||
ExecStart=/usr/sbin/smbd $SMBDOPTIONS
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba Winbind Daemon
|
|
||||||
After=syslog.target network.target nmb.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/run/winbindd.pid
|
|
||||||
EnvironmentFile=-/etc/sysconfig/samba
|
|
||||||
ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Reference in New Issue
Block a user