Revisión 119
Añadido por Francisco Damián Méndez Palma hace alrededor de 14 años
Hosts.py | ||
---|---|---|
|
||
return { "groups":groups }
|
||
|
||
def getInternalGroups (self):
|
||
|
||
groups = []
|
||
search = self.ldap.search("cn=INTERNAL,cn=DHCP Config","cn=group*",["cn"])
|
||
|
||
for g in search:
|
||
groups.append (g[0][1]["cn"][0])
|
||
|
||
return { "groups":groups }
|
||
|
||
def getHostData(self):
|
||
#self.getUserGroups()
|
||
if self.type == "thinclient":
|
Exportar a: Unified diff
Validando alta workstations