This is a discussion on Re: 3Com-User-Access-Level Not Applied within the FreeRADIUS Users forums, part of the Networking and Network Related category; --===============1725508196== Content-Type: multipart/alternative; boundary="----=_Part_101228_3579209.1168984639200" ------=_Part_101228_3579209.1168984639200 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1725508196==
Content-Type: multipart/alternative; boundary="----=_Part_101228_3579209.1168984639200" ------=_Part_101228_3579209.1168984639200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > ------=_Part_101228_3579209.1168984639200 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div> </div> <div>Hello Alean,</div> <div> </div> <div>I applied below changes in the source valuepair.c present in sr/lib but the problem still present, do you have other ideia ?</div> <div> </div> <div> <p>   ; case PW_TYPE_INTEGER:<br> &n bsp; &nbs p; /*<br> &nb sp;   ;   ; * Note that ALL integers are unsigned!<br> & nbsp; &nb sp;   ; */</p> <p>   ; & nbsp; vp->lvalue = (uint32_t) strtoul(value, &p, 10);<br> &n bsp; if (!*p) {<br> &nb sp;   ; & nbsp; vp->length = 4;<br> &n bsp; &nbs p; break;<br> &nbs p;   ; } </p> <p>   ; & nbsp; /*<br> &nb sp;   ;   ; * Look for the named value for the given<br>   ; & nbsp; &nb sp; * attribute.<br> &n bsp; &nbs p; */<br> &nbs p; if ((dval = dict_valbyname(vp->attribute, value)) == NULL) { <br> &nbs p; &n bsp; librad_log("Unknown value %s for attribute %s", value, vp->name);<br> &n bsp; &nbs p; return NULL;<br>   ; & nbsp; }</p> <p>   ; & nbsp; vp->lvalue = dval->value;<br> &n bsp; &nbs p; vp->length = 4;<br> &n bsp; &nbs p; break;</p><br><br> </div> <div><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Alan DeKok</b> <<a href="mailto:aland@deployingradius.com">aland@depl oyingradius.com</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Alexandre Soares wrote:<br>><br>> Hello Alan,<br>><br>> I am checked in the offical web site, the last version is 1.1.4<br><br>OK... 1.1.4 or 1.1.3 has some fixes that correct problems with 3com<br>attributes in previous versions.<br><br>Alan DeKok.<br>--<br><a href="http://deployingradius.com">http://deployingradius.com</a> - The web site of the book <br><a href="http://deployingradius.com/blog/">http://deployingradius.com/blog/</a> - The blog<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html </a><br></blockquote></div><br> ------=_Part_101228_3579209.1168984639200-- --===============1725508196== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --===============1725508196==-- |