diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-10 18:41:55 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:49:17 +0100 |
commit | f055893ca571fbeac3675c02344c7cc53106bea1 (patch) | |
tree | 1dfa4dc151018102d18a219b9a6e20c1c78ae913 /source4/ntvfs | |
parent | 274d07ddff5c5920b9a2f3674e9104d8aab9e90c (diff) | |
download | samba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.gz samba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.bz2 samba-f055893ca571fbeac3675c02344c7cc53106bea1.zip |
r26382: Remove more uses of global_loadparm.
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/ipc/rap_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/rap_server.c b/source4/ntvfs/ipc/rap_server.c index d1a4dd9edc..9113bef894 100644 --- a/source4/ntvfs/ipc/rap_server.c +++ b/source4/ntvfs/ipc/rap_server.c @@ -23,6 +23,7 @@ #include "libcli/rap/rap.h" #include "librpc/gen_ndr/srvsvc.h" #include "rpc_server/common/common.h" +#include "param/param.h" /* At this moment these are just dummy functions, but you might get the * idea. */ @@ -40,7 +41,7 @@ NTSTATUS rap_netshareenum(TALLOC_CTX *mem_ctx, r->out.available = 0; r->out.info = NULL; - nterr = share_get_context(mem_ctx, &sctx); + nterr = share_get_context_by_name(mem_ctx, lp_share_backend(global_loadparm), &sctx); if (!NT_STATUS_IS_OK(nterr)) { return nterr; } |