1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00

r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.

This commit is contained in:
Jelmer Vernooij
2007-12-02 17:09:52 +01:00
committed by Stefan Metzmacher
parent 6cbce47a3e
commit 0721a07aad
27 changed files with 157 additions and 134 deletions

View File

@@ -203,7 +203,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, NULL));
talloc_free(samdb_connect(task, global_loadparm, NULL));
}
/*