[PATCH] sam backend parameter

Simo Sorce simo.sorce at xsec.it
Wed Oct 2 22:17:01 GMT 2002

yes a thing I'm not sure has ever been a good idea.
to be able to have sam2sam that is really read a backend + store all
info into another backend we may take several ways.

We never need the 2 backend to be loaded at the same time to do the
operation, we may easily read all the accounts chnage the backend and
store them into the new one, or simply make custom code to load 2
different backends, and use theyr calls.

It's easy to have 2 structures calle backend1 and backend2 that holds
the functon pointers for 2 backends.

Al the context things always seemed to me overcomplicated even for
multiple backend code.


On Wed, 2002-10-02 at 23:56, Jelmer Vernooij wrote:
> > - what is all the context thing needed for?
> Sometimes we need multiple contexts. For example, when doing sam2sam.
> Please notice that passdb has this as well...
> Jelmer
> -- 
> Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
> Development And Underdevelopment: http://library.thinkquest.org/C0110231/
> Listening to 
>  23:55:29 up 11:49, 10 users,  load average: 0.27, 0.39, 0.39
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20021002/078fcf6a/attachment.bin

More information about the samba-technical mailing list