pdbedit --force-initialized-passwords returns "Bad TDB Context
pointer"
Lin Li
linl at xandros.com
Wed Feb 11 15:03:48 GMT 2004
Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lin Li wrote:
> | Hi there,
> |
> | I use a debian based system with samba3.0.0. I compiled
> | samba 3.0.2 and run "pdbedit-3.0.2 --force-initialized-passwords".
> | I got "pdb_get_sampwent: Bad TDB Context pointer." Anyone
> | tried this?
>
> Try
>
> ~ root# pdbedit-3.0.2 --force-initialized-passwords \
> ~ -b=tdbsam:<path to passdb.tdb>
>
> My guess is that the 3.0.2 version you compiled is looking
> for things is different paths than the version you have installed.
> This is just a guess (wuthout more information).
>
Both return the same error. If I use a wrong path it will return "Unable
to open/create TDB passwd".
Thanks,
Lin
--
Xandros Corporation
Simple. Powerful. Linux.
Visit us at http://www.xandros.com
More information about the samba-technical
mailing list