python/join: correct spelling of "ctx.del_noerror"
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 9 Mar 2017 01:50:14 +0000 (14:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Mar 2017 06:31:09 +0000 (07:31 +0100)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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))' %