/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-tdbbackup.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-tdbbackup.patch

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


Revision 1.2 - (hide annotations) (download)
Sat Dec 15 16:03:54 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme8 of package e-smith-samba-1.14.1-1.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/var/service/smbd/run mezzanine_patched_e-smith-samba-1.14.0/root/var/service/smbd/run
2     --- e-smith-samba-1.14.0/root/var/service/smbd/run 2007-01-04 13:15:31.000000000 -0700
3     +++ mezzanine_patched_e-smith-samba-1.14.0/root/var/service/smbd/run 2007-01-04 13:14:52.000000000 -0700
4     @@ -32,5 +32,18 @@
5     # Delete the printing.tdb file if it exists to force it to rebuild.
6     rm -f /var/cache/samba/printing.tdb
7    
8     +# Backup critical tdb files
9     +for tdb in /etc/samba/secrets \
10     + /var/cache/samba/account_policy \
11     + /var/cache/samba/group_mapping \
12     + /var/cache/samba/ntdrivers \
13     + /var/cache/samba/ntforms \
14     + /var/cache/samba/ntprinters \
15     + /var/cache/samba/registry \
16     + /var/cache/samba/share_info
17     +do
18     + [ -r "$tdb.tdb" ] && tdbbackup "$tdb.tdb" .bak
19     +done
20     +
21     exec 2>&1
22     exec $smbd -F

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