python/join: correct spelling of "ctx.del_noerror"
[nivanova/samba-autobuild/.git] / python / samba / join.py
index 9b211ac8b6ef77edd80103ec4269cd81ceb24fdb..88b8d4b5e35669b8d963e9abb24bc3cedb92d703 100644 (file)
@@ -228,7 +228,7 @@ class dc_join(object):
 
         if "msDS-Krbtgtlink" in res[0]:
             new_krbtgt_dn = res[0]["msDS-Krbtgtlink"][0]
-            del_noerror(ctx.new_krbtgt_dn)
+            ctx.del_noerror(ctx.new_krbtgt_dn)
 
         res = ctx.samdb.search(base=ctx.samdb.get_default_basedn(),
                                expression='(&(sAMAccountName=%s)(servicePrincipalName=%s))' %