[Samba] cleaning messages.tdb

2005-04-12 Thread Francesc Guasch
I have a drive almost full because of the messages.tdb problem
with print queue. I will upgrade samba, but , how can I clean
it quick ?

I searched the mailing list archives and I didn't find it.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cleaning messages.tdb

2005-04-12 Thread Tony Earnshaw
Francesc Guasch skrev:
I have a drive almost full because of the messages.tdb problem
with print queue. I will upgrade samba, but , how can I clean
it quick ?
I searched the mailing list archives and I didn't find it.
On my RHAS3 test server I've found it does no harm t stop the smb 
service, delete *all* the .tdb files and restart the smb service. They 
get regenerated. YMMV. It can't hurt to do the same with the one 
messages.tdb file (or can it?)

--Tonni
--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl
They love us, don't they, They feed us, won't they ...
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cleaning messages.tdb

2005-04-12 Thread Paul Gienger

I have a drive almost full because of the messages.tdb problem
with print queue. I will upgrade samba, but , how can I clean
it quick ?
I searched the mailing list archives and I didn't find it.

On my RHAS3 test server I've found it does no harm t stop the smb 
service, delete *all* the .tdb files and restart the smb service. They 
get regenerated. YMMV. It can't hurt to do the same with the one 
messages.tdb file (or can it?)
It should be noted however that you don't want to delete absolutely all 
the tdb files.  There are a few notable exceptions in every domain style 
installation such as secrets.tdb and more files such as 
group_mapping.tdb and the passwd file (which I don't know the name of) 
if you're using tdbsam.  I would gather that the printer driver 
assignments are in a tdb file too but I can't say for sure which of the 
many printer-related looking files they are in.

--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cleaning messages.tdb

2005-04-12 Thread Tony Earnshaw
Paul Gienger skrev:

I have a drive almost full because of the messages.tdb problem
with print queue. I will upgrade samba, but , how can I clean
it quick ?
I searched the mailing list archives and I didn't find it.

On my RHAS3 test server I've found it does no harm t stop the smb 
service, delete *all* the .tdb files and restart the smb service. They 
get regenerated. YMMV. It can't hurt to do the same with the one 
messages.tdb file (or can it?)

It should be noted however that you don't want to delete absolutely all 
the tdb files.  There are a few notable exceptions in every domain style 
installation such as secrets.tdb and more files such as 
group_mapping.tdb and the passwd file (which I don't know the name of) 
if you're using tdbsam.  I would gather that the printer driver 
assignments are in a tdb file too but I can't say for sure which of the 
many printer-related looking files they are in.
Thanks Paul! I always appreciate your comments, though you might not 
believe it :) Are you family to Pascal Gienger,m German national? I owe 
him too, as I do many others.

On my RHAS3 rigs, using Jerry's srpms, secrets.tdb goes in to 
/etc/samba, not Red Hat's /var/lib/samba with the rest of the .tbs.  All 
my group mappings are in LDAP (ldapsam backend).

The printer driver .tdbs  Samba regenerates, the printer (only one on my 
test rig) keeps on working. I assume Samba gets its info from smb.conf.

As the HOWTO doco says, *never* test on a live system (well, didn't I 
already know that), always test on a test network.

Best,
--Tonni
--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl
They love us, don't they, They feed us, won't they ...
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba