Null SQL user

Peter Nixon listuser at peternixon.net
Thu Sep 21 15:20:31 CEST 2006


> > As you can see a request with NULL username is quite valid for me, and
> > may be proxied or accepted based (from inside the sql procedure) based on
> > information in the request other than username/password and should
> > therefore go through the normal sql queries.
>
> Oh, absolutely.  There are many instances where a User-Name attribute
> may not/need not be present that are completely valid and should be
> handled by the sql module.

Can someone please test the attached patch before I commit it. It works ok for 
us with Postgresql but its possible that it may cause suprises for other 
database types.

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullsqluser.patch
Type: text/x-diff
Size: 1320 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060921/46b404a0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060921/46b404a0/attachment.pgp>


More information about the Freeradius-Devel mailing list