summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-31 20:20:52 +0200
committerGünther Deschner <gd@samba.org>2009-09-16 17:59:56 +0200
commit5ddde4e19dfb6a65d9b5b5cf11d5742e2b82e02b (patch)
tree1a264de64125157b73a1332cc887bd0bd709ae45 /source3/rpc_server
parent42e393af28340bb18cc4a9b47a08df2be870441e (diff)
downloadsamba-5ddde4e19dfb6a65d9b5b5cf11d5742e2b82e02b.tar.gz
samba-5ddde4e19dfb6a65d9b5b5cf11d5742e2b82e02b.tar.bz2
samba-5ddde4e19dfb6a65d9b5b5cf11d5742e2b82e02b.zip
s3-netlogon: match all logon levels in netr_SamLogon calls.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 33a81fa651..1982da4f2d 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -918,6 +918,9 @@ static NTSTATUS _netr_LogonSamLogon_base(pipes_struct *p,
switch (r->in.logon_level) {
case NetlogonInteractiveInformation:
+ case NetlogonServiceInformation:
+ case NetlogonInteractiveTransitiveInformation:
+ case NetlogonServiceTransitiveInformation:
nt_username = logon->password->identity_info.account_name.string;
nt_domain = logon->password->identity_info.domain_name.string;
nt_workstation = logon->password->identity_info.workstation.string;
@@ -925,6 +928,7 @@ static NTSTATUS _netr_LogonSamLogon_base(pipes_struct *p,
DEBUG(3,("SAM Logon (Interactive). Domain:[%s]. ", lp_workgroup()));
break;
case NetlogonNetworkInformation:
+ case NetlogonNetworkTransitiveInformation:
nt_username = logon->network->identity_info.account_name.string;
nt_domain = logon->network->identity_info.domain_name.string;
nt_workstation = logon->network->identity_info.workstation.string;
@@ -947,6 +951,7 @@ static NTSTATUS _netr_LogonSamLogon_base(pipes_struct *p,
switch (r->in.logon_level) {
case NetlogonNetworkInformation:
+ case NetlogonNetworkTransitiveInformation:
{
const char *wksname = nt_workstation;
@@ -976,6 +981,10 @@ static NTSTATUS _netr_LogonSamLogon_base(pipes_struct *p,
break;
}
case NetlogonInteractiveInformation:
+ case NetlogonServiceInformation:
+ case NetlogonInteractiveTransitiveInformation:
+ case NetlogonServiceTransitiveInformation:
+
/* 'Interactive' authentication, supplies the password in its
MD4 form, encrypted with the session key. We will convert
this to challenge/response for the auth subsystem to chew