[Samba-it] pulizia della cache
Marco Gaiarin
gaio at sv.lnf.it
Mon Sep 15 01:10:55 MDT 2008
Mandi! simo
In chel di` si favelave...
> Se non ricordo male su fc6 in /var/cache/samba c'erano dei db che non
> vanno cancellati.
Debian divide i .tdb in /var/lib/samba (da non cencellare) e in
/var/cache/samba (piallabili senza remore).
trinity:~# ls -la /var/lib/samba/
totale 596
drwxr-xr-x 4 root root 4096 2008-09-15 09:08 .
drwxr-xr-x 40 root root 4096 2007-10-18 17:21 ..
-rw------- 1 root root 8192 2005-07-12 17:39 account_policy.tdb
-rw------- 1 root root 8192 2005-07-12 17:39 group_mapping.tdb
-rw------- 1 root root 32768 2006-05-02 17:03 ntdrivers.tdb
-rw------- 1 root root 8192 2005-07-16 16:00 ntforms.tdb
-rw------- 1 root root 466944 2008-03-04 08:44 ntprinters.tdb
-rw------- 1 root root 8192 2005-07-12 17:39 passdb.tdb
drwxr-xr-x 2 root root 6 2007-09-14 17:00 perfmon
drwxrwxr-x 5 root domadms 43 2005-07-19 10:16 printers
-rw------- 1 root root 16384 2007-09-14 18:41 registry.tdb
-rw------- 1 root root 8192 2005-07-16 11:12 secrets.tdb
-rw------- 1 root root 8192 2005-07-12 17:39 secrets.tdb.member
-rw------- 1 root root 8192 2005-07-12 17:39 share_info.tdb
-rw-r--r-- 1 root root 8192 2008-03-27 16:55 winbindd_idmap.tdb
-rw-r--r-- 1 root root 17453 2008-09-15 09:08 wins.dat
trinity:~# ls -la /var/cache/samba/
totale 88
drwxr-xr-x 4 root root 126 2008-09-15 09:08 .
drwxr-xr-x 14 root root 4096 2007-10-22 14:45 ..
-rw-r--r-- 1 root root 1887 2008-09-15 09:08 browse.dat
drwxr-xr-x 2 root root 4096 2008-08-26 15:07 larpch
-rw-r--r-- 1 root root 8192 2007-09-15 08:21 login_cache.tdb
-rw------- 1 root root 8192 2008-03-28 17:40 netsamlogon_cache.tdb
drwxr-xr-x 2 root root 4096 2008-09-02 17:45 printing
-rw------- 1 root root 57344 2008-06-25 11:02 winbindd_cache.tdb
Poi ovviamente dipende che devi fare: ad esempio avendo LDAP io so che
posso piallare group_mapping.tdb e winbindd_idmap.tdb senza remore, che
verranno ricostruiti a partire da LDAP.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba-it
mailing list