samba 4: a new configuration system?

Simo Sorce idra at
Thu Jun 23 21:56:40 GMT 2005

On Thu, 2005-06-23 at 12:45 -0400, Alan DeKok wrote:
> Andrew Tridgell <tridge at> wrote:
> >   export EDITOR=emacs
> >   ldbedit -H config.ldb
> > 
> > would edit the entire db in emacs.
>   That's a great idea, and I wish more projects had that kind of tool.

Other projects seem to be looking at ldb with interest, you have some
hope. :-)

>   One question, though.  I haven't looked, but is it possible to dump
> the ldb to a text file, and then import that text file back into the
> ldb?  That would allow other scripts to root through the DB via text,
> and would also give admins a "warm and fuzzy" feeling that the DB
> could be backed up in a format humans can understand.

Yes, you can save the file you're editing, and that is a backup.
ldb uses ldif as export/import format


Simo Sorce    -  idra at
Samba Team    -
Italian Site  -

More information about the samba-technical mailing list