There are afew changes that need to be made.

In files/patch-ab :

--- src/modules/rlm_mschap/rlm_mschap.c.orig    Tue Sep 16 12:40:05 2003
+++ src/modules/rlm_mschap/rlm_mschap.c Mon Dec  1 15:23:30 2003
@@ -260,10 +260,15 @@
        SHA1_CTX Context;
        char hash[20];
        
+       const char *name;
+
+       name = strchr(user_name, '\\');
+       name = name == NULL ? user_name : name + 1;
+
        SHA1Init(&Context);
        SHA1Update(&Context, peer_challenge, 16);
        SHA1Update(&Context, auth_challenge, 16);
-       SHA1Update(&Context, user_name, strlen(user_name));
+       SHA1Update(&Context, name, strlen(name));
        SHA1Final(hash, &Context);
        memcpy(challenge, hash, 8);
 }

It appears as though, the location in the file for this patch
has changed to :
@@ -220,10 +220,15 @@

And then patch will apply there, but I'm not sure if it is required
for 0.9.3?

The patch files/patch-aa is no longer required, and the other
patches are only for relocating the documentation, but still apply.

Other than changing the version numbers and MD5 checksum in :
/usr/ports/net/freeradius/Makefile
and
/usr/ports/net/freeradius/distinfo

It would be nice if the person responsible for the port would update
the cvs for the port. I can't remember where to go to submit the
updates.

--
Guy Fraser
Network Administrator
The Internet Centre
780-450-6787 , 1-888-450-6787

There is a fine line between genius and lunacy, fear not, walk the
line with pride. Not all things will end up as you wanted, but you
will certainly discover things the meek and timid will miss out on.




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

Reply via email to