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:
committed by
Stefan Metzmacher
parent
6cbce47a3e
commit
0721a07aad
@@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user