<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>Hi
all!</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>I am using the
Radius-Pam module, on an embbeded ppc (windriver linux) system, and I have a
question.</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>I have noticed, that
when configuring my box with a DNS server, then once a user attempts
login, a call is attempted at the radius server and some kind of query is
sent to the DNS server.</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>Looking into the
code revealed that there is a call to gethostbyname(), intended
to resolve the ip of myself according to my hostname - or at least
that is what</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>I could figure out
from the available code.</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>Why is it done, and
how bad would it be if I changed that call to something simpler that won't
demand a connection to the DNS server?</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>Thanks in
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial size=2>Nir
Rachmel.</FONT></SPAN></DIV>
<DIV><SPAN class=875090115-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>