diff options
author | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-11-05 00:00:13 +0200 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-11-05 06:32:43 +0000 |
commit | 211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94 (patch) | |
tree | 64f5db2593551cadc940b26d1b2a032cbafe513a /source4/ldap_server | |
parent | d952f6c3918c1bbc96a55ded2e03e4695448a46d (diff) | |
download | samba-211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94.tar.gz samba-211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94.tar.bz2 samba-211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94.zip |
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 <anatoliy@samba.org>
Autobuild-Date: Fri Nov 5 06:32:43 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_bind.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |