Menu

#43 AUTHNAME is truncated

open
nobody
None
5
2017-11-05
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

  • Alexander Motin

    Alexander Motin - 2011-08-12

    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.

     
  • Eugene Grosbein

    Eugene Grosbein - 2017-11-05

    Is this problem still relevant? If so, please post your mpd5 configuration.

     

Log in to post a comment.