mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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.
This commit is contained in:
parent
744cc26451
commit
5a6be0b314
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user