1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00

r26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loadparm.

This commit is contained in:
Jelmer Vernooij
2007-12-02 19:04:33 +01:00
committed by Stefan Metzmacher
parent ba75f1613a
commit 37d05fdc7b
12 changed files with 34 additions and 25 deletions

View File

@@ -47,9 +47,10 @@ static NTSTATUS ldapsrv_BindSimple(struct ldapsrv_call *call)
status = crack_auto_name_to_nt4_name(call, req->dn, &nt4_domain, &nt4_account);
if (NT_STATUS_IS_OK(status)) {
status = authenticate_username_pw(global_loadparm, call,
status = authenticate_username_pw(call,
call->conn->connection->event.ctx,
call->conn->connection->msg_ctx,
global_loadparm,
nt4_domain, nt4_account,
req->creds.password,
&session_info);