updated newidmap

simo idra at samba.org
Tue Oct 3 18:24:05 GMT 2006

On Tue, 2006-10-03 at 20:18 +0200, Volker Lendecke wrote:
> On Tue, Oct 03, 2006 at 02:10:26PM -0400, simo wrote:
> > Ok let's say they are two different things, where is the actual
> > allocation performed?
> Data-structure wise? No change, it's just another module
> looking at the HWM stuff in tdb or the sambaDomain object.
> And this module is the only one that needs to know about the
> uid/gid ranges, the others just eat what they get.

Ok this is more or less what I had in mind, only you have to consider
that you may have different ranges for different modules so in the end
it does not make sense to me to split it completely out.

They are 2 separate functions of the modules.

The workflow I have in mind is this:


  IDMAP-->CACHE(fail)--[choose domain]--->BACKEND (based on the SID).

  if BACKEND fails:

     IDMAP--->[lookup sid]

     if SID valid

        IDMAP---(allocate new ID)--->BACKEND (based on the SID).

        if BACKEND fails:

           IDMAP----(Sorry not possible)--->WINBINDD


           IDMAP---(set mapping SID/ID)--->BACKEND

           IDMAP---(this is the ID)------->WINBIND


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba-technical mailing list