/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-backup-all-tdb-files.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-backup-all-tdb-files.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jun 14 15:15:07 2010 UTC (14 years, 4 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-47_el5_sme, e-smith-samba-2_2_0-19_el5_sme, e-smith-samba-2_2_0-52_el5_sme, e-smith-samba-2_2_0-49_el5_sme, e-smith-samba-2_2_0-23_el5_sme, e-smith-samba-2_2_0-24_el5_sme, e-smith-samba-2_2_0-40_el5_sme, e-smith-samba-2_2_0-43_el5_sme, e-smith-samba-2_2_0-44_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-31_el5_sme, e-smith-samba-2_2_0-32_el5_sme, e-smith-samba-2_2_0-57_el5_sme, e-smith-samba-2_2_0-54_el5_sme, e-smith-samba-2_2_0-41_el5_sme, e-smith-samba-2_2_0-17_el5_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-samba-2_2_0-39_el5_sme, e-smith-samba-2_2_0-46_el5_sme, e-smith-samba-2_2_0-53_el5_sme, e-smith-samba-2_2_0-50_el5_sme, e-smith-samba-2_2_0-16_el5_sme, e-smith-samba-2_2_0-18_el5_sme, e-smith-samba-2_2_0-22_el5_sme, e-smith-samba-2_2_0-58_el5_sme, e-smith-samba-2_2_0-30_el5_sme, e-smith-samba-2_2_0-33_el5_sme, e-smith-samba-2_2_0-56_el5_sme, e-smith-samba-2_2_0-51_el5_sme, e-smith-samba-2_2_0-42_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-64_el5_sme, e-smith-samba-2_2_0-60_el5_sme, e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-34_el5_sme, e-smith-samba-2_2_0-35_el5_sme, e-smith-samba-2_2_0-45_el5_sme, e-smith-samba-2_2_0-48_el5_sme, e-smith-samba-2_2_0-21_el5_sme, e-smith-samba-2_2_0-37_el5_sme, e-smith-samba-2_2_0-38_el5_sme, e-smith-samba-2_2_0-36_el5_sme, e-smith-samba-2_2_0-20_el5_sme, e-smith-samba-2_2_0-29_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-59_el5_sme, e-smith-samba-2_2_0-26_el5_sme, e-smith-samba-2_2_0-25_el5_sme, HEAD
* Mon Jun 14 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 2.2.0-16.sme
- Backup all the tdb files (thanks Daniel) [SME: 5856]
- Post scriptlet fix [SME: 6057]

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-2.2.0/root/var/service/smbd/run mezzanine_patched_e-smith-samba-2.2.0/root/var/service/smbd/run
2 --- e-smith-samba-2.2.0/root/var/service/smbd/run 2010-06-11 09:50:31.000000000 +0200
3 +++ mezzanine_patched_e-smith-samba-2.2.0/root/var/service/smbd/run 2010-06-11 09:50:10.000000000 +0200
4 @@ -33,16 +33,10 @@
5 rm -f /var/cache/samba/printing.tdb
6
7 # Backup critical tdb files
8 -for tdb in /etc/samba/secrets \
9 - /var/lib/samba/account_policy \
10 - /var/lib/samba/group_mapping \
11 - /var/lib/samba/ntdrivers \
12 - /var/lib/samba/ntforms \
13 - /var/lib/samba/ntprinters \
14 - /var/lib/samba/registry \
15 - /var/lib/samba/share_info
16 +for tdb in /etc/samba/*.tdb \
17 + /var/lib/samba/*.tdb
18 do
19 - [ -r "$tdb.tdb" ] && tdbbackup "$tdb.tdb" .bak
20 + [ -r "$tdb" ] && tdbbackup "$tdb" .bak
21 done
22
23 exec 2>&1

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed