From b4a9bda23dd6b1941ac1cf53093e0eacf485b34f Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 28 Jun 2006 13:59:12 +0000 Subject: [PATCH] Alex Kiernan's patch for a problem with libradius. --- doc/doc-txt/ChangeLog | 5 ++++- src/ACKNOWLEDGMENTS | 6 +++--- src/src/auths/call_radius.c | 5 +++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index fe529c45b..1ae87c627 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.361 2006/06/27 15:38:07 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.362 2006/06/28 13:59:12 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -49,6 +49,9 @@ PH/04 Applied Magnus Holmgren's patch to fix Bugzilla #98: transport's home directory not expanded when it should be if an expanded home directory was set for the address (which is overridden by the transport). +PH/05 Applied Alex Kiernan's patch to fix Bugzilla #99: a problem with + libradius. + Exim version 4.62 ----------------- diff --git a/src/ACKNOWLEDGMENTS b/src/ACKNOWLEDGMENTS index 8eb06f402..3a8bfbb9f 100644 --- a/src/ACKNOWLEDGMENTS +++ b/src/ACKNOWLEDGMENTS @@ -1,4 +1,4 @@ -$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.47 2006/06/27 14:34:26 ph10 Exp $ +$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.48 2006/06/28 13:59:13 ph10 Exp $ EXIM ACKNOWLEDGEMENTS @@ -20,7 +20,7 @@ relatively small patches. Philip Hazel Lists created: 20 November 2002 -Last updated: 27 June 2006 +Last updated: 28 June 2006 THE OLD LIST @@ -167,7 +167,7 @@ John Jetmore Writing and maintaining the 'exipick' utility Bob Johannessen Patch for Sieve envelope tests bug Patch for negative uid/gid bug Christian Kellner Patch for LDAP dereferencing -Alex Kiernan Patch for libradius +Alex Kiernan Patches for libradius Diagnosis of milliwait clock-backwards bug Patch for BDB 4.3 API change Tom Kistner SPA server code diff --git a/src/src/auths/call_radius.c b/src/src/auths/call_radius.c index 7faa83d8f..90e2e6880 100644 --- a/src/src/auths/call_radius.c +++ b/src/src/auths/call_radius.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/auths/call_radius.c,v 1.5 2006/02/07 11:19:01 ph10 Exp $ */ +/* $Cambridge: exim/src/src/auths/call_radius.c,v 1.6 2006/06/28 13:59:13 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -177,7 +177,8 @@ if (rad_config(h, RADIUS_CONFIG_FILE) != 0 || rad_create_request(h, RAD_ACCESS_REQUEST) != 0 || rad_put_string(h, RAD_USER_NAME, CS user) != 0 || rad_put_string(h, RAD_USER_PASSWORD, CS radius_args) != 0 || - rad_put_int(h, RAD_SERVICE_TYPE, RAD_AUTHENTICATE_ONLY) != 0) + rad_put_int(h, RAD_SERVICE_TYPE, RAD_AUTHENTICATE_ONLY) != 0 || + rad_put_string(h, RAD_NAS_IDENTIFIER, CS primary_hostname) != 0) { *errptr = string_sprintf("RADIUS: %s", rad_strerror(h)); result = ERROR; -- 2.25.1