Package: radiusclient1 Version: 0.3.2-8 Severity: normal Tags: patch
On an amd64 (SUN V20z) Authentication against an Radius Server fails, because the Attribute Value Pairs sending to the Server are to big. This is due the 64bit System. With the attached Patch, UINT4 and INT4 (defined in radiusclient.h) is defined as int not as long, so the header AVP Fields are within the specification. I would like to see the attached patch included in the Debian Package, because we use some Servers which are 64bit aware. HTH, tim -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.8-10-amd64-k8 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages radiusclient1 depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libradius1 0.3.2-8 /bin/login replacement with RADIUS ii perl [perl5] 5.8.4-8 Larry Wall's Practical Extraction -- no debconf information
--- include/radiusclient.h.orig 2005-08-04 10:50:19.636354682 +0200 +++ include/radiusclient.h 2005-08-04 10:48:47.955569910 +0200 @@ -38,8 +38,13 @@ # define __P(protos) () #endif +#if !(defined(__x86_64__)) typedef unsigned long UINT4; typedef long INT4; +#else +typedef unsigned int UINT4; +typedef int INT4; +#endif #define AUTH_VECTOR_LEN 16 #define AUTH_PASS_LEN (3 * 16) /* multiple of 16 */