Hi,

You need to use the := operator and not the = operator (in the check)

DEFAULT Auth-Type := Accept

bash


On Thu, 25 Apr 2002, Daniel Salamanca wrote:

> 5.5   How do I permit access to any user regardless of password?
>
>
>       DEFAULT Auth-Type = Accept
>
>
> the solution in the faq.
>
> sorry for the email.
>
> ----- Original Message -----
> From: "Victor Sanchez" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 25, 2002 10:58 AM
> Subject: authorize a user without pass
>
>
> > hello, i am a new user of freeradius and have a litlle cuestions.
> >
> > i have radiusd configured and tested with the sql module, I used the guide
> > of Scott Bartlett and all work fine.
> >
> > my question are.
> >
> > How i configure a user without PASS ?? y test to save the user and value
> > User-Password = '' a empty string, because if a put a NULL String the
> server
> > have a core dump. but the server say
> >
> >
> > rad_recv: Access-Request packet from host 195.57.80.215:53213, id=12,
> > length=26
> >         User-Name = "paco"
> > rlm_sql: Reserving sql socket id: 4
> > SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username =
> 'paco'
> > ORDER BY id
> > SELECT
> >
> radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupche
> > ck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE
> > usergroup.Username = 'DEFAULT' AND usergroup.GroupName =
> > radgroupcheck.GroupName ORDER BY radgroupcheck.id
> > SELECT
> >
> radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrouprep
> > ly.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE
> > usergroup.Username = 'DEFAULT' AND usergroup.GroupName =
> > radgroupreply.GroupName ORDER BY radgroupreply.id
> > rlm_sql: User DEFAULT not found and DEFAULT not found
> > rlm_sql: Released sql socket id: 4
> > Login incorrect: [paco/<no User-Password attribute>] (from nas UNKNOWN-NAS
> > port 0)
> >
> >
> > if no have login y put the correct values for DEFAULT and work, but for a
> > user without pass don't work.
> >
> > thanks for all and escuse for my poor english.
> >
> > Victor Sanchez.
> > --------------------------------------------------------------------------
> --
> > ----------------------
> > En español.
> >
> > Hola soy nuevo con el freeradius y tengo una pequeña pregunta.
> >
> > tengo el radiusd configurado y probado con autentificacion por sql, he
> usado
> > la guia de Scott Bartlett y todo funciona bien
> >
> > mi pregunta es:
> >
> > Como configuro un usuario sin clave ?? he probado con grabar el usuario y
> > como User-Password='' osea, la cadena vacia, porque si pongo NULL el
> > servidor da un core dump y se cierra. pero el server dice
> >
> >
> > rad_recv: Access-Request packet from host <DELETED>, id=12, length=26
> >         User-Name = "paco"
> > rlm_sql: Reserving sql socket id: 4
> > SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username =
> 'paco'
> > ORDER BY id
> > SELECT
> >
> radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupche
> > ck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE
> > usergroup.Username = 'DEFAULT' AND usergroup.GroupName =
> > radgroupcheck.GroupName ORDER BY radgroupcheck.id
> > SELECT
> >
> radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrouprep
> > ly.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE
> > usergroup.Username = 'DEFAULT' AND usergroup.GroupName =
> > radgroupreply.GroupName ORDER BY radgroupreply.id
> > rlm_sql: User DEFAULT not found and DEFAULT not found
> > rlm_sql: Released sql socket id: 4
> > Login incorrect: [paco/<no User-Password attribute>] (from nas UNKNOWN-NAS
> > port 0)
> >
> > si no tengo login, yo pongo los valores correctos con el usuario DEFAULT y
> > listo, pero con un usuario sin pass no funciona.
> >
> > gracias por todo y perdon por mi pobre ingles :)
> >
> > Victor Sanchez.
> >
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>


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

Reply via email to