Lines 1581-1587
def _identify_dns_con_object(s4connector, object):
|
Link Here
|
---|
|
1581 |
|
1581 |
|
1582 |
if object.get('attributes'): |
1582 |
if object.get('attributes'): |
1583 |
oc = object['attributes'].get('objectClass') |
1583 |
oc = object['attributes'].get('objectClass') |
1584 |
dc = object['attributes'].get('dc') |
1584 |
dc = object['attributes'].get('dc') or object['attributes'].get('DC') |
1585 |
if oc and 'dnsZone' in oc: |
1585 |
if oc and 'dnsZone' in oc: |
1586 |
# forward or reverse zone |
1586 |
# forward or reverse zone |
1587 |
if dc and dc[0].endswith('in-addr.arpa'): |
1587 |
if dc and dc[0].endswith('in-addr.arpa'): |