Hello, I work for a startup local to my area.  We have been using
freeradius for a while with great success and decided to backend
freeradius to our backend setup.  I wrote a rlm auth module which does
this task quite well -- it was based off the rlm_example.  The strangest
thing has started happening though: usernames that start with a capital
S get the capital S chopped off.... ie... Steve turns into teve.  The
debug output shows a User-Name pair with the correct value in it, but in
the debug messages of my module, the value will have the capital S
removed.

The following is how the unix module got access to the username and
password... since this is the only thing I really need, I did the same
thing.

   name = (char *)request->username->strvalue;
   passwd = (char *)request->password->strvalue;

   radlog(L_ERR,"THE USERNAME/PASSWORD WAS %s / %s", name,passwd);

when the username starts with a capital "S", the name value is missing
it (it is still however, printed in the packet debug before it gets to
my module).

Any insight?
freeradius-0.4 is being used.

Is this fixed in a newer cvs snapshot or is this a brand new issue?

If nobody has heard of this, I will probably start scrounging around in
gdb to see what is going on.

Wayne


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to