if IsDebianHost.match(GetAttr(x, "hostname")) is None:
continue
+ if not 'ipHostNumber' in x[1]:
+ continue
+
addrs = x[1]["ipHostNumber"]
for addr in addrs:
if addr not in seen:
# Generate the SubGroupMap and GroupIDMap
for x in Attrs:
- if x[1].has_key("status") and x[1]['status'] == "disabled":
+ if x[1].has_key("accountStatus") and x[1]['accountStatus'] == "disabled":
continue
if x[1].has_key("gidNumber") == 0:
continue