Re: 3Com-User-Access-Level Not Applied



 
Hello Alean,
 
I applied below changes in the source valuepair.c present in sr/lib but the problem still present, do you have other ideia ?
 

                case PW_TYPE_INTEGER:
                        /*
                         *      Note that ALL integers are unsigned!
                         */

                        vp->lvalue = (uint32_t) strtoul(value, &p, 10);
                        if (!*p) {
                           vp->length = 4;
                           break;
                        }

                        /*
                         *      Look for the named value for the given
                         *      attribute.
                         */
                        if ((dval = dict_valbyname(vp->attribute, value)) == NULL) {
                           librad_log("Unknown value %s for attribute %s", value, vp->name);
                           return NULL;
                        }

                        vp->lvalue = dval->value;
                        vp->length = 4;
                        break;



 
On 1/16/07, Alan DeKok <aland@deployingradius.com> wrote:
Alexandre Soares wrote:
>
> Hello Alan,
>
> I am checked in the offical web site, the last version is 1.1.4

OK... 1.1.4 or 1.1.3 has some fixes that correct problems with 3com
attributes in previous versions.

Alan DeKok.
--
http://deployingradius.com       - The web site of the book
http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.