コード例 #1
0
 def dns_lookup(self, dns_name, dns_partition=None):
     '''Do a DNS lookup in the database, returns the NDR database structures'''
     if dns_partition is None:
         return dsdb_dns.lookup(self, dns_name)
     else:
         return dsdb_dns.lookup(self, dns_name,
                                dns_partition=dns_partition)
コード例 #2
0
ファイル: samdb.py プロジェクト: Distrotech/samba
 def dns_lookup(self, dns_name):
     '''Do a DNS lookup in the database, returns the NDR database structures'''
     return dsdb_dns.lookup(self, dns_name)
コード例 #3
0
 def dns_lookup(self, dns_name):
     '''Do a DNS lookup in the database, returns the NDR database structures'''
     return dsdb_dns.lookup(self, dns_name)