[Samba] Issue in manipulating records with TDBTOOL

Mayuk De mayuk.de at gmail.com
Fri Dec 17 05:34:56 MST 2010


Hi all,

I have run into an issue where I see some entries in winbindd which I would
not like to be present.

I have learnt that tdbtool would help me get rid of these unwanted entries,
but i simply haven't been able to do anything with it.

tdb> keys
key 46 bytes: S-1-5-21-160935111-2493731623-2036278074-1242
key 46 bytes: S-1-5-21-160935111-2493731623-2036278074-1225
........
......

tdb> show S-1-5-21-160935111-2493731623-2036278074-1242
fetch failed
tdb> show S-1-5-21-160935111-2493731623-2036278074-1225
fetch failed
tdb> show S-1-5-21-160935111-2493731623-2036278074-1225
fetch failed

Delete definitely fails as it simply cannot fecth/display the data releated
to a particular key.

Can anybody who has done this previously, sugesst the correct way to do it?

Thanks in advance!

Regards


More information about the samba mailing list