[Samba] More to pdbedit -L segfault

Karel Kulhavý clock at twibright.com
Thu Feb 12 14:20:34 GMT 2004


I have determined that the segfault can be reproduced by:
1) Fresh installation of samba-3.0.2
2) Copying the "bad" private/passdb.tdb into /usr/local/samba/private/passdb.tdb

However I can't post the passdb.tdb that causes this because I think it
contains sensitive information. However tdbdump dumps it without complaints:

tdbdump /root/samba-pdbedit-segfault/private/passdb.tdb

{
key = "USER_test\00"
data = "censored"
}
{
key = "RID_000003e8\00"
data = "root\00"
}
{
key = "USER_neptun$\00"
data = "censored"
}
{
key = "RID_00000bba\00"
data = "neptun$\00"
}
{
key = "RID_00000bbe\00"
data = "test\00"
}
{
key = "INFO/version\00"
data = "\01\00\00\00"
}
{
key = "USER_root\00"
data = "censored"
}

Is there a way how to dump the database into text format, edit the obviously
sensitive informations and then pack it back into .tdb file? I would need
something like reverse-tdbdump. Then I could maybe make an unsensitive
file that crashes pdbedit-3.0.2 -L and post it here.

Cl<


More information about the samba mailing list