summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-09-28 00:10:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:49 -0500
commit521268be1caeb9e50274ff17451cbfb8dbb1765f (patch)
tree7aa94b9611c6072779b50778a76b7b3edcef9f2a
parent8df096a75e59e6b08f3358099ad51a7f52bf28b8 (diff)
downloadsamba-521268be1caeb9e50274ff17451cbfb8dbb1765f.tar.gz
samba-521268be1caeb9e50274ff17451cbfb8dbb1765f.tar.bz2
samba-521268be1caeb9e50274ff17451cbfb8dbb1765f.zip
r2703: Fix typo noticed by Igor Belyi <sambauser@katehok.ac93.org>
Jeremy. (This used to be commit ba69c7229c27e917a24e6d608d59e7c0bdd47551)
-rw-r--r--source3/auth/pampass.c2
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;