[Samba] Issue in manipulating records with TDBTOOL

TAKAHASHI Motonobu monyo at monyo.com
Fri Dec 17 09:29:20 MST 2010


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 failed

Try 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>


More information about the samba mailing list