samba 4: a new configuration system?

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


On Thu, 2005-06-23 at 12:45 -0400, Alan DeKok wrote:
> Andrew Tridgell <tridge at osdl.org> 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.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it


More information about the samba-technical mailing list