diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 15:53:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:28 +0100 |
commit | ab69eb8d8901d23794c6a298718e67656ef4820e (patch) | |
tree | cd415ecd2aee4caa9e47f6c442d0d23b2f443b9c /source4/smb_server | |
parent | 0a2f1a46a02d2c9497d05d7e534829dc6e9430dc (diff) | |
download | samba-ab69eb8d8901d23794c6a298718e67656ef4820e.tar.gz samba-ab69eb8d8901d23794c6a298718e67656ef4820e.tar.bz2 samba-ab69eb8d8901d23794c6a298718e67656ef4820e.zip |
r26250: Avoid global_loadparm in a couple more places.
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 57a6e8ea11..8ba93b9a59 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -204,7 +204,7 @@ static void smbsrv_preopen_ldb(struct task_server *task) /* yes, this looks strange. It is a hack to preload the schema. I'd like to share most of the ldb context with the child too. That will come later */ - talloc_free(samdb_connect(task, global_loadparm, NULL)); + talloc_free(samdb_connect(task, task->lp_ctx, NULL)); } /* |