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
TAKAHASHI Motonobu
2010-Dec-17 16:29 UTC
[Samba] Issue in manipulating records with TDBTOOL
2010/12/17 Mayuk De <mayuk.de at gmail.com>:> 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 > ...... > > tdb> show S-1-5-21-160935111-2493731623-2036278074-1242 > fetch failedTry for example: tdb> show S-1-5-21-160935111-2493731623-2036278074-1242\0 instead of tdb> show S-1-5-21-160935111-2493731623-2036278074-1242 Hmmm, this is a bad design... --- TAKAHASHI Motonobu <monyo at samba.gr.jp>