summaryrefslogtreecommitdiff
path: root/source/winbind
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:33:22 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:55 +0100
commit1ab76ecc5311fa863e5d04899b6f110899818f55 (patch)
treeac160cae60bda9472140c603e171aa829d1f7cb7 /source/winbind
parente9875fcd56de0748ed78d7e3c9cdb4919cd96d3c (diff)
downloadsamba-1ab76ecc5311fa863e5d04899b6f110899818f55.tar.gz
r26272: Remove global_loadparm in some more places.
Diffstat (limited to 'source/winbind')
-rw-r--r--source/winbind/wb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbind/wb_server.c b/source/winbind/wb_server.c
index 87ffc5b98eb..c9c6516732e 100644
--- a/source/winbind/wb_server.c
+++ b/source/winbind/wb_server.c
@@ -60,7 +60,7 @@ static void wbsrv_accept(struct stream_connection *conn)
}
wbconn->conn = conn;
wbconn->listen_socket = listen_socket;
- wbconn->lp_ctx = global_loadparm;
+ wbconn->lp_ctx = listen_socket->service->task->lp_ctx;
conn->private = wbconn;
wbconn->packet = packet_init(wbconn);