Hi,

> INTERMEC sends usernames (MAC
> address) as 00-00-00-00-00-00 and the Cisco sends them like
> 0000.0000.0000. Can the usernames be rewritten when they are of one format

well, I don't know if there are more elegant ways to do this, but if all else 
fails you could set up an entry in the hints file using regular expressions. 
I'm not quite good at writing regex's, so the following may be flawed, but it 
should at least be similar to

DEFAULT         Client-IP-Address == 158.64.1.155, 
User-Name =~ "^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)"
        User-Name := `%{1}%{2}.%{3}%{4}.%{5}%{6}`

(the first two lines are actually one, broke them for clarity)

The regex evaluation stores the parts between the dashes in six seperate 
variables, and the := adds these parts, grouped together two by two and 
seperated with a dot. So, effectively, you convert INTERMEC usernames into 
Cisco-style.
Oh, BTW, I believe there is an IOS option where you can instruct the device to 
use a specific format for its MAC addresses.

Greetings,

Stefan Winter

-- 
Stefan WINTER

Fondation RESTENA - R�seau T�l�informatique de l'Education Nationale et de 
la Recherche
Ing�nieur r�seau et syst�me

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
email: [EMAIL PROTECTED] � � t�l.: � � �+352 424409-33
http://www.restena.lu � � � � � � � � � � fax: � � �+352 422473

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

Reply via email to