diff options
Diffstat (limited to 'source3/auth/pampass.c')
-rw-r--r-- | source3/auth/pampass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 3239686a20..68871547b1 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -466,7 +466,7 @@ static BOOL smb_pam_start(pam_handle_t **pamh, const char *user, const char *rho if (rhost == NULL) { our_rhost = client_name(); - if (strequal(rhost,"UNKNOWN")) + if (strequal(our_rhost,"UNKNOWN")) our_rhost = client_addr(); } else { our_rhost = rhost; |