[PATCH] Winbind IDMAP Backend rearchitecture

Stefan (metze) Metzmacher metze at metzemix.de
Thu Jan 23 06:35:01 GMT 2003


>Anthony,

it would be nice if you can remane the parameter 'winbind backend' -> 
'idmap backend'
and add a
NTSTATUS or int smb_register_idmap(const struct idmap_backend *backend, int 
version)
function

with
struct idmap_backend {
         const char *name;
         struct idmap_methods *methods;
         struct idmap_backend     *prev,*next;
}

so that we can have modules witch can register a new backend.

And as I said yesterday on IRC, it would be nice to move the idmap code
to a new dir idmap and remove the winbind_prefix of the functions and file 
names.

and thwe current winbind idmap code should call the idmap code

because the get_rid_from_[u|g]id function should only be in the winbind 
idmap code because winind know the domain sid for this rids.

Simo,

did you have comments on this, I remember we discused this topic very long 
last year:-)




metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 




More information about the samba-technical mailing list