(RADIATOR) Three small(?) feature requests
Hugh Irvine
hugh at open.com.au
Thu Nov 24 16:31:00 CST 2005
Hello James -
Thanks for the suggestion - I have sent it on to Mike for consideration.
regards
Hugh
On 25 Nov 2005, at 03: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
>
>
>
>
> --
> ----------------------------------------------------------------------
> ------
> This electronic message contains information from Primus
> Telecommunications
> Canada Inc. ("PRIMUS") , which may be legally privileged and
> confidential.
> The information is intended to be for the use of the individual(s)
> or entity
> named above. If you are not the intended recipient, be aware that any
> disclosure, copying, distribution or use of the contents of this
> information
> is prohibited. If you have received this electronic message in
> error, please
> notify us by telephone or e-mail (to the number or address above)
> immediately. Any views, opinions or advice expressed in this
> electronic
> message are not necessarily the views, opinions or advice of PRIMUS.
> It is the responsibility of the recipient to ensure that
> any attachments are virus free and PRIMUS bears no responsibility
> for any loss or damage arising in any way from the use
> thereof.The term "PRIMUS" includes its affiliates.
> ----------------------------------------------------------------------
> ------
> Pour la version en français de ce message, veuillez voir
> http://www.primustel.ca/fr/legal/cs.htm
> ----------------------------------------------------------------------
> ------
>
> --
> 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.
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
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