#43 AUTHNAME is truncated

open
nobody
None
5
2011-08-12
2011-08-12
cooper
No

mpd4 (in m0n0wall, but exists in mpd5 also)

defs.h:
#define AUTH_MAX_AUTHNAME 64

this causes authname to be truncated when handed off to a radius server. I am using Authlite (www.authlite.com) for two factor authentication. it sends a long OTP in the username field and the truncating of the string causes failure.

Discussion

  • And how long is that generated username?

     
  • cooper
    cooper
    2011-08-12

    its 64 characters long, but it is being truncated to 63 when passed back to the RADIUS server.

    Original:
    lgdldnrrlhdecfjbuencthkrtukluuculvnifhgbbhlnntbjijdevnrjnkdlenlc

    Truncated:
    lgdldnrrlhdecfjbuencthkrtukluuculvnifhgbbhlnntbjijdevnrjnkdlenl

    thanks.