diff options
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/pampass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index c7ec79b969..739e0a78fd 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -468,9 +468,9 @@ static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rho } if (rhost == NULL) { - our_rhost = client_name(); + our_rhost = client_name(get_client_fd()); if (strequal(our_rhost,"UNKNOWN")) - our_rhost = client_addr(addr,sizeof(addr)); + our_rhost = client_addr(get_client_fd(),addr,sizeof(addr)); } else { our_rhost = rhost; } |