This is a multi-part message in MIME format.
--------------080802060608070502050608
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

While looking through the 3.0.7 code I run into a typo in pampass.c
which makes it behave a little bit different than intended. Attached
patch fixes it.

Cheers,
Igor


--------------080802060608070502050608
Content-Type: text/x-patch;
name="samba-3.0.7-pampass-our_rhost.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="samba-3.0.7-pampass-our_rhost.patch"

--- samba-3.0.7.orig/source/auth/pampass.c 2004-04-04 03:37:32.000000000 -0400
+++ samba-3.0.7/source/auth/pampass.c 2004-09-27 19:43:39.000000000 -0400
@@ -466,7 +466,7 @@

if (rhost == NULL) {
our_rhost = client_name();
- if (strequal(rhost,"UNKNOWN"))
+ if (strequal(our_rhost,"UNKNOWN"))
our_rhost = client_addr();
} else {
our_rhost = rhost;

--------------080802060608070502050608--