Ejemplo n.º 1
0
 def get_wellknown_dn(self, nc_root, wkguid):
     h_nc = self.hash_well_known.get(str(nc_root))
     dn = None
     if h_nc is not None:
         dn = h_nc.get(wkguid)
     if dn is None:
         dn = dsdb._dsdb_get_wellknown_dn(self, nc_root, wkguid)
         if dn is None:
             return dn
         if h_nc is None:
             self.hash_well_known[str(nc_root)] = {}
             h_nc = self.hash_well_known[str(nc_root)]
         h_nc[wkguid] = dn
     return dn
Ejemplo n.º 2
0
 def get_wellknown_dn(self, nc_root, wkguid):
     h_nc = self.hash_well_known.get(str(nc_root))
     dn = None
     if h_nc is not None:
         dn = h_nc.get(wkguid)
     if dn is None:
         dn = dsdb._dsdb_get_wellknown_dn(self, nc_root, wkguid)
         if dn is None:
             return dn
         if h_nc is None:
             self.hash_well_known[str(nc_root)] = {}
             h_nc = self.hash_well_known[str(nc_root)]
         h_nc[wkguid] = dn
     return dn
Ejemplo n.º 3
0
 def get_wellknown_dn(self, nc_root, wkguid):
     return dsdb._dsdb_get_wellknown_dn(self, nc_root, wkguid)
Ejemplo n.º 4
0
 def get_wellknown_dn(self, nc_root, wkguid):
     return dsdb._dsdb_get_wellknown_dn(self, nc_root, wkguid)