Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Radius "bug"?



> > Anyway, we are
> > using Ascend's version of radiusd via Solaris, and I've found that if I 
> > enter a username including a space, radius will simply ignore the space and
> > everything after it...
> 
> This is a 'feature': the ascend radiusd (and possible other
> radiusds as well) ignores everything after space and tab
> characters. This can be disabled by commenting out some code in
> the user_find() routine in users.c and recompiling. 

The code you need to comment out is :

        while (*ptr != '\0') {
                if (*ptr == ' ' || *ptr == '\t') {
                        *ptr = '\0';
                } else {
                        ptr++;
                }
        }

Note, you will still have the problem with a DEFAULT user entry with
Password = "UNIX".  So depending on which "feature" you are using,
you may see the same behavior for completely different reasons.

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>