From 211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94 Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Fri, 5 Nov 2010 00:00:13 +0200 Subject: s4/auth: Add logon_parameters to authenticate_username_pw We need to be able to set the logon parameters in the same way as in the ntlm server so we can handle openldap simple authentication call correctly. Autobuild-User: Anatoliy Atanasov Autobuild-Date: Fri Nov 5 06:32:43 UTC 2010 on sn-devel-104 --- source4/ldap_server/ldap_bind.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/ldap_server') diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index 5036353a4b..25be4802d6 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -53,6 +53,8 @@ static NTSTATUS ldapsrv_BindSimple(struct ldapsrv_call *call) call->conn->lp_ctx, nt4_domain, nt4_account, req->creds.password, + MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT | + MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT, &session_info); } -- cgit