Marlon Duksa wrote: > I've been reading through WiKi pages but still not clear. I need to > evaluate two attributes and I'm doing this with the =~ operator. But the > second attribute is not evaluated but instead returned as reg expr > (exactly as stated below) > > > > DEFAULT *User-Name =~ "^([aA-zZ]+)-([aA-zZ]+)$", Auth-Type := Local, > User-Password == "csetestp"*
Don't set Auth-Type := LOCAL. Delete that. Use "Cleartext-Password := ...", not "User-Password == ..." > What is the significance of this 'DEFAULT' keyword in the 'users' file? $ man users This is documented. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

