Thank you Dennis, but it didn't work now my entire users file is:

sebas           Crypt-Password := "(!lGOOlHaBWoQ"
                Service-Type = Administrative-User,
                Cisco-AVPair = "shell:priv-lvl=15"


and then the debug was:


rad_recv: Access-Request packet from host 10.12.4.2:1645, id=103, length=75
        NAS-IP-Address = 10.12.4.2
        NAS-Port = 1
        NAS-Port-Type = Virtual
        User-Name = "sebas"
        Calling-Station-Id = "10.11.1.25"
        User-Password = "hello"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
    users: Matched entry sebas at line 1
  modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
auth: type Crypt
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 103 to 10.12.4.2 port 1645
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 103 with timestamp 4626942f
Nothing to do.  Sleeping until we see a request.


Another idea??
Thanks a lot, any way.


Dennis Skinner wrote:
Sebastian Firpo wrote:

  
sebas           Auth-Type := Local, Crypt-Password == "(!lGOOlHaBWoQ"
    

Remove the Auth-Type := Local.  Let FR decide on what the auth type is.
 It knows better than you. ;)

If you search the list archives, this comes up about once a week.  Don't
set Auth-Type unless you really know what you are doing.

Also, I think you want := instead of ==.  There is no Crypt-Password
attribute in the request, so you can't compare them.  Use := to set
Crypt-Password and then let FR do its magic.

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

Reply via email to