r18434: Fix typo...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 12 Sep 2006 22:26:19 +0000 (22:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:28 +0000 (14:18 -0500)
source/nbt_server/dgram/netlogon.c

index 9f4803c704f19962df74cd3275b643fbae898ef0..dfcc554e04838787f98426e4640e514bc2ee9da4 100644 (file)
@@ -59,7 +59,7 @@ static void nbtd_netlogon_getdc(struct dgram_mailslot_handler *dgmslot,
                return;
        }
 
-       partitions_basedn = samdb_partitions_dn(sam_ctx, mem_ctx);
+       partitions_basedn = samdb_partitions_dn(samctx, samctx);
 
        ret = gendb_search(samctx, samctx, partitions_basedn, &ref_res, ref_attrs,
                           "(&(&(nETBIOSName=%s)(objectclass=crossRef))(ncName=*))",