git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee79625
)
s3: Remove smbd_server_fd() from switch_message
author
Volker Lendecke
<vl@samba.org>
Sun, 15 Aug 2010 09:31:51 +0000
(11:31 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 16 Aug 2010 20:39:24 +0000
(22:39 +0200)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 8bd20c287091990e6385e31c05d7377e63f45b47..c3240e806d3ace929f7433506dd8971876cb8a65 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-1526,7
+1526,7
@@
static connection_struct *switch_message(uint8 type, struct smb_request *req, in
/* does this protocol need to be run as guest? */
if ((flags & AS_GUEST)
&& (!change_to_guest() ||
- !check_access(s
mbd_server_fd()
, lp_hostsallow(-1),
+ !check_access(s
conn->sock
, lp_hostsallow(-1),
lp_hostsdeny(-1)))) {
reply_nterror(req, NT_STATUS_ACCESS_DENIED);
return conn;