summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-06-28 13:59:12 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-06-28 13:59:12 +0000
commitb4a9bda23dd6b1941ac1cf53093e0eacf485b34f (patch)
tree12b08f4652f7d3de29e6b8e57c978015932e7d62 /src
parent13675d9b80a132fa909d974679f605c555de80e3 (diff)
Alex Kiernan's patch for a problem with libradius.
Diffstat (limited to 'src')
-rw-r--r--src/ACKNOWLEDGMENTS6
-rw-r--r--src/src/auths/call_radius.c5
2 files changed, 6 insertions, 5 deletions
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;