summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-28 17:19:42 +0200
committerVolker Lendecke <vl@samba.org>2010-08-29 21:55:25 +0200
commit5a6be0b3149e43bad14bb75c308ced904909dc58 (patch)
treeb60b4dd3895e6af636e53ca8ff2bfd769b7a0b0f /source3
parent744cc264517ac440d606570f6e36b8aa1ba836f3 (diff)
downloadsamba-5a6be0b3149e43bad14bb75c308ced904909dc58.tar.gz
samba-5a6be0b3149e43bad14bb75c308ced904909dc58.tar.bz2
samba-5a6be0b3149e43bad14bb75c308ced904909dc58.zip
s3: Remove smbd_server_fd() from srv_netlog_nt
This is not actually used. If it was to be activated, we'd have to pass in a pipes_struct.
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 73f216f73a..d0f9dc9dba 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -600,7 +600,6 @@ static NTSTATUS get_md4pw(struct samr_Password *md4pw, const char *mach_acct,
union samr_UserInfo *info;
struct auth_serversupplied_info *server_info;
#if 0
- char addr[INET6_ADDRSTRLEN];
/*
* Currently this code is redundent as we already have a filter
@@ -612,8 +611,8 @@ static NTSTATUS get_md4pw(struct samr_Password *md4pw, const char *mach_acct,
*/
if (!allow_access(lp_domain_hostsdeny(), lp_domain_hostsallow(),
- client_name(smbd_server_fd()),
- client_addr(smbd_server_fd(),addr,sizeof(addr)))) {
+ p->client_id.name,
+ p->client_id.addr)) {
DEBUG(0,("get_md4pw: Workstation %s denied access to domain\n", mach_acct));
return False;
}