diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:04:22 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:04:22 +0100 |
commit | a1cc27814240bf50bd546dcfc8b80d3838a6a38d (patch) | |
tree | 04d7c24dcbbeb344fa36b5a0937015b44008da30 /source4/lib/wmi | |
parent | cb77fca1cd4cb340ca619410195aa6895f848b92 (diff) | |
download | samba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.tar.gz samba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.tar.bz2 samba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.zip |
Remove use of global_loadparm during initialization of gensec.
Diffstat (limited to 'source4/lib/wmi')
-rw-r--r-- | source4/lib/wmi/wmicore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/wmi/wmicore.c b/source4/lib/wmi/wmicore.c index a853f26035..7624946536 100644 --- a/source4/lib/wmi/wmicore.c +++ b/source4/lib/wmi/wmicore.c @@ -37,9 +37,10 @@ struct IWbemContext; DEBUG(1, ("OK : %s\n", msg)); \ } -void wmi_init(struct com_context **ctx, struct cli_credentials *credentials) +void wmi_init(struct com_context **ctx, struct cli_credentials *credentials, + struct loadparm_context *lp_ctx) { - dcerpc_init(); + dcerpc_init(lp_ctx); ndr_table_init(); /* FIXME: Register DCOM proxies? */ |