1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

samba_kcc: remove an unused function

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2017-11-16 16:47:32 +13:00 committed by Karolin Seeger
parent c6294c3c7b
commit a090d7ef52

View File

@ -1538,12 +1538,6 @@ class Site(object):
if not dsa.is_ro():
self.rw_dsa_table[dnstr] = dsa
def get_dsa_by_guidstr(self, guidstr): # XXX unused
for dsa in self.dsa_table.values():
if str(dsa.dsa_guid) == guidstr:
return dsa
return None
def get_dsa(self, dnstr):
"""Return a previously loaded DSA object by consulting
the sites dsa_table for the provided DSA dn string