summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/srv_netlog_nt.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-03 18:41:26 -0700
committerJeremy Allison <jra@samba.org>2007-11-03 18:41:26 -0700
commit25074433f412c4dd2531fd268d51be8753ddc11b (patch)
tree2c18dde9c017a675f2ea75e76ae773bb9057ded5 /source3/rpc_server/srv_netlog_nt.c
parent6658165d5e9cd186fea74e1581091233e8990e9b (diff)
downloadsamba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.gz
samba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.xz
samba-25074433f412c4dd2531fd268d51be8753ddc11b.zip
I can't get away without a 'length' arg. :-).
Jeremy. (This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
Diffstat (limited to 'source3/rpc_server/srv_netlog_nt.c')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 6de8cd75723..f876ee976df 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -210,7 +210,7 @@ static NTSTATUS get_md4pw(char *md4pw, char *mach_acct, uint16 sec_chan_type)
*/
if (!allow_access(lp_domain_hostsdeny(), lp_domain_hostsallow(),
- client_name(), client_addr(addr)))
+ client_name(), client_addr(addr,sizeof(addr))))
{
DEBUG(0,("get_md4pw: Workstation %s denied access to domain\n", mach_acct));
return False;