Ok i found it, its a simple hack.
Is there any reason not to include "#" in the sql fields?
AFAIK the "#" insn't a reserved char in SQL.
TIA,
Joao Frade
---------------------
--- rlm_sql.c.old 2003-08-29 12:43:26.000000000 +0100
+++ rlm_sql.c 2003-08-29 12:53:17.000000000 +0100
@@ -253,7 +253,7 @@
* mime-encoded equivalents.
*/
if ((in[0] < 32) ||
-
strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: =/", *in)
== NULL) {
+
strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: =/#", *in)
== NULL) {
snprintf(out, outlen, "=%02X", (unsigned char) in[0]);
in++;
out += 3;
---------------------
> -----Original Message-----
> From: Oliver Graf [mailto:[EMAIL PROTECTED]
> Sent: sexta-feira, 29 de Agosto de 2003 12:31
> To: [EMAIL PROTECTED]
> Subject: Re: Calling-Station-Id
>
>
> On Fri, Aug 29, 2003 at 12:14:15PM +0100, Jo�o Filipe Frade wrote:
> > How can i preserve the original "Calling-Station-Id"
> (whithout # -> =23 conversion)?
>
> hack rlm_sql.c
>
> Oliver.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html