summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-24 15:21:46 +0200
committerVolker Lendecke <vl@samba.org>2008-06-26 13:13:23 +0200
commit8a9881c30b97671719f5859d54e7d66b1f08f2ef (patch)
treee2f40f1a53998b412eac57cb448d52ed31698de1 /source3/rpc_server
parent747a5809528cffc40f46d7e27a96ce0c559056b4 (diff)
downloadsamba-8a9881c30b97671719f5859d54e7d66b1f08f2ef.tar.gz
samba-8a9881c30b97671719f5859d54e7d66b1f08f2ef.tar.bz2
samba-8a9881c30b97671719f5859d54e7d66b1f08f2ef.zip
Remove a check on p->vuid in _netr_LogonSamLogon/off
This is in preparation of removing p->vuid completely. I don't think this check here makes any sort of sense, it only proves that the user having done the session setup on its way to the schannel bind (ususally anonymous) did not do a logoff in between. But this would have been caught way before this in reply_pipe_write_and_X. (This used to be commit fbc00460f8deaa57bfbf16b12d29acec56578b63)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index a0812283d6..7ece482d75 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -702,9 +702,6 @@ NTSTATUS _netr_LogonSamLogoff(pipes_struct *p,
}
- if (!get_valid_user_struct(p->vuid))
- return NT_STATUS_NO_SUCH_USER;
-
/* Using the remote machine name for the creds store: */
/* r->in.computer_name */
@@ -790,9 +787,6 @@ NTSTATUS _netr_LogonSamLogon(pipes_struct *p,
return NT_STATUS_ACCESS_DENIED;
}
- if (!get_valid_user_struct(p->vuid))
- return NT_STATUS_NO_SUCH_USER;
-
if (process_creds) {
fstring remote_machine;