1 |
diff -Naur e-smith-samba-2.2.0-orig/root/var/service/smbd/run e-smith-samba-2.2.0/root/var/service/smbd/run |
2 |
--- e-smith-samba-2.2.0-orig/root/var/service/smbd/run 2007-12-15 16:53:09.000000000 +0100 |
3 |
+++ e-smith-samba-2.2.0/root/var/service/smbd/run 2010-03-26 17:02:09.000322373 +0100 |
4 |
@@ -34,13 +34,13 @@ |
5 |
|
6 |
# Backup critical tdb files |
7 |
for tdb in /etc/samba/secrets \ |
8 |
- /var/cache/samba/account_policy \ |
9 |
- /var/cache/samba/group_mapping \ |
10 |
- /var/cache/samba/ntdrivers \ |
11 |
- /var/cache/samba/ntforms \ |
12 |
- /var/cache/samba/ntprinters \ |
13 |
- /var/cache/samba/registry \ |
14 |
- /var/cache/samba/share_info |
15 |
+ /var/lib/samba/account_policy \ |
16 |
+ /var/lib/samba/group_mapping \ |
17 |
+ /var/lib/samba/ntdrivers \ |
18 |
+ /var/lib/samba/ntforms \ |
19 |
+ /var/lib/samba/ntprinters \ |
20 |
+ /var/lib/samba/registry \ |
21 |
+ /var/lib/samba/share_info |
22 |
do |
23 |
[ -r "$tdb.tdb" ] && tdbbackup "$tdb.tdb" .bak |
24 |
done |