(RADIATOR) Three small(?) feature requests
Mike McCauley
mikem at open.com.au
Thu Nov 24 17:29:02 CST 2005
Hello James,
Thanks for the suggestion.
Since there are many people still using Radiator with perl 5.6.1 on Windows at
least, I dont think it would be practical to introduce a mandatory dependency
on it.
Cheers.
On Friday 25 November 2005 02:25, James FitzGibbon wrote:
> A better approach for getting the FQDN in perl is to use
> Net::Domain::hostfqdn(). It's a core module.
>
> [hades:jfitz] (81) > perl -MNet::Domain=hostfqdn -e 'print hostfqdn()."\n"'
> hades.pvt.primus.ca
> [hades:jfitz] (82) >
>
> This works for me on RedHat 7-EL4 and Solaris 8-10 consistently, including
> situations where Sys::Hostname was inconsistent from one platform to the
> next.
>
> According to Module::Corelist, it was first made a core mod during the
> 5.7.x devel cycle, so 5.8.0 and up are guaranteed to have it:
>
> Net::Domain was first released with perl 5.007003
> 5.007003 2.17
> 5.008 2.17
> 5.008001 2.18
> 5.008002 2.19
> 5.008003 2.19
> 5.008004 2.19
> 5.008005 2.19
> 5.008006 2.19
> 5.009 2.19
> 5.009001 2.19
> 5.009002 2.19
>
> Regards
>
> -----Original Message-----
> From: owner-radiator at open.com.au [mailto:owner-radiator at open.com.au] On
> Behalf Of Jethro R Binks
> Sent: Thursday, November 24, 2005 10:06 AM
> To: radiator at open.com.au
> Subject: RE: (RADIATOR) Three small(?) feature requests
>
> On Thu, 24 Nov 2005, Ingvar Berg (LI/EAB) wrote:
> > Maybe you could resolve this simple/FQDN problem by do a split on '.'
> > and just keep the first part. I think that could be a good standard
> > behaviour.
>
> I don't actually care about the FQDN to be honest (and I suspect few
> people would be); what I do care about is consistency of behaviour. So if
> it always returned the simple hostname, regardless, I would be happy with
> that. It would be a backwardly incompatible change though, of course, at
> least for FreeBSD users.
>
> J.
>
> > /Ingvar
> >
> > > -----Original Message-----
> > >
> > > > > Thats quite difficult: we are at the mercy of
> > >
> > > Sys::Hostname there,
> > >
> > > > > and Im not convinced there is a better more complete way, that is
> > > > > universallly available :-( See man Sys::Hostname for more
> > >
> > > details on
> > >
> > > > > how the hostname is determined: you may be able to change
> > >
> > > the config
> > >
> > > > > of your host to get a better answer.
> >
> > --
> > Archive at http://www.open.com.au/archives/radiator/
> > Announcements on radiator-announce at open.com.au
> > To unsubscribe, email 'majordomo at open.com.au' with
> > 'unsubscribe radiator' in the body of the message.
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Jethro R Binks
> Computing Officer, IT Services
> University Of Strathclyde, Glasgow, UK
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.7/180 - Release Date: 11/23/2005
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.7/180 - Release Date: 11/23/2005
--
Mike McCauley mikem at open.com.au
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list