Re: Change pam_auth NAS-IP Address in radius reuest. (Alan DeKok)
Bryan wrote:
I'm using the latest freeradius on Centos 4.5. I have several Centos 4.5 clients all using pam_auth_radius and LDAP. Everything is working but I wanted to know if there is a way to change the NAS-IP-Address that is sent by the clients. They all send back 127.0.0.1. I want to them to send the real IP addess of the machine as the NAS-IP-Address.
They should do that. The module obtains the IP address by doing a DNS lookup on the hostname. So if the hostname maps to 127.0.0.1... that should be fixed.
Alan DeKok.
------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
End of Freeradius-Users Digest, Vol 31, Issue 56 ************************************************
Thank you. I didn't realize that it did a dns lookup. Centos automatically adds the hostname to the 127.0.0.1 line of the hosts file during install. I removed the hostname from that line and pam_auth now sends the correct IP. BE
participants (1)
-
Bryan