Sorry Alan, you're quite right. I made the assumption that if the microsoft 2008 server accepted long shared secrets, it *didn't* truncate them. It does. Having now retested against WinRadius - another freely available RADIUS server, both radclient and my embedded client (with the change to MAX_SECRET_LENGTH) appear to work. Thanks, Adam. Alan DeKok-2 wrote:
Adam Lewis wrote:
I also have a question about shared secret. Namely: how do I get the freeRADIUS client to support shared secrets larger than 48 characters? I tried increasing the size of MAX_SECRET_LENGTH in freeradius-client.h but this did not help. It is possible that fitting the client into our embedded environment, I may have broken something but I tested radclient (against microsoft 2008 server) and it didn't work either.
radclient has *no* limit on the length of the shared secret.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-- View this message in context: http://old.nabble.com/Shared-Secret-questions.-tp28952008p28970862.html Sent from the FreeRadius - Dev mailing list archive at Nabble.com.