diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 15:53:28 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:29 +0100 |
commit | 43696d2752e2faad34fb3ed2a7dbf01d40ffdc46 (patch) | |
tree | d16b58eca5fc3294f4b1d1d7a7bf287cdec333d8 /source4/utils/net | |
parent | 7b38aa728eb722cd14fa0ad4e246df0d2e54faba (diff) | |
download | samba-43696d2752e2faad34fb3ed2a7dbf01d40ffdc46.tar.gz samba-43696d2752e2faad34fb3ed2a7dbf01d40ffdc46.tar.bz2 samba-43696d2752e2faad34fb3ed2a7dbf01d40ffdc46.zip |
r26252: Specify loadparm_context explicitly when creating sessions.
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
Diffstat (limited to 'source4/utils/net')
-rw-r--r-- | source4/utils/net/net_vampire.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/utils/net/net_vampire.c b/source4/utils/net/net_vampire.c index 86c7c0115a..dc11917fa4 100644 --- a/source4/utils/net/net_vampire.c +++ b/source4/utils/net/net_vampire.c @@ -24,6 +24,7 @@ #include "libnet/libnet.h" #include "librpc/gen_ndr/samr.h" #include "auth/auth.h" +#include "param/param.h" static int net_samdump_keytab_usage(struct net_context *ctx, int argc, const char **argv) { @@ -151,7 +152,7 @@ int net_samsync_ldb(struct net_context *ctx, int argc, const char **argv) r.in.binding_string = NULL; /* Needed to override the ACLs on ldb */ - r.in.session_info = system_session(libnetctx); + r.in.session_info = system_session(libnetctx, global_loadparm); status = libnet_samsync_ldb(libnetctx, libnetctx, &r); if (!NT_STATUS_IS_OK(status)) { |