On Thu, 10 Mar 2005, Nick Bright wrote:
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.
dialupadmin will use all information that is available. That means that it will also use any information present in naslist.conf. In any case, it was a bug and hopefully fixed in CVS.
*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 fixed in CVS, Thanks.
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?
Also fixed in CVS, Thanks.
-- 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

