To hop back to this question, updating to the latest CVS made
user_finger.php3 behave quite a bit differently.

Now when I go to that page, I get a listing for every NAS from the
database, but there is no information for the NAS unless there is also
information in naslist.conf

Shouldn't it just use the information from SQL if the nas table is
there, and completely ignore/not use naslist.conf? It seems a little
redundant to put the information into two locations.

*shrug* maybe I'm just doing something wrong? That's pretty likely ;)

Another odd thing is that on nas_admin.php3, all my NAS's are showing
type "other" in the dropdown, though they are set for various things in
the database (including: other, max40xx, and usrhiper). When I try to
modify the setting through dialup_admin, it doesn't change in the
dropdown, but it does change in the database. Seems like the dropdown
isn't reading properly.

Also executing "Check NAS validity" fails for every NAS, I looked at the
PHP and it's trying to do "gethostbyname($selected_nas), where the name
is an IP address. Is that why it's failing, because I used IP's instead
of hostnames? Maybe that factors in to why user_finger.php3 is doing
funky stuff?

On Thu, 2005-03-10 at 08:50, Kostas Kalevras wrote:
> On Thu, 10 Mar 2005, Nick Bright wrote:
> 
> > On Thu, 2005-03-10 at 08:33, Nick Bright wrote:
> >> Since I'm using the version of dialup_admin from the 1.0.2 release of
> >> freeradius (with freeradius 1.0.1), would you suggest updating the whole
> >> thing to the latest CVS?
> 
> You can probably just update the user_finger.php3. But it's much better to 
> just 
> update the whole dialupadmin
> 
> >
> > Clarification of my own email (hehe), I mean update dialup_admin to the
> > latest CVS, not the whole freeradius package.
> >
> >> I'm also curious, why is naslist.conf used, instead of reading the
> >> information from the "nas" table in sql?
> 
> In recent versions of dialupadmin the nas table is also used if it is set. If 
> you find a lib/sql/nas_list.php3 file then you have such a version.
> 
> >>
> >> On Wed, 2005-03-09 at 15:57, Kostas Kalevras wrote:
> >>> On Wed, 9 Mar 2005, Nick Bright wrote:
> >>>
> >>>> I have a rather large naslist.conf file, all configured to use
> >>>> finger_type database. However, snmpfinger insists upon querying each and
> >>>> every one as a cisco nas (they aren't, and i don't even have SNMP
> >>>> priviledges on most of them).
> >>>
> >>> Yes, there's a bug in user_finger.php3. Please do a cvs update on the 
> >>> file and
> >>> things should work. Or you can just set general_finger_type to whatever 
> >>> value
> >>> (apart from snmp) and still get the same results.
> >>>
> >>> Thanks for noting that.
> >>>
> >>>>
> >>>> My naslist.conf file is "generated" by manipulating some spreadsheet
> >>>> stuff, so the lines for each nas aren't grouped together. I don't know
> >>>> if that is causing a problem or not.
> >>>>
> >>>> However, my configuration for each nas is something like this:
> >>>>
> >>>> nasX_name: nameofnas.%{general_domain}
> >>>> nasX_model: Useful Description
> >>>> nasX_type: other
> >>>> nasX_port_num: 4096
> >>>> nasX_community: rocomm
> >>>> nasX_finger_type: database
> >>>>
> >>>> The only variable here is the nasX_type field, which could be: other,
> >>>> usrhiper, or lucent
> >>>>
> >>>> The port_num field is appropriate for the NAS, or 4096 if it's a proxy
> >>>> provider (outsourced dialup)
> >>>>
> >>>> All nases are set for finger_type "database", so they shouldn't even be
> >>>> firing off snmpfinger at all . . .
> >>>>
> >>>> --
> >>>> - Nick Bright
> >>>>  Terraworld, Inc
> >>>>  888-332-1616 x315
> >>>>  http://home.terraworld.net
> >>>>
> >>>>
> >>>> -
> >>>> List info/subscribe/unsubscribe? See 
> >>>> http://www.freeradius.org/list/users.html
> >>>>
> >>>
> >>> --
> >>> Kostas Kalevras           Network Operations Center
> >>> [EMAIL PROTECTED] National Technical University of Athens, Greece
> >>> Work Phone:               +30 210 7721861
> >>> 'Go back to the shadow'   Gandalf
> >>>
> >>> -
> >>> List info/subscribe/unsubscribe? See 
> >>> http://www.freeradius.org/list/users.html
> > -- 
> > - Nick Bright
> >  Terraworld, Inc
> >  888-332-1616 x315
> >  http://home.terraworld.net
> >
> >
> > -
> > List info/subscribe/unsubscribe? See 
> > http://www.freeradius.org/list/users.html
> >
> 
> --
> Kostas Kalevras               Network Operations Center
> [EMAIL PROTECTED]     National Technical University of Athens, Greece
> Work Phone:           +30 210 7721861
> 'Go back to the shadow'       Gandalf
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
- Nick Bright
  Terraworld, Inc
  888-332-1616 x315
  http://home.terraworld.net


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

Reply via email to