diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-11-16 18:40:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:21 -0500 |
commit | 27b9d5652ed212fc46ade4339ee167152bd870b3 (patch) | |
tree | ce7132c135eed63e8f4206283ac170bed414d7cc /source4/smb_server/service.c | |
parent | 5c35b41b871d254de114890ed141786bcd454d72 (diff) | |
download | samba-27b9d5652ed212fc46ade4339ee167152bd870b3.tar.gz samba-27b9d5652ed212fc46ade4339ee167152bd870b3.tar.bz2 samba-27b9d5652ed212fc46ade4339ee167152bd870b3.zip |
r11746: revert my last commits, I now understand how we decide between
finished and non-finished sessions
metze
(This used to be commit 7cf6b307bc820b87663e4b9d1aeb5e730729b24e)
Diffstat (limited to 'source4/smb_server/service.c')
-rw-r--r-- | source4/smb_server/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/service.c b/source4/smb_server/service.c index 24d8a5250e..213cf6726b 100644 --- a/source4/smb_server/service.c +++ b/source4/smb_server/service.c @@ -156,7 +156,7 @@ NTSTATUS tcon_backend(struct smbsrv_request *req, union smb_tcon *con) NTSTATUS status; /* can only do bare tcon in share level security */ - if ((!req->session || !req->session->finished_sesssetup) && lp_security() != SEC_SHARE) { + if (!req->session && lp_security() != SEC_SHARE) { return NT_STATUS_ACCESS_DENIED; } |