diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-15 11:31:51 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-16 22:39:24 +0200 |
commit | 61989a9e54ef0ded0fbf2d5353aa8d0c0e34e409 (patch) | |
tree | e860634d6f5b0bf4cb05ebee48ee8f4368cdde91 /source3 | |
parent | ee796255cee4efa280b8896deca492a877b2e135 (diff) | |
download | samba-61989a9e54ef0ded0fbf2d5353aa8d0c0e34e409.tar.gz samba-61989a9e54ef0ded0fbf2d5353aa8d0c0e34e409.tar.bz2 samba-61989a9e54ef0ded0fbf2d5353aa8d0c0e34e409.zip |
s3: Remove smbd_server_fd() from switch_message
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 8bd20c2870..c3240e806d 100644 --- 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(smbd_server_fd(), lp_hostsallow(-1), + !check_access(sconn->sock, lp_hostsallow(-1), lp_hostsdeny(-1)))) { reply_nterror(req, NT_STATUS_ACCESS_DENIED); return conn; |